Ea works perfectly in Back test but in real

Sabrinatrader

Trader
Oct 6, 2016
1
0
6
29
Hello ,

My name is Sabrina Im a manual trader im trying to learn mql to improve my strategies and i have a built a simple EA that shown good results in back testing of mt4 nut when tried it in live account it doesnt work properly.

It does open positions but can't sell it under close buy position.

I have attached the ea code please if someone can modify it and makes it work it's gonna be really helpful

Thank you
 

Attachments