Is there any function in MQL4 to disable EA by Magic number? I want to create a code to disable some EAs by magic number at a specific time and a few hours later enable again.
I had a script written once that put a "Pause" button on a chart so that I could turn on and off the EA placing trades for periods of time. (Manual off, manual or auto turn back on). I also had it as part of a custom EA that had a whipsaw problem.
It had a time of XX bars for the trading to be off and then turn itself back on. It worked every time.
I don't have that script anymore because my trading is different, but you can get someone in Freelancers to build it for you.