Download MetaTrader 5

Disable Autotrading Globally from MQL5 Code Without DLLs

To add comments, please log in or register
Andriy Moraru
1259
Andriy Moraru  

I know how to disable autotrading from MQL code using DLL calls, but is it possible to do the same without DLLs?

I do not need enabling autotrading, only disabling.

Trinh Dat
38675
Trinh Dat  
it is not possible, but you can code EA close all chart ( remove all EA )
Andriy Moraru
1259
Andriy Moraru  

Are you positive that it is not possible? Perhaps there is some undocumented feature that allows such disabling?

As for closing all charts, is it possible to save a Profile from MQL code before closing all charts? Closing all charts could be a rather disruptive solution...

To add comments, please log in or register