Home > Programming > Mt4 Ea Code Correction

Mt4 Ea Code Correction

December 18th, 2009

Hello gentlemen,
I have an MA crossover EA code that needs some corrections. It is supposed to open trades when price crosses MA by 1 pip, in the direction of the price movement. It is supposed to close a previously open trade when price retraces and crosses MA in opposite direction, while opening a new trade in that direction.
This EA fails to close previously opened trade, when price retraces and crosses MA in opposite direction, *on the same candle*.
Thank you for looking at my project.
Regards,
Dmitry


Mt4 Ea Code Correction

Comments are closed.
Bear