Hi,
You can use GlobalVariableSet() and GlobalVariableGet() functions. Check the documentation.
The master EA will set a variable to allow/disallow trading and the other EAs will read it to know if they should trade or not.
Thanks robofx.org I counted with the Global Variables but the Master EA must be able to manage others EA's that cannot be altered.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello!
I'm trying to make a master EA that disables the trading of the other EAs when some requeriments have been acomplished. But in MQL4 there isn't any function to stop or disable trading, so I'm trying to by-pass this limitation using dll/winuser32 or something... my idea is to automaticly uncheck the live trade checkbox in the options submenus of the platform. Do you know any way easier than this to do the same? It's a dirty trick...
My aproach starts using the code of this script: 'ReConnecter - A Script for Periodical Reconnections'
Your comment will be very apreciated. Thanks.