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

Using Multiple SMA Regressions to Time the Stock Market

Steve LeCompte | | Posted in: Technical Trading

Guide Trend Following and Momentum Moving averages

Key Insight

Multiple SMA regression forecasts show small, inconsistent correlations with SPY returns (Jan 1993–Nov 2012; offset regressions using 3-200 day SMAs; in-sample analysis with data snooping bias).

“Trend Factor and Stock Returns” describes a method of extracting information from stock price simple moving averages (SMA) that is more complicated than that used by most traders. Instead of using current price above or below an SMA as a signal, this method employs offset regressions (normalized SMAs lagged one month behind returns) to project next month’s return based on current SMAs. Does this alternative use of SMAs usefully forecast stock market returns. To investigate, we apply the methodology to predict SPDR S&P 500 (SPY) returns and to predict International Business Machines Corporation (IBM) returns. Using daily dividend-adjusted closes for SPY since the end of January 1993 and for IBM since the beginning of January 1962, both through November 2012, we find that:

First, for SPY, at the end of each month we:

  1. Calculate SPY SMAs for the past 3, 5, 10, 20, 50, 100 and 200 trading days.
  2. Normalize the SMAs by dividing by the final SPY close.
  3. Regress monthly normalized SMAs against next-month SPY returns over the past one to four years to estimate the relationship between normalized SMAs and next-month SPY return.
  4. Use the current normalized SMAs to forecast SPY return for the next month (via the Excel FORECAST function).
  5. Calculate a composite forecast by averaging the individual forecasts for all seven SMAs.

We then test the abilities of the forecast average and individual SMA forecasts to predict monthly SPY returns. Results optimistically assume that an investor can accurately perform calculations just before the monthly close and execute at the same close.

Note that this approach deviates (for simplicity) from that in the referenced study, which uses multiple regressions, rather than averages of single regression outputs, to combine the effects of different SMAs. Use of single regressions assumes that the individual SMAs contribute equally to aggregate predictive power.

The following chart shows the monthly average forecasted SPY return from two-year lagged regressions of all seven SMAs and actual monthly returns for SPY over the available sample period. It appears that there may be some relationship between forecasts and actuals, but forecasts may lag actuals (as expected for SMA and regression calculations).

Why use a two-year regression interval?

The next chart summarizes correlations between forecasted and actual monthly SPY returns for each of the seven SMAs and for the average based on lagged regression intervals of one to four years, over the available sample period. In general, a two-year regression interval generates the strongest agreement between forecasts and actuals. However, correlations are generally small and inconsistent across regression intervals, varying in magnitude and sign. Results undermine belief in a stable predictive power for normalized SMAs.

Note that in-sample selection of the two-year regression interval introduces data snooping bias, such that results likely overstate future predictive power.

Might there be an important non-linearity in the relationship?

The next chart summarizes average actual monthly SPY returns, with one standard deviation variability ranges, for months sorted into fifths (quintiles) of the forecast average across all SMAs. Based on average return, the progression is nearly systematic across quintiles. On a volatility-adjusted basis (average divided by standard deviation), quintile 5 is best (0.36), followed by quintiles 3, 4, 1 and 2.

This analysis is in-sample. An investor operating in real time would have only past data (not the entire sample) to estimate when forecasted returns are relatively high or low. Limiting inputs to real-time data may change results.

Might this approach work better on an individual stock?

The next chart summarizes correlations between forecasted and actual monthly IBM returns for each of the seven SMAs and for the average based on lagged regression intervals of one to four years, over the available sample period. Correlations are generally smaller than for SPY and still inconsistent across regression intervals, undermining belief in a stable predictive power for normalized SMAs.

Might there be an important non-linearity here?

The final chart summarizes average actual monthly IBM returns, with one standard deviation variability ranges, for months sorted into quintiles of the forecast average across all SMAs. Based on average return, the progression is systematic except for quintile 1. On a volatility-adjusted basis, results are less systematic, with quintile 4 best (0.20), followed by quintiles 1, 5, 3 and 2. The relatively strong performance of quintile 1 likely derives from the inability of SMAs and regressions to identify turning points (rebounds from crashes).

Again, this analysis is in-sample. An investor operating in real time would have only past data to estimate when forecasted returns are relatively high or low. Limiting inputs to real-time data may change results.

In summary, evidence from simple tests offers some support a belief that normalized SMA regressions usefully predict stock returns.

Cautions regarding findings include:

  • In general, linear regression analysis assumes a linear relationship between dependent and independent variables and normal distributions for variables.
  • As noted, most of the above tests are in-sample, and selection of the two-year regression for SPY return forecasts incorporates data snooping bias. The sensitivity of findings to the length of the regression interval is a strong concern.
  • Realistic trading strategies with frictions would underperform any findings above.

Frequently Asked Questions

What is a simple moving average (SMA) regression forecast for stock returns?

A simple moving average (SMA) regression forecast uses offset regressions that relate normalized SMAs (SMAs divided by the latest close) to the following month's return, then applies current SMAs to project next month's return. This differs from the common trader approach of checking whether price is above or below an SMA. The tested version used 3, 5, 10, 20, 50, 100 and 200 day SMAs.

Do multiple SMA regressions predict stock market returns?

Multiple SMA regressions show only weak and unreliable predictive power for SPDR S&P 500 (SPY) returns in tests from January 1993 through November 2012. Correlations between forecasted and actual monthly returns were generally small and varied in magnitude and sign across regression intervals. The two-year regression interval gave the strongest agreement, but results undermine belief in stable predictive power.

How do you build a forecast of next month's stock return from moving averages?

At each month end, calculate 3, 5, 10, 20, 50, 100 and 200 trading day SMAs and normalize each by dividing by the final close. Regress past monthly normalized SMAs against next-month returns over a lagged one to four year window, then use current normalized SMAs to forecast next month's return with Excel's FORECAST function. The composite forecast averages the seven individual SMA forecasts, and results assume trades execute at the monthly close.

Do SMA regression forecasts work better on an individual stock like IBM than on the S&P 500?

SMA regression forecasts did not work better for International Business Machines (IBM) than for SPDR S&P 500 (SPY). IBM correlations between forecasted and actual monthly returns were generally smaller than for SPY and still inconsistent across regression intervals. In quintile tests on IBM, volatility-adjusted results were less systematic, with quintile 4 best (0.20), versus SPY's best quintile 5 (0.36).

What are the limitations of using SMA regressions to time the stock market?

SMA regression timing results are mostly in-sample, and choosing the two-year regression interval for SPY introduces data snooping bias that likely overstates future predictive power. Findings are also highly sensitive to regression interval length, and linear regression assumes a linear relationship and normally distributed variables. Realistic trading frictions would cause strategies to underperform the reported results, and SMAs struggle to identify turning points such as rebounds from crashes.

Trend Following and Momentum guide

More on moving averages

All 387 articles in the Trend Following and Momentum guide