Disable Autotrading Globally from MQL5 Code Without DLLs

 

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.

 
it is not possible, but you can code EA close all chart ( remove all EA )
 

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...

 
Reason: