Opps - never mind - It was the ; at the end of the for statement that was killing me.
It does work fine if I remove it. --- In [email protected], "redliontrader" <[EMAIL PROTECTED]> wrote: > > If I install this snippet, shouldn't this effectivly be the same as > using the existing backtester? What am I doing wrong, if I enable > this I get no trades at all. > > > > SetOption("UseCustomBacktestProc", True); > if (Status("action") == actionPortfolio) > { > bo = GetBacktesterObject(); > bo.preProcess(); > for (bar = 0; bar < BarCount; bar++); > { > bo.ProcessTradeSignals(bar); > } > bo.PostProcess(); > } >
