It opens orders in both directions (BUY & SELL) at a time initially, then opens an additional order in the forward direction everytime the price goes up or down, i.e., opens an additional BUY order everytime the price goes up by multiples of "pipstep" above the initial BUY order, and opens an additional SELL order everytime the price goes down by multiples of "pipstep" below the initial SELL order.
When the price goes back from the lastly-placed order by "backstep" pips, it closes all the orders in the "forward" direction and opens a reverse order. At this time, there are only two orders left in the "backward" direction.
So I Need This EA Modified like this
When the price goes back from the lastly placed order by backstep i need it not to close all orders in the forward direction but open an opposite order(reverse order).
So for example the ea will open a buy and a sell at the opening of the first bar and then when the price goes up it will open a another buy thats 2 buys and 1 sell and say the price when down to the 1st buy then the ea should open a sell like the "backstep" but should not close all orders thanks.