Apply martin to new deals / after closed loss not respecting lot multiplier

Avatar
  • updated
  • Fixed

The lot increasing on the new deal is not respecting the martin multiplier that is selected.

If I select lot multiplier 2, after each loss I expect next order to use previous lot x 2 but it is not happening.

If previous order was 0.01, the next one is opened using 0.04

Also, if I try other multiplier like 1.5 or 3, I am not getting the expected next lot

Plese advise if it is a bug, or I am missing something

Image 3869

Avatar
0
Andrey Khatimlianskyi
  • Under review

Please, attach your set and tester ini so I can repeat your bug.

Thanks.

Avatar
1

I found that issue is when "pending entry" (stop or limit) is used.

If the pending order is cancelled (not executed), it is counted as a loss order and the next order has increased lot.

I attach .ini and .set files of a sample backtest (MT5)

CommunityPower.CADJPY.M30.20210921_20211211....ini

test martin on new.set


If you run a backtest, you will see a loss buy order with lot 0.01 on  Oct21th and the next executed order is on Nov 18th with lot 0.11. Between these two trades there were several pending orders that were not executed because they were cancelled by signal. Lot was increased in each of these not executed orders (as per the backtest´s journal tab)

Image 3880

Thanks.

Avatar
0
Andrey Khatimlianskyi
  • Fixed

Thank you for the detailed report!

Fixed in 2.50.5, will upload it soon.