Does the 200-Day Moving Average Rule Work? I Tested It Since 1993

The most famous trend rule in investing, run day by day through 33 years of S&P 500 data, the dot-com crash and 2008 included, with every in-and-out trade in the spreadsheet.

Short answer
  • The rule: hold the S&P 500 while it closes above its average of the last 200 closes, step aside when it closes below.
  • From Nov 1993 to Nov 27, 2026 it cut the worst fall from -55.2% to -23.4% (cash earning the T-bill yield), and the 2008 fall from -55.2% to -18.0%.
  • It cost 1.7 points of return a year (8.9% vs 10.6%): $100,000 became $1,674k instead of $2,819k.
  • Whipsaw is the price: 215 switches, and 82 of its 108 stretches in the market lost money. A 1% band halved the switches to 97.
  • In the shorter Aug 2018 - Oct 2026 window, with no grinding bear market in it, the rule's cost looked worse: 10.6% a year vs 14.7%.

Partly. When I held the S&P 500 fund only while it closed above its 200-day moving average, and sat in T-bills otherwise, the worst fall from Nov 1993 to Nov 27, 2026 shrank from -55.2% to -23.4%. But the return dropped from 10.6% to 8.9% a year, and the rule switched in or out 215 times. It works as a brake on big crashes, and you pay for that brake in every choppy year.

I first ran this rule over eight years and didn't like what I saw. The fair objection was that those eight years had no long bear market, which is exactly what trend rules are built for. So I went back as far as my daily data allows, to 1993, so that the dot-com crash and 2008 are both inside the test.

What is the 200-day moving average rule?

Take the last 200 daily closing prices of the S&P 500 and average them. That's roughly ten months of trading, drawn on most charts as a smooth line under or over the price. The rule I tested is the simplest version:

  • If the index closes above its 200-day average, hold stocks.
  • If it closes below, sell at that close and hold cash until it closes above again.

The idea has respectable roots. A widely cited 1992 study by Brock, Lakonishok and LeBaron tested moving-average rules on the Dow back to 1897 and found buy signals were followed by better returns than sell signals. Mebane Faber's paper on a monthly 10-month version calls the 200-day average the most often cited long-term trend measure, and reports bond-like volatility and drawdowns with equity-like returns across asset classes. My test is narrower: one fund, daily closes, every switch counted.

Here is what the rule looked like at the start of COVID. Column C is the average of the 200 closes above it, and column D is the signal:

200-day-moving-average-rule-tested.xlsxOpen full sheet →
D219fx=IF(B219>C219,"In","Out")
A
B
C
D
2
Date
SPY close
200-day average
Signal
214
2020-02-20
306.37
274.20
In
215
2020-02-21
303.21
274.42
In
216
2020-02-24
293.15
274.60
In
217
2020-02-25
284.27
274.74
In
218
2020-02-26
283.23
274.86
In
219
2020-02-27
270.51
274.96
Out
220
2020-02-28
269.37
275.03
Out
221
2020-03-02
281.03
275.16
In
222
2020-03-03
272.99
275.24
Out
InputsIn-market stretchesDaily 2020Summary
The 200-day average in column C is =AVERAGE() of the 200 closes above it. The first Out is the exit.

What happened when I ran it since 1993?

I used the S&P 500 fund (SPY) with dividends reinvested, decided at each close and acted on from the next day. While out, the money earned the 3-month Treasury yield from FRED, because sitting in cash at 0% for years in the 1990s and 2000s would understate the rule. I also ran the cash-at-0% version, and two softer versions:

200-day-moving-average-rule-tested.xlsxOpen full sheet →
D5fx=(C5/B5)^(1/Inputs!$B$5)-1
A
B
C
D
E
F
G
H
I
J
2
Version
Start
Ends with
Return a year
Worst fall
Dot-com
2008
COVID
2022
Switches
3
Hold, no rule
$100,000
$2,818,576
10.6%
-55.2%
-47.5%
-55.2%
-33.7%
-24.5%
0
4
200-day rule, cash earns 0%
$100,000
$1,420,839
8.4%
-28.9%
-24.7%
-19.5%
-17.4%
-15.4%
215
5
200-day rule, cash earns T-bill yield
$100,000
$1,673,573
8.9%
-23.4%
-20.1%
-18.0%
-17.4%
-13.9%
215
6
Rule with a 1% band, T-bill cash
$100,000
$1,887,048
9.3%
-20.7%
-14.9%
-16.6%
-15.4%
-15.1%
97
7
Half steps: 50% out below the line
$100,000
$2,360,874
10.1%
-36.5%
-33.8%
-36.5%
-25.5%
-18.2%
215
8
Times it bought back higher than it sold
98
10
In-market stretches in total
108
InputsIn-market stretchesDaily 2020Summary
Return a year = (end / start) ^ (1 / years) - 1. Every version starts with the same amount on the same day.

The headline: $100,000 held from Nov 1993 grew to $2,818,576. Under the 200-day rule it grew to $1,673,573. Holding won by a wide margin on money. The rule won on pain: its worst fall was -23.4% against -55.2%.

Nov 27, 2026$2.82M$1.67M
$0$1.0M$2.0M$3.0M19942001200820152022
Hold SPY200-day rule (T-bill cash)

100,000 from Nov 1993, weekly closes, dividends reinvested. Cash earns the 3-month Treasury yield while out.

The interest on cash mattered more than I expected. With cash at 0% the rule returned 8.4% a year; with T-bills it returned 8.9%, a difference of 0.5 points a year, because it spent long stretches out of the market when short-term rates were often several percent. Anyone running a rule like this should park the money in T-bills, not leave it idle.

When did the 200-day rule earn its keep?

In the two long bear markets. The rule cut the dot-com fall from -47.5% to -20.1% and the 2008 fall from -55.2% to -18.0%. Both crashes ground down for well over a year, with the index below its average most of the way, so the rule was out for the worst of them. Those were also recessions by the NBER's official dating, which is the kind of slow, earnings-driven decline a price trend can follow.

2025-18.8%-9.4%
-50%0.0%50%100%Dot-com'08COVID'22'25
Hold200-day rule

Deepest fall inside each crash window, measured from the previous high.

COVID was a different animal. The rule did cut the fall, from -33.7% to -17.4%, but look at what it took. It first sold on Feb 27, 2020, when the index was already 12.1% off its high. It bought back on Mar 2, 2020, 3.9% higher, sold again the next day, and switched 6 times before getting back in for good on May 26, 2020, when the index was already 34.1% above its March low.

Why does it give up so much return?

Two reasons, and they feed each other.

It acts late both ways. A price rule only moves after the price has moved. By the time the index closes below its average, part of the fall has happened. After the bottom, it waits until the index climbs all the way back above the line, which in a V-shaped recovery means missing a big piece of the rebound.

Whipsaws. This is the real cost, and the stretches tab shows it trade by trade:

200-day-moving-average-rule-tested.xlsxOpen full sheet →
F93fx=B93/D92-1
A
B
C
D
E
F
G
2
In on
SPY in
Out on
SPY out
Stretch return
Back in vs last exit
Rule value
90
2019-02-04
242.68
2019-02-07
241.06
-0.7%
1.2%
$614,700
91
2019-02-12
244.59
2019-05-31
246.72
0.9%
1.5%
$620,053
92
2019-06-04
251.43
2020-02-27
270.51
7.6%
1.9%
$667,107
93
2020-03-02
281.03
2020-03-03
272.99
-2.9%
3.9%
$648,021
94
2020-03-04
284.46
2020-03-05
275.01
-3.3%
4.2%
$626,494
95
2020-05-26
273.54
2022-01-21
411.09
50.3%
-0.5%
$941,527
96
2022-01-24
412.83
2022-01-25
407.79
-1.2%
0.4%
$930,032
97
2022-01-28
414.81
2022-02-11
413.42
-0.3%
1.7%
$926,916
InputsIn-market stretchesDaily 2020Summary
Column F: the price it bought back at, against the price it last sold at. Positive = it paid more to get back in.

Column F compares each purchase with the previous sale. When the rule sells just below the line and buys back just above it, it pays more to get back in: that happened in 98 of 107 round trips, and across all of them it paid 0.7% more on average. Of the 108 stretches in the market, 82 (76%) lost money and 71 lasted ten trading days or less. A handful of long stretches above the line made all the money; the rest was a steady drip of small losses.

The drip isn't spread evenly. In 2000 alone the rule switched 19 times:

20263
01020'93'98'03'08'13'18'23

Each switch is one sale or one purchase of the whole position.

Can you make the rule cheaper?

Two tweaks helped in my test.

A 1% band. Only get out when the index closes 1% below the line, and only get back in 1% above it. Faber's paper describes Jeremy Siegel testing exactly this kind of band on the Dow. In my run it cut the switches from 215 to 97, lifted the return to 9.3% a year and had the smallest worst fall of all, -20.7%. It still trailed holding on return.

Half steps. Keep half your stock money invested below the line instead of none. That returned 10.1% a year, close to holding, but let through a worst fall of -36.5%. It halves the cost of every false alarm and halves the protection too. I go into stepping instead of flipping in downside protection without selling everything.

How does it compare with other ways to protect a portfolio?

On the same S&P 500 money over Aug 2018 - Oct 2026, the window I use for every method on this site, the 200-day rule had a -19.8% worst fall and 10.6% a year with 50 switches, against -33.7% and 14.7% for holding. A 10% stop-loss kept more of the return (14.6%) but fell further (-21.9%); I tested stops separately in do stop-loss orders protect a portfolio?.

The approach that did best in that window reads conditions rather than a price line: a weekly forecast built from dozens of market and economic signals that holds 100%, 50% or 0% of the stock money. Its worst fall was -10.0% with 21.7% a year. Those are historical model calculations from its real past readings, before taxes and the subscription. The full side-by-side is in portfolio insurance options compared, and the readings themselves are on a weekly market forecast.

What about taxes and trading costs?

My numbers ignore both. Trading costs are small on a big index fund, but 6.5 switches a year still add up. Taxes can be large. Every exit in a taxable account is a sale, and per the IRS, gains on holdings kept a year or less are short-term and taxed as ordinary income. That's the main reason people who follow trend rules run them inside IRAs and 401(k)s. Talk to a tax pro before running any switching rule in a taxable account.

What I'd do

  • Treat the 200-day line as information, not an instruction. It is a fair answer to "is the long trend up or down?" and a weak answer to "how much should I hold?"
  • If you use it, soften it. A 1% band or half steps cut the whipsaw cost a lot in my test.
  • Park the money in T-bills while out. In my run that was worth 0.5 points a year.
  • Accept the trade-off up front. Since 1993 it took the worst fall from -55.2% to -23.4% and cost 1.7 points a year. Decide whether you want that trade before the next dip, not during it.
  • Run it where taxes don't bite, if you run it at all.
  • Know what your own portfolio would do in a 2008-style fall before choosing any rule; the portfolio protection page walks through it.

Every number above comes from this article's spreadsheet, rebuilt from market data each trading day. Open the full sheet or download the .xlsx and check the formulas yourself.

What I use for this

Market intelligence →

Instead of reacting to one price line after the market has already moved, a weekly forecast reads dozens of market and economic signals and sets how much stock to hold, often in half steps.

See more details
Portfolio optimizer →

Before adopting any switching rule, see how far your own mix fell in 2008, COVID and 2022, and which holding did the damage.

See more details

FAQ

Sources

  1. Mebane Faber, A Quantitative Approach to Tactical Asset Allocation (2013 update, author's copy of the SSRN paper) mebfaber.com
  2. Brock, Lakonishok & LeBaron, Simple Technical Trading Rules and the Stochastic Properties of Stock Returns, Journal of Finance (1992) ideas.repec.org
  3. FRED: 3-Month Treasury constant maturity yield (DGS3MO) fred.stlouisfed.org
  4. NBER: US business cycle expansions and contractions nber.org
  5. IRS Topic No. 409, Capital gains and losses irs.gov
  6. State Street: SPDR S&P 500 ETF Trust (SPY), fund data ssga.com

Numbers marked "in my numbers" come from my own spreadsheets, built from dividend-adjusted daily prices through Nov 27, 2026 and public FRED data, and recalculated every trading day. Educational content, not investment advice. Past results don't guarantee future results.