I try to run backtest for a new strategy but it is not successful. The message as shown in the attached file was popped out.
How could I solve the problem?
backtesting problem
-
- Posts: 61
- Joined: 25 Jul 2013
- Has thanked: 18 times
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1542 times
- Been thanked: 1561 times
- Contact:
Re: backtesting problem
I think your code has a problem. The error message says it expects a data series with a number of 111 to be added to the chart. I doubt we can add so much data series to a chart in MultiCharts, so there likely is a typo somewhere.I try to run backtest for a new strategy but it is not successful. The message as shown in the attached file was popped out.
How could I solve the problem?
To fix it, look for the `Data()` keyword somewhere in your code, like:
Code: Select all
value1 = Close[10] Data(111);