Does a 100-day moving average beat buy-and-hold SPY?
Market Timing Research โข Does a 100-day moving average beat buy-and-hold SPY?
๐ก Summary
This page asks whether holding SPY only while it closes above its 100-day moving average beats simply holding SPY. From 1993-12-31 to 2026-10-30 the rule returned a 5.02% CAGR against 10.79% for SPY, so it did not beat holding on return. The main caveat is that the drawdown was almost as deep as SPY's, and the result is a historical simulation, not a forecast.
Key Metrics & Specifications
| Test Period | 1993-12-31 to 2026-10-30 |
| Strategy CAGR | 5.02% |
| Strategy Max Drawdown | -54.91% |
| Strategy Sharpe | 0.48 |
| SPY CAGR | 10.79% |
| SPY Max Drawdown | -55.19% |
| Execution & Costs | Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 2.77% |
| Rules | Compute the 100-day simple moving average of the S&P 500 (SPY) from daily closes. Hold SPY while the close is above the average. Otherwise hold cash (Treasury bills). Decisions use the close; trades fill at the next day's close. |
| Out-of-Sample CAGR | 11.19% vs SPY 14.80% from 2016-12 |
What the experiment recorded
| Run | CAGR | Max drawdown |
|---|---|---|
| Strategy | 5.02% | -54.91% |
| SPY | 10.79% | -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.
1993-12-31 โ 2026-10-30. Export dated 2026-11-01. 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.
What question is this backtest answering?
Most readers want to know whether a simple trend filter can avoid the worst market losses without giving up too much of the gains. The usual comparison is against buying SPY and holding it through everything.
This page tests that one idea on daily data from 1993-12-31 to 2026-10-30. It asks three things: does the rule earn more, does it lose less in bad stretches, and does the answer hold up in a period it was not tuned on.
What the rule does and why people use it
Hold SPY only while it closes above its 100-day moving average. The rule computes the 100-day simple moving average of SPY from daily closes. It holds SPY while the close is above that average and holds cash (Treasury bills) otherwise. Decisions use the close, and trades fill at the next day's close.
People use rules like this because a falling market tends to stay below its average. The hope is to step aside during long declines. The cost is that the rule can also step aside just before a rebound. Over the full period the strategy was invested in something other than cash on 73.48% of days.
What the numbers say
Over the whole period the strategy returned a 5.02% CAGR with a maximum drawdown of -54.91% and a Sharpe ratio of 0.48. SPY returned a 10.79% CAGR with a -55.19% drawdown and a Sharpe of 0.64. The strategy's growth multiple was 5.00 against 28.90 for SPY. The drawdown was slightly shallower, but the return and the risk-adjusted result were both lower.
Split into two parts, the first 70% of the period gave the strategy a 2.48% CAGR against 9.11% for SPY. The out-of-sample period starting 2016-12 looked better: 11.19% against 14.80% for SPY. The strategy still trailed on return, but its Sharpe ratio was 0.99 against 0.86.
Trading costs matter here. The test assumed 0.1% per leg across 713 trades. Rerunning with the cost multiplied by 2 cut the CAGR to 2.77% and deepened the maximum drawdown to -62.71%. The result is therefore sensitive to cost assumptions.
Where this approach struggles
The rule can lag badly in sharp, fast reversals, and it can be whipsawed when the price crosses its average repeatedly. Its worst calendar year was 2000, when the strategy returned -26.09% against -9.74% for SPY.
A drawdown of -54.91% shows that the filter did not protect much in the deepest decline in this test. Because the rule reacts after prices have already moved, it can sell low and buy back higher, and that cost compounds over many years.
This is historical research, not a forecast. Past simulated results do not predict future returns.
โ ๏ธ Risk Considerations
A backtest uses past prices and fixed assumptions, so it cannot show how the rule would behave in a future market. Results depend on the cost assumptions, the chosen moving-average length and the dates tested, and a different setup could look better or worse.
๐ฏ Target Audience
Retail investors curious whether a simple moving-average trend filter has historically beaten holding SPY, and who want to see the drawdown and cost trade-offs.
Frequently Asked Questions (FAQ)
Q. Did the 100-day moving average strategy beat SPY?
Not on return. It had a 5.02% CAGR against 10.79% for SPY over 1993-12-31 to 2026-10-30. Its Sharpe ratio was 0.48 against 0.64.
Q. Did the strategy reduce drawdowns?
Only slightly. Its maximum drawdown was -54.91% against -55.19% for SPY, so it avoided very little of the worst decline.
Q. How did it do on data after 2016-12?
In the out-of-sample period it returned an 11.19% CAGR against 14.80% for SPY. It had a higher Sharpe ratio, 0.99 against 0.86, but still trailed on total return.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.