Does SPY 6-month Moving Average Timing Beat Holding?
Market Timing Research • Does SPY 6-month Moving Average Timing Beat Holding?
💡 Summary
Can a moving average rule improve on holding SPY throughout the period? The strategy had a lower CAGR than SPY but a shallower maximum drawdown and a higher Sharpe ratio; these historical results do not establish how it will perform in the future.
Key Metrics & Specifications
| Test Period | 1994-01-03 to 2026-11-16 |
| Strategy CAGR | 9.03% |
| Strategy Max Drawdown | -23.40% |
| Strategy Sharpe | 0.77 |
| SPY CAGR | 10.71% |
| SPY Max Drawdown | -55.19% |
| Execution & Costs | Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 8.55% |
| Rules | At each month end, compare the close of the S&P 500 (SPY) with the average of the last 6 month-end closes. Hold SPY for the next month if the close is above the average. Otherwise hold cash (Treasury bills) for the month. Decisions use the close; trades fill at the next day's close. |
| Out-of-Sample CAGR | 10.80% vs SPY 14.63% from 2016-12 |
What the experiment recorded
| Run | CAGR | Max drawdown |
|---|---|---|
| Strategy | 9.03% | -23.40% |
| SPY | 10.71% | -55.19% |
Sampled historical portfolio values from the experiment export. The plotted observations can omit intervening peaks and troughs; use the reported maximum drawdown above.
1994-01-03 – 2026-11-16. Export dated 2026-11-18. Historical simulation; future results can differ. Read the underlying experiment.
⚡ Interactive Compound Growth Simulator
Adjust initial investment and holding duration to calculate compounded terminal wealth.
* Hypothetical illustration for educational purposes only. Past backtest results do not guarantee future returns.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.
The question behind the test
The question is whether moving between SPY and cash based on a trend signal can make the experience of investing in stocks less severe during declines, and what return might be given up in exchange.
This backtest compares the timing rule with holding SPY over the same historical period.
How the rule works
At each month end, the rule compares SPY's close with the average of the last 6 month-end closes. It holds SPY for the next month when the close is above that average; otherwise, it holds cash in Treasury bills.
The decision uses the month-end close, and any trade fills at the next day's close. People use moving average rules to follow broad trends and limit exposure during some declines, although the signal can also miss recoveries or reverse frequently.
What the historical results show
From 1994-01-03 to 2026-11-16, the strategy's CAGR was 9.03%, compared with 10.71% for SPY. Its maximum drawdown was -23.40%, compared with -55.19% for SPY, and its Sharpe ratio was 0.77 versus 0.64.
In the out-of-sample period starting in 2016-12, the strategy's CAGR was 10.80%, compared with 14.63% for SPY. Its Sharpe ratio was 0.92 versus 0.85 for SPY.
The standard backtest used a trading cost of 0.1% per leg and recorded 145 trades. With trading costs doubled, the strategy's CAGR was 8.55% and its maximum drawdown was -24.32%.
Where the approach struggles
A trend signal can respond after a decline has begun and can keep the strategy in cash during part of a recovery. Repeated changes in direction can also generate trading costs without producing a sustained trend.
In 2000, the strategy returned -15.08%, compared with -9.74% for SPY. A shallower maximum drawdown over the full period did not prevent the strategy from performing worse in that year.
This is historical research, not a forecast. Past simulated results do not predict future returns.
⚠️ Risk Considerations
Historical results depend on the period, rules, execution assumptions and costs used in the test, and they do not predict future performance. Actual execution and returns may differ, and the strategy can experience losses even when it holds cash at times.
🎯 Target Audience
This page is for readers comparing a rules-based SPY timing approach with holding SPY through market cycles.
Frequently Asked Questions (FAQ)
Q. Did the moving average strategy beat holding SPY?
It had a lower full-period CAGR: 9.03% versus 10.71% for SPY. It also had a shallower maximum drawdown and a higher Sharpe ratio.
Q. What happens when SPY closes below its moving average?
The rule holds cash in Treasury bills for the next month when SPY's month-end close is not above the average. Any trade fills at the next day's close.
Q. Did higher trading costs change the result?
With trading costs doubled, the strategy's CAGR was 8.55% and its maximum drawdown was -24.32%. This is a historical cost stress test, not a guarantee of future results.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.