Hello,
I need to know where in code I have to change the lot number for my own position sizing please.
I changed in line 591 of a strategy :
double orderLots = getLots(SL*gPointPow);
with
double orderLots = getLotsByConstantValue(openPrice);
I have a function that will be called at the beginning and at the end of the predefined code of StrategyQuant it will calculate lot size.
This line 591 is the only line I found where to change the lot number. Is that correct ?
Because I do not use the money management and all the other lines are not affected different than line 591 with orderLots. So only
the word orderLots refers to the calculated lot size. Correct ?
I must know this, because I get some strange values, and I do not think that the formula is wrong at this point.
Thank you for any help.