BUG MULTICHARTS sqx 129.297
Dear Mark Fric,
if I select "Size by Price" in the money management settings, there is a problem with the multicharts code. As you can see in the picture attached, the calculation is wrong. I believe that the problem is the SQ_StocksSizeByPrice function.
thank you very much,
Giuseppe Piloni
ok, how do I then if I have € 5000 of capital available for each trade to have the right number of lots?
es.
stock price 5000 lots 1
stock price 1000 lots 5
etc.
If you want to use only money management compute from InitialBalance which is always fixed then you don't need to use Money Management at all, you can enter fixed position size.
The function of money management is to compute position size dynamically from the actual size of your account, which means from InitialBalance + NetProfit so far
In summary, SQX allows that I use or not use the account balance; if I export the code, Multicharts allows only that I use the account balance: it's impossibile that I don't use it. This is the bug. If you turn on or turn off the function, it is not important: the account balance is always on.
Thank you for your work.
Best regards, Giuseppe
I believe this is not a bug, because order size for StocksSizeByPrice money management method is calculated from the actual balance which is InitialBalance + NetProfit.
In your screenshot I can see the balance being around 32k which +/- corresponds with the order size given the price on the chart.
Please confirm if it is OK so I can close this task.
Best regards,
Tomas