Version 6.0 2021.07.23
Изменен код советника
Version 5.0 2021.07.09
Изменен код советника
Version 4.0 2019.10.07
Изменен код советника.
Version 3.0 2018.09.24
Оптиматизирован код советника под современные реалии рынка . Функционал не затронут.
Version 2.0 2016.11.22
1. Added a check of leverage, the required value is 1:500. If a different leverage value is used, a warning will be shown.
2. Now it is possible to configure the "RiskDeposit" parameter.
RiskDeposit - % of current deposit, it being lost the Stop Loss will trigger.

Example:
You have $3000 on your account. RiskDeposit - 40%.
If your deposit falls to 1800$ during trading, all the open positions of your EA will be automatically closed. After that the EA will resume operation in a normal mode.

P.S. The "RiskDeposit" value should be between 0 and 99.
If you enter a negative value, ALT will set RiskDeposit=0
If ou enter a value greater than 99, ALT will set RiskDeposit=99.
Default "RiskDeposit" = 50%.