Not allowed to trade after and before a specific hour
-
Dear forum members
made a block that will close all open trades at lets say 21:30
How can i make my EA that it will not open a new trade after 21:30 and lets say before same or next day 08:00?Thanks in advance
-

-
LOL
Feel ashamed for not seeing this earlier LOL -
It needs to allow from sunday evening 23:30 until friday eveninf 21:30
Between friday 21:30 and sunday 23:30 not
-
-
How about this?

-
Or maybe instead of a time filter i wil use a condition filter
if server time is above timestamp then ... -
If you want to make very custom rules and using less blocks, you can always use some of the MQL4 time functions (https://docs.mql4.com/dateandtime) in the second Condition block
