Download MetaTrader 5

Script or Expert to disable Autotradning and close all open trades MT4

To add comments, please log in or register
Publish your articles and improve your rating!
olzonpon
305
olzonpon 2015.04.15 18:19 

Hi, MT4 question.

I wonder if somone has a script or EA that can be set on the terminal to watch the "My funds/credit", and if the funds will get smaller than for example 1000 USD It should disable autotrading, and then closes all open trades.

InvestSoft
8591
Janusz Trojca 2015.04.15 21:29  
If EA disable autotrading, than EA couldn't open/close any trade. Effective solution is to remove from charts all other EA's and than close all trades and eventually disable autotrading.
Irwan Adnan
886
Irwan Adnan 2015.04.16 08:41  
I think it can be programmed, by removing the trading EA in this script/EA using ExpertRemove() or using unload and/or load a tempate that contains the EA..
To add comments, please log in or register