backtest maximum numbers of bars study  [SOLVED]

Questions about MultiCharts and user contributed studies.
hendrix
Posts: 54
Joined: 27 Dec 2013
Has thanked: 21 times
Been thanked: 5 times

backtest maximum numbers of bars study

Postby hendrix » 31 Mar 2014

Hello

I don't understand why, when I set a number > to 500 bars, my backtest doesn't work...

I can backtest from 21 february 2014 to 31 march 2014, but I can't backtest from 01 january 2014 to 31 march 2014.

However, I have set a continous contract for future CAC40 (FCE). My datas market provider (IQfeed) offers 7 days of tick data during trading hours and 180 days after trading hours.

If I set 500 bars, backtest begins 21 february...
If I set 2000 bars, backtest begins 28 february...

My chart resolution is 200 ticks.

Anybody has an idea?


http://www.heberger-image.fr/images/317 ... e.png.html

http://www.heberger-image.fr/images/201 ... t.png.html

http://www.heberger-image.fr/images/896 ... s.png.html

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: backtest maximum numbers of bars study  [SOLVED]

Postby Andrew MultiCharts » 01 Apr 2014

I don't understand why, when I set a number > to 500 bars, my backtest doesn't work...
MaxBarsBack (number of bars study will reference) = how many bars will be skipped before you get first results on your chart.

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

Re: backtest maximum numbers of bars study

Postby JoshM » 01 Apr 2014

I guess this wiki page will be helpful: How scripts work.

hendrix
Posts: 54
Joined: 27 Dec 2013
Has thanked: 21 times
Been thanked: 5 times

Re: backtest maximum numbers of bars study

Postby hendrix » 01 Apr 2014

Hi guys

thank you for your answer, I had misinterpreted the expression :)

see u


Return to “MultiCharts”