Golden cross (50/200) on SPY: robust or curve-fit?

Computed by the MarketHeist backtest engine · Published 2026-10-13 · Updated 2026-10-13 · Data through 2026-09-30
Hold the fund while its 50-day simple moving average is above its 200-day simple moving average; hold cash otherwise. Tested on S&P 500 (SPY) from 1994-04-06 to 2026-09-30 (32.4 years of daily data): 5 bps a side, fills at the signal day's close (in practice the closing minutes), idle cash earning 3-month Treasury bills. Verdict: Shallower drawdown, lower return. The 50/200 setting cut the worst drawdown by 21 points at a cost of 0 points of annual return.
Claim checked
"The golden cross beats buy-and-hold."
Partly (shallower drawdown, lower return)
SPY, 1994-04-06 to 2026-09-30 (32.4 years), 15 trades. "Beats" means a higher return or a higher risk-adjusted return, across nearby settings and out of sample. Shallower drawdown, lower return.
10.6%
CAGRbuy-and-hold 11.1%
-33.7%
Max drawdownbuy-and-hold -55.2%
0.61
Sharpe, excess over T-billsbuy-and-hold 0.52
robust 97% kept
Nearby settingsshare of the Sharpe kept by neighbours

50/200 setting against buying and holding SPY, 1994-04-06 to 2026-09-30 (32.4 years), cash earning 3-month Treasury bills. The backtester's own figures (cash at 0%, no risk-free rate) are in the box at the end.

The read

Verdict: Shallower drawdown, lower return. The 50/200 setting cut the worst drawdown by 21 points at a cost of 0 points of annual return.

50/200 against its neighbours

Sharpe of the golden cross on SPY by settingSharpe in excess of T-bills for each short average (days) and long average (days) on SPY, 1994-04-06 to 2026-09-30. Buy-and-hold: 0.52. The famous setting 50/200 scored 0.61.Long average (days)Short average (days)100150200250300200.440.530.600.590.60300.410.510.630.580.59400.500.550.580.640.61500.490.600.610.640.60600.410.530.570.610.64750.460.540.610.630.651000.530.570.630.66
Sharpe in excess of T-bills for each setting. Blue: above buy-and-hold's 0.52; orange: below; every value is printed. The famous 50/200 setting is outlined; hatched cells made fewer than 5 trades; blank cells cannot be expressed (short average not shorter than the long one). Rows: short average (days); columns: long average (days).
CAGR, max drawdown and trade count for every setting

CAGR

Short average (days) \ Long average (days)100150200250300
207.5%8.8%9.9%10.0%10.5%
307.2%8.8%10.6%10.0%10.4%
408.5%9.4%10.1%11.0%10.8%
508.5%10.3%10.6%11.1%10.7%
607.3%9.3%9.9%10.7%11.4%
758.1%9.5%10.8%11.2%11.6%
1009.5%10.1%11.1%11.8%

Max drawdown

Short average (days) \ Long average (days)100150200250300
20-32.3%-27.0%-34.1%-29.1%-30.8%
30-39.0%-31.5%-33.3%-37.6%-33.7%
40-29.1%-35.3%-33.7%-33.7%-33.7%
50-34.3%-33.7%-33.7%-33.7%-33.7%
60-33.7%-33.7%-33.7%-33.7%-33.7%
75-33.7%-33.7%-33.7%-33.7%-33.7%
100-33.7%-33.7%-33.7%-33.7%

Trades over the window

Short average (days) \ Long average (days)100150200250300
204736252018
304228161614
403626171212
503323151211
603419151210
75412115109
100241399

Highest Sharpe on the grid, chosen with hindsight: 100/300 (0.66). The famous setting is outlined; settings with fewer than 5 trades are hatched and left out of the neighbourhood and the shares.

Against buy-and-hold

1994-04-06 to 2026-09-3050/200 ruleBuy-and-hold
CAGR10.6%11.1%
Volatility (annualized)13.8%18.8%
Max drawdown-33.7%-55.2%
Sharpe, excess over T-bills (the page's basis)0.610.52
Sharpe with cash at 0% and no risk-free rate (the backtester's basis)0.760.65
Days invested77%100%
Trades over the window151
Trades a year0.50
Worst calendar year2022 (-6%)2008 (-37%)
Growth of $1 in SPY: 50/200 rule against buy-and-holdLog-scaled growth of $1 from 1994-04-06 to 2026-09-30: the 50/200 rule ends at $26.39, buy-and-hold at $30.15.$1.0$2.0$5.0$10$20199419992004200920142019202450/200 ruleBuy-and-hold
Growth of $1 on a log scale, cash earning T-bills while the rule is out. Charts use sampled points (weekly); every number on the page uses daily data.
Drawdown of SPY: 50/200 rule against buy-and-holdDrawdown from the previous peak: the rule's deepest is -33.7%, buy-and-hold's -55.2%.-50%-40%-30%-20%-10%0%199419992004200920142019202450/200 ruleBuy-and-hold
Drawdown from the previous peak.

Walk-forward: choose in sample, judge out of sample

In each in-sample window of 10 years the setting with the highest Sharpe is chosen among settings with at least 3 trades in it, then held for the next 2 years out of sample. 11 windows, 2004-09-17 to 2026-09-30 (22.0 years); 111 earlier bars are not used. Switching settings at a window boundary is not charged.

#In sampleOut of sampleChosenIn-sample SharpeOut-of-sample Sharpe50/200 fixedBuy-and-hold
11994-09-15 to 2004-09-162004-09-17 to 2006-09-1520/3000.700.640.540.64
21996-09-12 to 2006-09-152006-09-18 to 2008-09-1720/2500.600.110.38-0.38
31998-09-11 to 2008-09-172008-09-18 to 2010-09-1720/3000.440.590.660.19
42000-09-11 to 2010-09-172010-09-20 to 2012-09-1750/2000.440.590.590.90
52002-09-17 to 2012-09-172012-09-18 to 2014-09-1930/2000.661.711.711.71
62004-09-17 to 2014-09-192014-09-22 to 2016-09-2040/1500.84-0.42-0.230.41
72006-09-18 to 2016-09-202016-09-21 to 2018-09-2030/2000.691.641.641.64
82008-09-18 to 2018-09-202018-09-21 to 2020-09-2240/1501.00-0.51-0.210.38
92010-09-20 to 2020-09-222020-09-23 to 2022-09-22100/3000.710.871.180.49
102012-09-18 to 2022-09-222022-09-23 to 2024-09-25100/3000.741.331.251.22
112014-09-22 to 2024-09-252024-09-26 to 2026-09-30100/3000.680.780.330.78
Over 2004-09-17 to 2026-09-30CAGRSharpeMax drawdown
Walk-forward (chosen in sample)8.9%0.56-35.3%
50/200, fixed9.5%0.60-33.7%
Buy-and-hold11.1%0.56-55.2%
Walk-forward growth of $1 in SPYGrowth of $1 from 2004-09-17 to 2026-09-30: choosing the highest-Sharpe setting in sample each time ends at $6.56, the fixed 50/200 setting at $7.41, buy-and-hold at $10.13.$1.0$2.0$5.0$10.020042007201020132016201920222025Chosen in sample50/200, fixedBuy-and-hold
The out-of-sample stretches of the chosen settings, chained, against the fixed famous setting and buy-and-hold over the same years.

Mean in-sample Sharpe of the chosen settings 0.68, mean out-of-sample 0.67 (a drop of 0.02). 6 different settings were chosen in 11 windows. A 10-year window held a median of 5 trades of the famous setting.

Resampled histories

The rule's and buy-and-hold's daily returns are resampled together in circular 21-day blocks (so volatility clusters stay together and both series see the same days), 2,000 times, from the common window. Resampled histories, not a forecast: this measures how stable the gap is in the history we have, not the odds it repeats.

5th / 50th / 95th percentile50/200 ruleBuy-and-hold
CAGR6.9% / 10.7% / 14.4%5.9% / 11.1% / 16.2%
Sharpe, excess over T-bills0.36 / 0.62 / 0.890.26 / 0.53 / 0.79
Max drawdown-45.1% / -30.4% / -19.6%-58.6% / -41.2% / -29.4%
Rule's Sharpe above buy-and-hold's79% of resamples
Rule's max drawdown shallower93% of resamples
Resampled growth of $1 in SPY: 50/200 ruleResampled histories of SPY: the 50/200 rule's 5th to 95th percentile of growth of $1 ends between $8.72 and $77.30; the actual path ends at $26.57; buy-and-hold's actual path ends at $30.36.$1.0$2.0$5.0$10$20$50199419992004200920142019202450/200 rule: 5th to 95th percentile50/200 rule, actual historybuy-and-hold, actualmedian of resamplesbuy-and-hold, resampled median
Growth of $1 on a log scale across 2,000 resampled histories, sampled every 2 weeks. Resampled histories, not a forecast.

Stress windows

Window50/200 ruleBuy-and-hold
Calendar 20082008-01-01 to 2008-12-311%-37%
Calendar 20202020-01-01 to 2020-12-31-4%18%
Calendar 20222022-01-01 to 2022-12-31-6%-18%
Buy-and-hold's drawdown 12007-10-09 to 2009-03-09-4%-55%
Buy-and-hold's drawdown 22000-03-24 to 2002-10-09-3%-48%
Buy-and-hold's drawdown 32020-02-19 to 2020-03-23-34%-34%

Calendar years are whole years inside the window. The other rows are buy-and-hold's three deepest drawdowns (peak to trough); the rule's return is over the same dates.

Costs, fills and cash

50/200 ruleCAGRSharpeMax drawdownEntries a year
0 bps a side10.7%0.62-33.7%0.5
5 bps a side (the page's basis)10.6%0.61-33.7%0.5
20 bps a side10.5%0.60-33.7%0.5
Trade one day later (fills at the next day's close)10.5%0.60-33.7%0.5
Cash at 0% and no risk-free rate (the backtester's basis)buy-and-hold on this basis: CAGR 11.1%, Sharpe 0.65, max drawdown -55.2%10.1%0.76*-33.7%0.5

Sharpe is in excess of 3-month T-bills, except the last row (*), which uses the backtester's basis: cash at 0% and no risk-free rate. Trading a day later means the signal from today's close is filled at tomorrow's close.

Check it in the backtester

Open this rule in the backtester (SPY, daily, 5 bps)

The backtester runs on data through today, so its figures move slightly as new days arrive; the hash below identifies this page's window. As of data through 2026-09-30, over the backtester's own window (1993-11-12 to 2026-09-30, 32.8 years, cash at 0%, no risk-free rate):

The backtester's overfit check (settings one or two steps away on short window and long window) keeps at least 100% of the Sharpe (robust). Reproduce hash: eb3f5a7a3f722448.

Frequently asked questions

Does the golden cross work on SPY?
From 1994-04-06 to 2026-09-30 the golden cross on SPY returned 10.6% a year with a -34% maximum drawdown and a Sharpe of 0.61; buying and holding returned 11.1%, -55% and 0.52 (cash earning 3-month Treasury bills; Sharpe in excess of bills). Verdict: Shallower drawdown, lower return. The 50/200 setting cut the worst drawdown by 21 points at a cost of 0 points of annual return.
Would nearby settings of the golden cross have done the same on SPY?
The 8 adjacent settings kept 97% of the 50/200 setting's Sharpe (median 0.59 against 0.61, range 0.53 to 0.64): a plateau, not a spike. 27 of 34 settings beat buy-and-hold's Sharpe; 34 of 34 cut its maximum drawdown by 10 points or more.
Is the 50/200 result on SPY curve-fitting?
Choosing the setting with the highest Sharpe over the previous 10 years and holding it for the next 2 (11 times, 2004-09-17 to 2026-09-30) returned 8.9% a year with a -35% maximum drawdown and a Sharpe of 0.56; the fixed 50/200 setting returned 9.5%, -34% and 0.60 over the same years, and buy-and-hold 11.1%, -55% and 0.56. The chosen settings averaged a Sharpe of 0.68 in sample and 0.67 out of sample; 6 different settings were chosen in 11 windows, with 9 entries out of sample. In 79% of 2,000 resampled histories (circular 21-day blocks) the rule's Sharpe was above buy-and-hold's, and its maximum drawdown was shallower in 93%. These are resampled histories, not a forecast: they measure how stable the gap is in the history we have, not the odds it repeats.

Caveats

Methodology

Data
Daily total-return-adjusted closes from Yahoo Finance via MarketHeist (the fund's own history; no proxy splicing), through 2026-09-30 (the last trading day of the last complete month). Today's partial bar is always cut. Idle cash earns the FRED 3-month Treasury constant-maturity yield (DGS3MO), using the last observation dated before each bar's start.
The rule
Hold the fund while its 50-day simple moving average is above its 200-day simple moving average; hold cash otherwise. Long-only, unlevered, one position size, 5 bps a side. A signal from a day's close is filled at that close (an idealized fill; the sensitivity table shows one day later).
Windows
Every comparison uses one common window per ETF: from the first bar at which every setting on the grid (and every sensitivity run) is measurable to the data end, so a long-lookback setting is never compared over a shorter sample than a short one. SPY: 1994-04-06 to 2026-09-30 (32.4 years). Buy-and-hold is the same fund over the same window. A page needs a common window of at least 15 years containing whole calendar years 2008, 2020 and 2022. The backtester's own window (in the box at the end) starts at each setting's own first measured bar, so its figures differ slightly.
Metrics
The engine's own functions: Sharpe is the mean over the sample standard deviation of daily returns times the square root of 252, here in excess of the 3-month bill; CAGR is from bars over 252; maximum drawdown is on the compounded window. A trade is an entry. On the backtester's basis (cash at 0%, no risk-free rate) the same rules look better against buy-and-hold than they do after bills; both are shown.
Neighbourhood
The up to eight grid positions next to the famous setting, diagonals included. Settings with fewer than 5 trades over the window are not neighbours. The share of the Sharpe that neighbours keep is the median neighbour Sharpe over the famous setting's, computed only when the famous setting's Sharpe is at least 0.20; it is classed as the backtester's overfit badge is (robust at 70% or more, sensitive from 50%, fragile below).
Walk-forward
Rolling windows anchored to the data end: 10 years in sample, 2 out of sample, stepping 2 years; complete windows only (at least 4); in each in-sample window the setting with the highest Sharpe among those with at least 3 trades is chosen (ties go to the lowest grid index). The app's own walk-forward tool is not used here: it restarts the indicator inside each test slice.
Resampling
Paired circular moving-block bootstrap, 21-day blocks, 2,000 resamples, seeded from the reproduce hash so a regeneration on unchanged data is identical. It differs from the backtester's Monte Carlo panel, which reorders single days (every reordering ends at the same final value) or resamples single days (which destroys volatility clusters).
Verdict
One per ETF, first match wins: Trailed buy-and-hold (Sharpe at or below zero, or fewer than 25% of settings beat buy-and-hold's Sharpe while the famous one trails it by 0.10 or more); Sits on a spike (the famous setting beats buy-and-hold but its neighbours keep under 50% of its Sharpe); Held up in this test (Sharpe at least 0.10 above buy-and-hold's, at least 60% of settings above it, the walk-forward chain at or above buy-and-hold's out of sample, 80% of resamples, and the same gap with fills a day later and at 20 bps; at least 30 trades, and 10 entries by the walk-forward chain out of sample, otherwise Too few trades to call, or Held up only without frictions when only the frictions fail); Shallower drawdown, lower return (max drawdown shallower by 10 points or more with a lower CAGR); otherwise No reliable difference. The thresholds were fixed before the results were seen.
Generated
2026-10-13; engine 1.0.0. Every figure is computed and every sentence is rule-based over those figures; no language model is involved. Reproduce hash of the famous setting over the backtester's own window: eb3f5a7a3f722448.
Related
All robustness checks · SPY in the backtester · the ma crossover indicator

The golden cross on other ETFs: QQQ, TLT, GLD, EFA
Other rules on SPY: 200-day moving average rule, 12/26-day EMA crossover (the MACD line above zero), RSI(14) 30/70 rule

All robustness checks →

Historical simulation, not investment advice. Past results do not predict future results.