Hi guys,
I want to make an EA only trade in certain time ranges? I can't seem to locate any tutorial on timers in the article section. I'm also confused regarding the time here in MQL5, what time does all our platforms follow? our individual local time, or is there a universal time being used? Appreciate if you could point me to anything that can help me learn the ropes regarding how to use and understand the time function of MQL5.
Thanks in advance!
Hi polymath,
Please read Date and Time (http://www.mql5.com/en/docs/dateandtime) especially TimeCurrent() (http://www.mql5.com/en/docs/dateandtime/timecurrent) and TimeLocal() (http://www.mql5.com/en/docs/dateandtime/timelocal)
![]()
177
Hi guys,
I want to make an EA only trade in certain time ranges? I can't seem to locate any tutorial on timers in the article section. I'm also confused regarding the time here in MQL5, what time does all our platforms follow? our individual local time, or is there a universal time being used? Appreciate if you could point me to anything that can help me learn the ropes regarding how to use and understand the time function of MQL5.
Thanks in advance!