
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
Hi,
I'm using the code from this article https://www.mql5.com/en/articles/159 to calculate when a new bar opens but it's not displaying the historical data for the indicator. I modified the TimeCurrent() to iTime(_Symbol,_Period,shift) to try to handle this but it's not working.
Could you tell me what I'm doing wrong please?
Thanks.