Automatically disabling EAs during News

 

Hello guys,

I had some work developing a News Filter that I integrate into my EAs.

Now I would like to know if there is a command that would allow me to disable AutoTrading and readable it programatically.

Like this I would be able to filter news for other commercial EAs that I don't have access to the source code.


I have found this command somewhere:

PostMessageA( WindowHandle( Symbol(), Period()), WM_COMMAND, 33050, 0);

But I am not sure it would be useful and how to use it.

Anyone has some insights?

Regards! 

Reason: