You want the ATR to be calculated on a 07:00-06:59 day instead of 00:00-23:59?
or...
You want something drawn at 07:00?
phy:
You want the ATR to be calculated on a 07:00-06:59 day instead of 00:00-23:59?
or...
You want something drawn at 07:00?
Thanks for the response phy,
Ideally I want to calculate the ATR based on 00:00-23:59 but then to set the trade entries for the next day based on a open at 06:00 GMT (i am GMT +1)
Many thanks
You can look to see what time it is:
if(TimeHour(TimeCurrent()== 6) { ... do something ...}
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 am trying to learn mt4 by readfing the book here and at the same time looking at and modifying some of the custom inidcators I currently have.
Can someone kiindly point me in the right direction for this problem:
I have an indicator that defines price levels for the current day based on a percentage of the previous 5 days average ATR. However it is plotting the prices against the todays open at 00:00 whereas I want to change it so it plots them against the 07:00 am bar. Is this possible and have does that make sense?
I would like to try and work it out for myself so any pointers in the right direction would be gratefully received.
Many thanks