Evidence-based investing research
Value Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
Cash TLT LQD SPY
Momentum Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
1st ETF 2nd ETF 3rd ETF

Best Way to Guard Against Investment Strategy Flame-outs?

Steve LeCompte | | Posted in: Big Ideas

Key Insight

Harris finds S&P 500 rolling 252-day autocorrelation shifted from mostly positive to mostly negative after 1997, disrupting trend-following while enabling mean reversion (1950-2015; descriptive; not a trading test).

Can investors avoid strategy flame-outs associated with overly enthusiastic backtesting (overfitting)? In his July 2016 paper entitled “Limitations of Quantitative Claims About Trading Strategy Evaluation”, Michael Harris presents two examples that demonstrate a key limitation of trading strategy backtesting:

  1. U.S. stock market trend following.
  2. U.S. stock market mean reversion.

Specifically, he compares performances of such strategies before and after 1997 to illustrate the interaction of backtesting and change in market conditions. Using daily S&P 500 Index returns (excluding dividends) during January 1950 through December 2015, he finds that:

  • “Trading strategy development will always remain an empirical field that is partly science but also partly art. Although the academic community has contributed significantly in raising awareness about certain issues, it cannot provide a framework for generating those ‘creative moments’…but only investigate whether a moment was not as creative as was expected.”
  • The best antidote for overfitting/selection bias is restricting backtests to similar simple return predictors.
  • Identifying changes in market conditions is often more important than performing quantitative strategy backtests. For example, the change from mostly positive to mostly negative rolling 252-day autocorrelation of S&P 500 daily returns in 1997 (see the chart below):
    • Disrupts intermediate-term trend following strategies that used to work.
    • Enables short-term mean reversion strategies that used to not work.

The following chart, taken from the paper, tracks the rolling 252-day autocorrelation of S&P 500 Index daily returns during 1950 through 2015. This measure of market conditions is mostly positive before the end of 1997 (denoted by a vertical line) and mostly negative thereafter. Horizontal lines represent a 95% confidence band that autocorrelation is not statistically different from zero based on the full sample. This change in market behavior at the end of 1997 is critical to the performance of trend following strategies (good to bad) and mean reversion strategies (bad to good).

SP500-252-day-rolling-autocorrelation

In summary, investors should be alert to changes in asset market conditions that may disrupt old strategies and enable new ones.

Cautions regarding conclusions include:

  • In general, investors cannot reliably determine a change in market conditions until well after the change occurs.
  • The constant $0.01 per share trading friction assumed in the trend following and mean reversion examples is unrealistic for much of the sample period. This assumption overstates net returns early in the sample period, most dramatically for the best-performing moving average strategies, such that more realistic frictions may change strategy performance rankings. It is arguable that change in trading frictions over time drives change in market conditions. In other words, precise accounting for trading frictions over time may obviate changes in market conditions and materially improve backtesting.
  • The use of index returns in examples ignores the costs of maintaining a liquid fund, thereby overstating performance. As for trading frictions, these costs change over the sample period.

See also Chapter 4: “Accounting for Implementation Frictions” and Chapter 5: “Checking for Market Adaptation” of Avoiding Investment Strategy Flame-outs.

Frequently Asked Questions

What is rolling autocorrelation of stock market returns?

Rolling autocorrelation of stock market returns is a measure of how strongly recent daily returns correlate with prior returns over a moving window, such as 252 trading days. In Harris's analysis of S&P 500 daily returns (1950-2015), it serves as a gauge of market conditions: positive values favor trend following, while negative values favor mean reversion. Statistical significance is judged against a 95% confidence band around zero.

Does a change in market conditions affect whether trend following and mean reversion strategies work?

Changes in market conditions do affect trend following and mean reversion strategies, according to Harris's analysis of S&P 500 returns (1950-2015). The shift around 1997 from mostly positive to mostly negative rolling 252-day autocorrelation disrupted intermediate-term trend following that previously worked and enabled short-term mean reversion that previously did not. Harris concludes that identifying such changes is often more important than performing additional quantitative backtests.

How do you test whether a trading strategy backtest is affected by changing market conditions?

Harris compares trend following and mean reversion strategy performance before and after 1997 using daily S&P 500 Index returns (excluding dividends) from January 1950 through December 2015. He tracks the rolling 252-day autocorrelation of daily returns as the market conditions measure, with a 95% confidence band based on the full sample. The examples assume a constant $0.01 per share trading friction.

Is overfitting the same as a change in market conditions when a trading strategy stops working?

Overfitting (selection bias from excessive backtesting) is not the same as a change in market conditions, though both can cause a strategy to flame out. Harris says the best antidote for overfitting is restricting backtests to similar simple return predictors, whereas a change in market conditions, such as the 1997 autocorrelation shift in S&P 500 returns, can disrupt old strategies and enable new ones regardless of backtest discipline. He argues alertness to such changes is often more important than additional backtesting.

What are the limitations of using autocorrelation shifts to detect when a trading strategy will stop working?

Investors generally cannot reliably identify a change in market conditions until well after it occurs, which limits real-time usefulness. The examples assume a constant $0.01 per share trading friction that is unrealistic for much of the 1950-2015 sample and overstates early net returns, so more realistic frictions might change strategy rankings or even account for the apparent market shift. Using index returns also ignores the costs of maintaining a liquid fund, overstating performance.

Guru Grades

1,206 predictions by 42 market gurus since 2022: 41% right. Always saying stocks will go higher: 62%.

As of the Nov 20, 2026 close

  1. 1 Ed Yardeni A 71%
  2. Always bullish B 62%
  3. 2 Jim Paulsen B 61%
  4. 3 Sam Stovall B 58%
  5. 4 Adam Turnquist B 58%
  6. 5 Ryan Detrick B 56%

Full leaderboard ›