Integer numbers of shares in the AFL backtesting

Hi,

Does Anybody know how to get integer numbers of shares in the AFL bactesting?

Simple int((AccB*PcntRisk/100)/BuyLim) did not work …

Maury

Try setting RoundLotSize = 1.

5 Likes

Thanks!!!!!!!!!!!!!!!!!!!!!!!!!

@maury314 the best way to say thanks is with that little heart icon below the post. :slight_smile: You should also mark posts as the solution when your issue is resolved, which makes it easier for others to find answers.

Sorry, my an abbreviation !!!!!!!!!!!!! means all you phrases above.

Thanks!