Different backtest result between 2.26.2 and 2.27.1 with the same set
Hi Andrey, iam sorry for my late report.
The backtest using the c00l default set but with 0.01 start lot: eurusd5Ultimo4.set
I attached tester LOG: 20210316.log
Result in 2.26.2 is good with no stop loss catch from 2019 to 2021 (today), but result in 2.27.1 catched 6 stoploss.
In 2.27.1 i already tested with false virtual stop loss, the result is same.
2019-2021 (today)
CP 2.26.2
2019-2021 (today)
CP 2.27.1
Please check, maybe its bugs from virtual/real stop loss mode in the new 2.27.1 version.
Thank you.
Gamal, sorry for my late reply too!
I've made investigation and found the reason of the difference.
In 2.26 StopLoss based on "last open price" was activated when the last martingale deal was opened.
Starting from 2.27, CP calculates StopLoss "From last open price" mode right after 1st order is opened (supposing trades will be opened with defined Step). So, you always know the maximum risk you may have.
I thinks it is correct behavior, so I don't want to change it.
For your case, I think you just need to increase SL size (it hasn't been reached in your test with 2.26).
Another little difference: 2.27 opens new deal immediately after Partial close (if conditions are met), but 2.26 waits for next tick. But it is doesn't affect results too much.