Download MetaTrader 5

Automatically disabling EAs during News

To add comments, please log in or register
Pedro Miranda
Pedro Miranda 2015.11.06 14:44 

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?


To add comments, please log in or register