Download MetaTrader 5
To add comments, please log in or register
Unable to find the right application? Order it!
Wemerson Guimaraes
535
Wemerson Guimaraes 2015.10.18 18:56 

Hi...

There are a way to disble AutoTrading  via MQL4 Code ?

I am using a third party EA thats good, but not with strong news.... then i think on improve trade blocking on news, doing it on an indicator and put in the same graphic... then the the indicator stop/restarts AutoTrading.

whroeder1
13619
whroeder1 2015.10.19 11:44  
  1. If you could, what would you do if the EA had an order open?
  2. Can I code in MQL to turn on and off an already running EA? - MQL4 forum
  3. #define's for known commands that can be used for PostMessageA() - MQL4 forum lists
    #define MT4_WMCMD_EXPERTS         33020
Both are pre-build 600 so they may or may not still work.
Wemerson Guimaraes
535
Wemerson Guimaraes 2015.10.20 01:23  
WHRoeder:
  1. If you could, what would you do if the EA had an order open?
  2. Can I code in MQL to turn on and off an already running EA? - MQL4 forum
  3. #define's for known commands that can be used for PostMessageA() - MQL4 forum lists
    #define MT4_WMCMD_EXPERTS         33020
Both are pre-build 600 so they may or may not still work.

Great WHRoeder... works here.. with the option #2...

About opened orders... well.. better stop on news with one opened order than allow opening 10 lost orders  

/
To add comments, please log in or register