Flip "allow live trading" externally

 

Hi


Anyone can help me finding a way to automate in MT4 the switch of the state of "allow live trading" on either a particular running EA  *or*  globally by flipping the "Auto Trading" option  ?


Basically I want to disable trading during certain hours on an EA for which I do not have the source.


thank you.

 
Search the forum, this has already been solved.
 
Dominik Christian Egert #:
Search the forum, this has already been solved.

You are correct,  thanks for the wise reminder to carefully check archived posts.


This solution turns out to work pretty good    ==>   https://www.mql5.com/en/forum/364713


Happy new year folks

Ea to disable and enable auto trade
Ea to disable and enable auto trade
  • 2021.03.11
  • www.mql5.com
Dear Guys, I need help to allow EA to disable automatic trading after closing a trade and enable automatic trading at a specified time...