Golden cross (50-day over 200-day): does it work after costs?
Over the last 10 years on SPY (2016-11-28 to 2026-11-27), this rule made +117.4% after modelled costs, against +286.8% for simply holding SPY, across 4 trades. It ended ahead of holding on 0 of the 6 tickers in the table. Run on 2026-11-30 with the estockes strategy test; a historical simulation, not advice.
Test this rule on SPYThe rule on 6 liquid tickers, closest to holding first
Across the 6 tickers with a result, the rule came closest to holding on IWM (-1.8% against +134.5%, 136.3 pts behind) and furthest from it on NVDA (+3,197% against +6,408%, 3,211 pts behind). It made 28 trades in all; 6 of the 6 runs had fewer than 30 trades, too few to judge on their own. Luck Test: too few trades on 6.
| Ticker | Verdict | Trades | After costs | Holding | Luck Test |
|---|---|---|---|---|---|
| IWM | Not enough trades | 7 | -1.8% | +134.5% | too few trades |
| SPY | Not enough trades | 4 | +117.4% | +286.8% | too few trades |
| QQQ | Not enough trades | 4 | +282.5% | +488.6% | too few trades |
| MSFT | Not enough trades | 5 | +296.0% | +811.4% | too few trades |
| AAPL | Not enough trades | 5 | +328.1% | +1,299% | too few trades |
| NVDA | Not enough trades | 3 | +3,197% | +6,408% | too few trades |
How the rule works
A golden cross is the day the 50-day moving average of the closing price rises above the 200-day average. The test enters at the next open after a golden cross and stays in until the death cross, when the 50-day average falls back under the 200-day.
Why costs matter
A golden cross happens only a few times in ten years, so trading costs barely move the result. What decides it is the late entry and late exit: both averages are slow, so the rule tends to miss the first part of a rise and give back part of it before leaving.
Every result here is after modelled costs: the engine charges commission and slippage on each entry and exit, set by the ticker's liquidity (on SPY: 0 bp commission, 2 bp slippage per side), and fills at the next session's open, never at the signal's close. Holding is measured on the same total-return prices with no costs.
Limits of this test
- It is a historical simulation of 10 years of daily data, not a forecast and not advice. A rule that did well in this window can do badly in the next.
- Survivorship: only tickers listed today can be tested, so companies that failed or were delisted are missing, which flatters any rule tested on stocks.
- The recent window matters: ten years that include one long rally favour holding, and a different decade could rank the rule differently. Run the test on another window to see.
- Fixed settings for every ticker. Changing the period or the exit changes the result, and trying many settings until one looks good is how false results are made. That is also why the Luck Test bar rises with the number of results shown.
Related rules
- Exit at the death cross
- EMA 50 crosses EMA 200
- Price crosses its 200-day average
- EMA 9 crosses EMA 21
- All tested rules
- Strategies we tested
Every rule on one ticker
Longer single-ticker studies
Questions
Golden cross (50-day over 200-day): does this rule work?
Over the last 10 years on SPY (2016-11-28 to 2026-11-27), this rule made +117.4% after modelled costs, against +286.8% for simply holding SPY, across 4 trades. It ended ahead of holding on 0 of the 6 tickers in the table. Run on 2026-11-30 with the estockes strategy test; a historical simulation, not advice.
Golden cross (50-day over 200-day): how does the rule work?
A golden cross is the day the 50-day moving average of the closing price rises above the 200-day average. The test enters at the next open after a golden cross and stays in until the death cross, when the 50-day average falls back under the 200-day.
Why do trading costs matter here?
A golden cross happens only a few times in ten years, so trading costs barely move the result. What decides it is the late entry and late exit: both averages are slow, so the rule tends to miss the first part of a rise and give back part of it before leaving.
How was it tested?
Each number comes from one run of the estockes strategy test (public API), fetched on 2026-11-30: daily bars, signal on the close, fill at the next open, costs on every fill, idle cash earning the 3-month Treasury bill rate, compared with holding the same ticker over the same window.