Click here to Login





                                                   How to get Bars since highest high?

  0

0
Kiran
2016-04-23 10:44:46


I want to check if hhv(high,60) happens after llv(low,60).
How do i get the bars since hhv and llv happened?

a = barssince(hhv(high,60)); doesn't work.



QuantShare
2016-04-25 05:08:49

  0

It should be:
a = barssince(hhv(high,60) == high);



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Number of bars since the beginning of the month
Highest and Lowest value over a dynamic period
Number of bars up to the end of the month
How far are the close prices from the support line
Top 20 stocks with the highest 10 day rate of change - Current an...

How-to Lessons
How to add future bars to plan for market scenarios
How to get trading orders from a portfolio programmatically
How to get fundamental data for U.S. Stocks
How to get stocks for a particular index using the global script
How to download new quotes when selecting a chart

Related Forum Threads
bars since entry in QS language?
How to compute the Highest Low
how can I get MCX commodity charts ?
How to get the last day of the month in C#
How can I get data from Barchart

Blog Posts
How to get buy and sell orders for a portfolio based on a trading...
Step by step on how to get free realtime/delayed data for stocks,...
How to Create an Automated Trading System in QuantShare
How to Backtest an Intraday Stock Trading System with EOD Ranking
How to create a trading system, screen and composite using earnin...









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.