Autotrading on/off
-
Is there a way to build an EA which turn off the autotrading button during GMT nights and turn it on in the morning.
Or something that can turn on and of the experts that are running in MT4.Would be a great thing if possible.
-
Hi,
I do that using "Hour Filter".
I use "Hour Filter" to open positions only if time is between 10:00 and 12:00. Then I use another "Hour Filter" to close any open position that could still the open at 17:00.
EDIT: This way you are not turning off the EA, but the EA will not do anything out of that time window.
-
Hello there. Well, I know about that. But I thoguht about an EA that only does this for all open EA's that is running.
So, something that is turning on/off the function in MT4 for even commercial robots running. Not inside the actual EA. -
I don't remember seeing such thing in MQL4
