Hello,
I find stange the nbLotSize returned by the method Optimize of the class MoneySizeOptimized.mqh
Here a screen shot of one of my backtest:
I don't understand why the lotsize falls to the min value (0.01)
Thank your for your help.
Jeremie
i see that your question has not been answered for a very long time. I was just assuring myself how this money managment class works.
https://www.mql5.com/en/docs/standardlibrary/expertclasses/samplemmclasses/cmoneysizeoptimized
"based on trading with variable lot size, depending on results of the previous deals." You had some bad losses in a row, so depending on these previous deals, the trading volume has been reduced until the next profitable trade, then reduced again because of another loss.
![Documentation on MQL5: Standard Library / Trading Strategy Classes / Money Management Classes / CMoneySizeOptimized Documentation on MQL5: Standard Library / Trading Strategy Classes / Money Management Classes / CMoneySizeOptimized](/i/community/logo_mql5_small.png)
- www.mql5.com
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I find stange the nbLotSize returned by the method Optimize of the class MoneySizeOptimized.mqh
Here a screen shot of one of my backtest:
I don't understand why the lotsize falls to the min value (0.01)
Thank your for your help.
Jeremie