I am not sure it this is a bug or not, sure seems like one.
I am optimising the Smart Grid bot, working with the Equity Drawdown Stop settings.
The settings are: DD%=10 ; ActStop=N ; ClosePos=Y|N.
Result for the ClosePos=Y: MaxEqDD=21.17%. MaxBalDD=10.20%
I have noticed this on many many tests with different symbols.
It appears the rule is being applied on the BalanceDD, not the EquityDD.
Over to you... thanks.