Need a simple ea.

 

Hi people,

I would like to know if there is an ea that makes something like this:

Rules:

For example we get a given price eg. 74.04.

- We buy on the first candle that opens above this price and close all opened orders.(except this last opened of course)

- We sell on the first candle that opens below this price and close all opened orders.(except this last opened of course).

Will give you further details.