仕事が完了した
指定
Hello!
I am looking for a simple EA based on the crossing of two moving averages
Ema (slow) = input
Ema (fast) = input
Purchase orders will be opened when the fast moving average crosses the slow moving average upwards and will close when the fast moving average crosses down the slow moving average.
Simultaneously, when the previous purchase position is closed, a sell order will be opened due to the fast moving average has crossed down the slow moving average. In the same way, this sales position will remain open until the fast moving average crosses the slow upward.
To prevent wrong openings, an SL and TP will be incorporated The EA shall incorporate the possibility of a lot increase when closing the previous position with losses. This lot increment will be entered manually in a series of 20 possible lots. Each of them will be an input value. If the position closes with profit, the lot increase will not be applied.
Finally, a maximum lot value will be introduced, from which the serie of lots will be restarted.
This EA shall be able to operate independently in each open pair in its corresponding graph