Reply

Reserve Bars Before Testing

5 replies

chuso

Subscriber, bbp_participant, community, customer, 13 replies.

Visit profile

5 years ago #114942

I have a problem with Reserve Bars Before Testing.

I attached the message.

 

Can you tell me how to solve this?

 

 

 

 

0

mikeyc

Customer, bbp_participant, community, 878 replies.

Visit profile

5 years ago #136090

You need to move the start date forward, so that there are enough bars available before the start date to calculate moving averages etc.

0

chuso

Subscriber, bbp_participant, community, customer, 13 replies.

Visit profile

5 years ago #136091

Already did, 1 year forward and same error message.

0

mikeyc

Customer, bbp_participant, community, 878 replies.

Visit profile

5 years ago #136096

How big are the periods on the indicators?

 

For example if you are using Daily TF and you have ATR(600) or EMA(900) you would need 600 and 900 days of previous history.

0

chuso

Subscriber, bbp_participant, community, customer, 13 replies.

Visit profile

5 years ago #136097

TF is 14 min and template is 8:00 to 22:15, 855 min, that´s 61 bars for a day.

In case I use a 500 period will need 8 days more or less, but I am going 1 year forward and the error message still appears.

0

geektrader

Customer, bbp_participant, community, 542 replies.

Visit profile

5 years ago #136165

SQ automatically adjusts for this, this must be another problem somewhere. For example, I ALWAYS start my backtest on the starting day of my backtest data, yet SQ doesn´t complain, it simply won´t do any trades in the backtest until the max period for the indicator that requires the biggest “bars back” has been reached. So in any case, since SQ auto-adjusts for that, you have a problem somewhere else. Best if you attach your strategy.

0

Viewing 6 posts - 1 through 6 (of 6 total)