how to use previous volume to use "limit trade size as % " function

I calculate number of share at end of day and send order at open in next morning,

but in backtesting it use entry bar volume to limit trade size

how to use previous bar volume limit trade size in backtest for realism in real trade.

thank you

That particular setting is protection possible compounding of trade sizes to absurd levels.

That setting is not for position sizing, it is some kind of "emergency valve".

For position sizing you should include proper rules using Ref( Volume, -1 ) (if you are using position sizing expressed in fixed number of shares) or you can turn on the option "Use previous bar equity for position sizing" if you use position sizing based on percentage of equity.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.