backtesting problem

Questions about MultiCharts and user contributed studies.
dingmanhoe123
Posts: 61
Joined: 25 Jul 2013
Has thanked: 18 times

backtesting problem

Postby dingmanhoe123 » 03 Jul 2015

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?
Attachments
pic 1.png
(19.09 KiB) Downloaded 241 times

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: backtesting problem

Postby JoshM » 03 Jul 2015

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?
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.

To fix it, look for the `Data()` keyword somewhere in your code, like:

Code: Select all

value1 = Close[10] Data(111);
Also see Data on the wiki.


Return to “MultiCharts”