Version 1.9 2020.06.26
Some improvements have been made in this version and also:
The value of the BarLength parameter has been made dynamic;
The MoveTrailingPrice function has been added to close the trades with the MaxProfit function which closes the trade when the trade profit falls below the MaxProfitRatio;
The PTCDivisor has been added to reduce the profit target when the recovery trades are opened (if set to 1 the profit target does not change);
If you trade multiple currencies on the same account, with the robot, you can choose to close all the positions or only the positions of a single currency, when the profit target is reached (ClosingMethod).
Version 1.7 2020.06.13
In this version you can manage Stop Loss to verify if it is better with Stop Loss set with a value (less profit, less D.D.) or StopLoss equal to 0 and only reverse trades (more profit, more D.D.)
Version 1.6 2020.06.12
Errors in setting input parameters