Scripts: Automatically enable or disable the automated trading button

 

Automatically enable or disable the automated trading button:

Let say you have an EA and you want it to trade in between an interval of time but you do not have the source codes to modify the EA. This utility allows you to automatically enable or disable the automated trading button. You can use the codes as an EA, Indicator or script but I used as an EA. You can remove Ordersend command because I set it only for the codes to past the test but it is meaningless.

Author: Mafuta Landou

 
Thanks for valuable codes.
 
This is exactly what I was looking for, I was about to place an order on Freelance
 
Thank you
 
Does it works?
 

Hey that is such a great tool. Since it uses windows library and windows function PostMessageA(),
Can you please guide me as to how to figure out which commands will help perform which function so i can further explore on my own since things like Enabling/Disabling auto trading can't be accomplished using mql native functions

 

Do you have it on MT5 please?

 
Is there an specific code to turn on Autotrading and Turn off inside my EA without need of human intervention nor click any button?