Reserve Bars Before Testing
5 replies
chuso
8 years ago #114942
I have a problem with Reserve Bars Before Testing.
I attached the message.
Can you tell me how to solve this?
mikeyc
8 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.
chuso
8 years ago #136091
Already did, 1 year forward and same error message.
mikeyc
8 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.
chuso
8 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.
geektrader
8 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.
Viewing 5 replies - 1 through 5 (of 5 total)