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
Here's how to do it with a time struct, works both MQL4 and 5.
lippmaje... i am running with it and i have encountered one issue: the time is not read properly (i use LocalTime) and gets stuck ... not cycling anymore.
is true that i run multiple MT4 session on the same box - still, i do not think that this should be an issue...
if i stop and start the script - the time is read properly for one cycle - that is getting stuck again.
have you encounter this issue ? any solution to this ?
Here's how to do it with a time struct, works both MQL4 and 5.
i think i fixed it... i placed the LocalTime function inside the loop :_)