start() function, works on every tick
Oh. I also meant to say that I am not running it live. I am just using the indicator to get quantitative data on historical price and not taking into account the current bar. How do I check if the is a 3pip break up/down of the Close[i]?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am working on coding a breakout strategy on an hourly chart. I want to check on the new opening candle if there is a 3 pip break of prior close. I do i go about doing this on an hourly chart.
I was thinking about using MarketInfo(Symbol(),Minute,High[i]) or something like that but how do I know if it broke low before it broke high or vice versa?