The S&P 500’s 200-Day Rule Cut the Worst Loss but Trailed Buy-and-Hold

On November 17, 2026, the S&P 500 closed at 7,340.53, just 0.05% below its 200-day moving average. The total-return index, which includes reinvested dividends, finished 0.36% above its own average, according to an AInvest analysis of Yahoo Finance closing data. A trading rule that calls for holding stocks above the line and moving to cash below it gave opposite signals depending on which index an investor used.

Over a longer period, the rule’s clearest benefit was a smaller loss, not a higher return. In AInvest’s backtest covering 9,288 trading days from January 1990 through November 17, 2026, the 200-day rule returned 9.9% a year before tax, compared with 10.7% for buying and holding the S&P 500 total-return index. Its worst peak-to-trough decline was 20.6%, compared with 55.3% for buy-and-hold.

Smaller losses came at a cost

The analysis acted on each closing signal at the next trading day’s close. Money outside the market earned the 13-week Treasury bill rate. The 200-day strategy held stocks 77% of the time and turned a hypothetical $10,000 into $326,000 before tax, versus $427,000 for buy-and-hold. The simulation excluded fund fees and trading spreads.

Strategy Annual return before tax Worst peak-to-trough decline Modeled annual return after tax
20-day simple average 5.2% 40.5% 1.4%
50-day simple average 6.3% 35.4% 3.3%
9/21-day exponential average crossover 6.6% 29.4% 3.7%
100-day simple average 7.6% 46.7% 4.8%
200-day simple average 9.9% 20.6% 7.3%
Buy-and-hold 10.7% 55.3% 9.9%

The 200-day rule also compared favorably after adjusting for volatility: its Sharpe ratio was 0.64, versus 0.51 for buy-and-hold. But the return comparison varied by decade. In the 2000s, the rule gained 5.4% a year while the index lost 0.9% a year. In the 2010s, it returned 9.3% against the index’s 13.4%. From 2020 through November 17, 2026, the figures were 11.1% and 14.2%, respectively.

Why the timing of a recovery matters

A 200-day simple moving average gives equal weight to the last 200 daily closes. Its average observation is about five months old. Plotting that daily figure on a one-minute chart makes it easier to see but adds no new daily close. A TradingView study by QuantNomad illustrates the lag: CoStar Group took 286 trading sessions to reclaim its 200-day average.

That lag can keep a strategy out of stocks during a prolonged decline, but it can also delay re-entry when prices recover quickly. From February 27 to May 26, 2020, the rule lost 6.05% while the index gained 0.95%: it sold near the bottom and bought back at a higher price. Over the full test, 71% of switches occurred when the index was within 1% of the average, and 95% occurred within 2%.

The tax assumptions widen the gap

The 200-day rule completed 106 round trips. Of those, 97 lasted less than a year, and the median holding period was seven days. Selling along the way meant realizing taxable gains rather than deferring them until the end of the test.

The model applied a 23.8% federal rate to gains: a 20% long-term capital gains rate plus the 3.8% net investment income tax. On that basis, AInvest reported an annual after-tax return of 7.3% for the rule and 9.9% for buy-and-hold with a sale at the end. It put the gap at 2.7 percentage points a year. The model did not apply ordinary income tax rates to short-term gains or include state taxes.

Trading less often narrowed the gap. In a separate comparison using month-end data, a 12-month average generated just 19 round trips in 37 years. It returned 10.7% a year before tax against 11.0% for buy-and-hold on the same data, with a worst decline of 16.7%. After tax, the returns were 8.4% and 10.2%.

The reported 2.7-point gap is therefore specific to the daily rule and the tax model, not a fixed cost of using a moving average. Without the modeled tax cost, the historical trade-off was narrower: 0.8 percentage points less annual return in exchange for a worst decline of about one-fifth rather than more than half.

Further reading