MACD cross above the 200-day average: does it work after costs?
On SPY, holding did better: +289.4% vs +45.8% for the rule after costs.
Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +45.8% after modelled costs, against +289.4% for simply holding SPY, across 93 trades. It ended ahead of holding on 2 of the 30 tickers in the table. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
Test this rule on SPYThe rule on 30 liquid tickers, closest to holding first
Across the 30 tickers with a result, the rule came closest to holding on TLT (+16.1% against -9.5%, 25.6 pts ahead) and furthest from it on NVDA (+510.1% against +6,634%, 6,124 pts behind). It made 2257 trades in all; 0 of the 30 runs had fewer than 30 trades, too few to judge on their own. Luck Test: could be luck on 3, looks like luck on 27.
| Ticker | Verdict | Trades | After costs | Holding | Luck Test |
|---|---|---|---|---|---|
| TLT | Only in the past | 44 | +16.1% | -9.5% | looks like luck, beat 56% |
| INTC | Passed basic checks | 61 | +134.4% | +109.0% | could be luck, beat 86% |
| BA | Lost money | 46 | -17.5% | +22.5% | looks like luck, beat 17% |
| DIS | Lost money | 61 | -7.7% | +40.8% | looks like luck, beat 30% |
| IWM | Holding did better | 76 | +63.9% | +135.6% | looks like luck, beat 59% |
| XOM | Holding did better | 58 | +81.0% | +186.8% | looks like luck, beat 70% |
| XLF | Holding did better | 72 | +78.9% | +203.6% | looks like luck, beat 48% |
| XLE | Holding did better | 70 | +136.5% | +267.9% | looks like luck, beat 48% |
| GLD | Holding did better | 72 | +48.7% | +197.2% | looks like luck, beat 30% |
| XLV | Holding did better | 76 | +40.6% | +215.2% | looks like luck, beat 12% |
| NFLX | Holding did better | 73 | +243.9% | +426.3% | looks like luck, beat 73% |
| KO | Holding did better | 83 | +35.3% | +221.5% | looks like luck, beat 13% |
| DIA | Only in the past | 94 | +14.3% | +220.6% | looks like luck, beat 14% |
| SPY | Only in the past | 93 | +45.8% | +289.4% | looks like luck, beat 12% |
| JPM | Holding did better | 74 | +140.7% | +421.7% | could be luck, beat 82% |
| META | Only in the past | 70 | +27.4% | +440.1% | looks like luck, beat 16% |
| QQQ | Only in the past | 81 | +70.8% | +500.3% | looks like luck, beat 15% |
| V | Only in the past | 91 | +23.0% | +494.9% | looks like luck, beat 7% |
| WMT | Holding did better | 81 | +66.8% | +554.5% | looks like luck, beat 25% |
| AMZN | Only in the past | 79 | +44.0% | +589.5% | looks like luck, beat 12% |
| GOOGL | Holding did better | 84 | +102.1% | +668.1% | looks like luck, beat 30% |
| COST | Only in the past | 73 | +106.7% | +774.0% | looks like luck, beat 49% |
| XLK | Only in the past | 90 | +50.1% | +732.0% | looks like luck, beat 11% |
| MSFT | Only in the past | 86 | +67.4% | +806.1% | looks like luck, beat 10% |
| AAPL | Holding did better | 73 | +419.4% | +1,295% | could be luck, beat 82% |
| SMH | Holding did better | 85 | +204.8% | +1,288% | looks like luck, beat 51% |
| AVGO | Only in the past | 91 | +73.3% | +2,344% | looks like luck, beat 5% |
| TSLA | Only in the past | 64 | +314.9% | +3,177% | looks like luck, beat 76% |
| AMD | Holding did better | 73 | +600.1% | +4,701% | looks like luck, beat 78% |
| NVDA | Only in the past | 83 | +510.1% | +6,634% | looks like luck, beat 57% |
How the rule works
The MACD signal-line cross with a long-term trend filter: the test enters at the next open after MACD crosses above its signal line while the close is above its 200-day average, and exits when MACD crosses back below its signal line.
Why costs matter
MACD crosses come every few weeks, and many reverse within days, so each reversal pays costs twice. A filter (below zero, above the 200-day average) cuts the number of trades, which cuts costs, but also skips some of the moves.
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
- MACD crosses its signal line
- MACD crosses zero
- MACD crosses its signal line below zero
- RSI(14) below 30
- All tested rules
- The scoreboard: 90 of 1,260 tests ended ahead of holding, and why
- Strategies we tested
Every rule on one ticker
Questions
MACD cross above the 200-day average: does this rule work?
Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +45.8% after modelled costs, against +289.4% for simply holding SPY, across 93 trades. It ended ahead of holding on 2 of the 30 tickers in the table. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
MACD cross above the 200-day average: how does the rule work?
The MACD signal-line cross with a long-term trend filter: the test enters at the next open after MACD crosses above its signal line while the close is above its 200-day average, and exits when MACD crosses back below its signal line.
Why do trading costs matter here?
MACD crosses come every few weeks, and many reverse within days, so each reversal pays costs twice. A filter (below zero, above the 200-day average) cuts the number of trades, which cuts costs, but also skips some of the moves.
How was it tested?
Each number comes from one run of the estockes strategy test (public API), fetched on 2026-12-01: 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.