You can't. You must write a custom backtest loop and apply the value, as a percentage and corrected for sign, against the bar by bar equity property of the backtester object.
http://www.amibroker.com/guide/a_custombacktest.html Mike --- In [email protected], "Joe" <[EMAIL PROTECTED]> wrote: > > Hello, > > When using SetPositionSize like this: > > SetPositionSize ( 20, spsPercentOfEquity ); > > how do you determine what the position size is in the formula since > real-time portfolio equity is not accessible? > > > PosSize = PositionSize; > > returns -20 in this case. > > > Thanks, > > Joe >
