Long Lookback Indicators, Serial Dependence, and Backtest Evidence
Summary
The discussion considers a daily strategy that holds positions for one day while using an indicator built from a five-year price history. Because adjacent indicator readings share much of the same input data, they are strongly serially dependent. The question is whether this overlap reduces confidence in metrics such as Sharpe when a backtest spans a fixed period.
The answer emphasizes separating indicator design from backtest length. The lookback used to calculate a signal affects what the signal measures and how well it captures relevant market dynamics; choosing it is an optimization problem with its own pitfalls. Backtest duration instead determines how many different market environments are represented and informs confidence in historical performance. The response recommends understanding the indicator and its intended dynamics before analysis, but does not supply a statistical correction for serial correlation or a quantitative method for adjusting Sharpe uncertainty.
Key ideas
- Overlapping lookback windows make consecutive indicator values dependent.
- Indicator lookback length and total backtest duration address different questions.
- A long backtest should represent sufficiently varied market conditions to inform confidence in historical results.
- Indicator windows should reflect the dynamics the signal is intended to measure.
- The response offers conceptual guidance rather than a formal serial-correlation adjustment.
Tags
Full text
# Statistical significance of trading systems that use indicators with long lookbacks # Statistical significance of trading systems that use indicators with long lookbacks Let's say we have a trading system that trades daily, holding for one day, but uses an indicator that looks back over the last 5 years. A simple example could be the percent change in price of an asset over that 5-year period. There will be a high degree of serial correlation in the indicator values from one day to the next, due to the overlap of the lookback. Are there standard ways of taking this into account when assessing the performance of a trading system? Intuitively, it seems that for a fixed length of backtest data (say 10 years) we should have more certainty of our performance metrics, such as Sharpe, when we have short lookbacks, since then the samples of the indicator distribution are more independent. How do we quantify this? Or is it more of a rule-of-thumb situation? ## Answer by Matt Wolf (score 2) https://quant.stackexchange.com/a/4367 Running a look back of 5 years on a daily system equates to about 1260 look back points which seems awfully large. Obviously you will encounter serial correlation between indicator values when moving from one data point to the next. I highly recommend lowering the amount of data points that go into your indicator calculations. A trading system has to first and foremost make intuitive sense before you perform any quantitative analysis. You also do not look back 50 days when looking to generate indicators for an intra day trading strategy. This has nothing to do with serial correlation yet or how you can quantify the optimal look back parameter. It has to do with your having to really understand what you actually try to measure and which dynamics you try to capture and how relevant the data points in the past are and how you want to weigh the different data points (because obviously the importance of the most recent data points is higher than older data points). You seem to confuse the relationship of the amount of historical data over which you like to back test and its impact on your predictive power and rigor of analyzing a given strategy with the actual amount of data you utilize to calculate a single indicator data point. They are unrelated, completely unrelated from each other. I recommend you really attempt to segregate each concept and treat them entirely different. 1) The amount of data available to back test will need to be sufficient in order to give you the confidence that you tested the strategy over sufficiently different market cycles and market internals, in order to arrive at a better prediction of future performance as a function of past performance. 2) The amount of data point you utilize in the computation of an indicator point has a direct bearing on the performance and quality of your indicator signal and has nothing to do with the the relationship between a historical back test and its predictive power on future performance. This is an issue of optimization which in itself comes with a host of pitfalls that you need to pay attention to. Only after a clear distinction between the two concepts do I recommend you to proceed. This is my 2 cents from years of strategy development from anything mid-frequency to high frequency.
Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.