Download MetaTrader 5

Entry manual exit auto with EA

To add comments, please log in or register
Vitantonio Lasorella
47
Vitantonio Lasorella  
Hi all,

how I can set EA that identify th trade manually and exit automatically?
Fernando Carreiro
2949
Fernando Carreiro  
Manual trades have a Magic Number of "0", so just scan for those!
whroeder1
16076
whroeder1  
No filtering on your OrderSelect loop means your code is incompatible with every EA (including itself on other charts and manual trading.) Symbol Doesn't equal Ordersymbol when another currency is added to another seperate chart . - MQL4 forum
Vitantonio Lasorella
47
Vitantonio Lasorella  

Insering Magic Number = 0 means that I can insert the manul order from smartphone and the EA recognize the trade and insert SL and TP with EA.

Correct? 

To add comments, please log in or register