Download MetaTrader 5

Disable Autotrading Globally from MQL5 Code Without DLLs

To add comments, please log in or register
Any problems with the code? Find solution in documentation!
Andriy Moraru
1160
Andriy Moraru 2016.06.03 10:25 

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
37207
Trinh Dat 2016.06.03 15:39  
it is not possible, but you can code EA close all chart ( remove all EA )
Andriy Moraru
1160
Andriy Moraru 2016.06.03 15:48  

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