t0mbfunk:
Learn what a datetime is . . . and Date and Time functions.
Hi!
I want to write a function that will allow me to enter at least 3 dates with times as external variables, so that during those times (or for example for two hours after those times) my expert advisor would not make any trades.Can you please point me to the right material where I can learn how to write such code.

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 want to write a function that will allow me to enter at least 3 dates with times as external variables, so that during those times (or for example for two hours after those times) my expert advisor would not make any trades.Can you please point me to the right material where I can learn how to write such code.
Thanks.
* Its for mt4.