The EA performs initial opening in both directions. Then it tries to pull the remaining side into profit.
If there are no open positions (opened by the EA), two oppositely directed positions with the "Lots" initial lot are opened with a stop loss equal to "Stop Loss", while take profit is not used. Stop loss moves using trailing ("Trailing Stop" and "Trailing Step" parameters are applied).
Position's first modification reliably moves a stop loss to a
breakeven or even a small profit. The subsequent modifications of Stop
Loss increase the guaranteed profit.
Author: Vladimir Karputov
The trade sizes keep growing. When is there a reset back to the beginning? Are we supposed to manually close all?