Portfolio Backtester MaxBarsBack

Questions about MultiCharts and user contributed studies.
Adam333
Posts: 20
Joined: 05 Oct 2010

Portfolio Backtester MaxBarsBack

Postby Adam333 » 14 Oct 2010

I am trying to use the Portfolio Backtester and I am having an issue with MaxBarsBack. In MC my strategy backtests fine as I have MaxBarsBack set to 500. When I try run it in the PortfolioBacktest I am getting the error that says the backtest is trying to access more than current value of 51 MaxBarsBack. Any ideas on how to fix the issue I am having?

Thanks
Adam

User avatar
furytrader
Posts: 354
Joined: 30 Jul 2010
Location: Chicago, IL
Has thanked: 155 times
Been thanked: 217 times

Re: Portfolio Backtester MaxBarsBack

Postby furytrader » 14 Oct 2010

In the "Portfolio Tree" navigation pane on the right side of the screen, right click on your strategy (it may just be the default 'Strategy 1') and click on 'Show Properties'. In the dialog box that pops up, click on the tab that says 'Properties' and then change the MaxBarsLookback value. That should do the trick, I think.

Adam333
Posts: 20
Joined: 05 Oct 2010

Re: Portfolio Backtester MaxBarsBack

Postby Adam333 » 14 Oct 2010

Thank you very much. By mistake I was right clicking on the Signal name, not on "Strategy 1"


Return to “MultiCharts”