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
Portfolio Backtester MaxBarsBack
- furytrader
- Posts: 354
- Joined: 30 Jul 2010
- Location: Chicago, IL
- Has thanked: 155 times
- Been thanked: 217 times
Re: Portfolio Backtester MaxBarsBack
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.
Re: Portfolio Backtester MaxBarsBack
Thank you very much. By mistake I was right clicking on the Signal name, not on "Strategy 1"