MACD crosses its signal line below zero: does it work after costs?
On SPY, holding did better: +289.4% vs +89.1% for the rule after costs.
Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +89.1% after modelled costs, against +289.4% for simply holding SPY, across 33 trades. It ended ahead of holding on 4 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 INTC (+303.5% against +109.0%, 194.5 pts ahead) and furthest from it on NVDA (+340.8% against +6,634%, 6,293 pts behind). It made 1480 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 10, looks like luck on 20.
| Ticker | Verdict | Trades | After costs | Holding | Luck Test |
|---|---|---|---|---|---|
| INTC | Passed basic checks | 59 | +303.5% | +109.0% | could be luck, beat 89% |
| BA | Passed basic checks | 56 | +120.2% | +22.5% | looks like luck, beat 66% |
| XLE | Passed basic checks | 57 | +309.5% | +267.9% | could be luck, beat 87% |
| TLT | Passed basic checks | 67 | +1.2% | -9.5% | looks like luck, beat 38% |
| IWM | Holding did better | 46 | +131.8% | +135.6% | could be luck, beat 90% |
| KO | Holding did better | 42 | +217.1% | +221.5% | could be luck, beat 99% |
| DIS | Only in the past | 66 | +1.3% | +40.8% | looks like luck, beat 40% |
| XOM | Only in the past | 55 | +117.5% | +186.8% | could be luck, beat 82% |
| DIA | Holding did better | 41 | +93.5% | +220.6% | could be luck, beat 93% |
| XLV | Holding did better | 48 | +85.2% | +215.2% | looks like luck, beat 74% |
| GLD | Holding did better | 58 | +47.0% | +197.2% | looks like luck, beat 39% |
| XLF | Holding did better | 50 | +52.2% | +203.6% | looks like luck, beat 42% |
| SPY | Holding did better | 33 | +89.1% | +289.4% | could be luck, beat 84% |
| NFLX | Only in the past | 50 | +116.0% | +426.3% | looks like luck, beat 56% |
| QQQ | Holding did better | 38 | +122.1% | +500.3% | looks like luck, beat 71% |
| JPM | Holding did better | 46 | +31.3% | +421.7% | looks like luck, beat 29% |
| V | Only in the past | 45 | +64.0% | +494.9% | looks like luck, beat 46% |
| COST | Holding did better | 45 | +335.7% | +774.0% | could be luck, beat 99% |
| META | Lost money | 51 | -6.2% | +440.1% | looks like luck, beat 8% |
| WMT | Holding did better | 44 | +81.8% | +554.5% | looks like luck, beat 57% |
| AMZN | Holding did better | 50 | +36.6% | +589.5% | looks like luck, beat 26% |
| XLK | Holding did better | 45 | +144.9% | +732.0% | looks like luck, beat 72% |
| GOOGL | Holding did better | 48 | +57.1% | +668.1% | looks like luck, beat 28% |
| MSFT | Holding did better | 40 | +45.2% | +806.1% | looks like luck, beat 5% |
| SMH | Holding did better | 48 | +392.3% | +1,288% | could be luck, beat 84% |
| AAPL | Holding did better | 40 | +251.0% | +1,295% | looks like luck, beat 65% |
| AVGO | Holding did better | 49 | +138.3% | +2,344% | looks like luck, beat 21% |
| TSLA | Holding did better | 57 | +475.3% | +3,177% | looks like luck, beat 73% |
| AMD | Holding did better | 58 | +1,222% | +4,701% | could be luck, beat 80% |
| NVDA | Only in the past | 48 | +340.8% | +6,634% | looks like luck, beat 57% |
How the rule works
A popular filter on the MACD cross: the test enters at the next open only when MACD crosses above its signal line while MACD itself is still under zero, an upturn after a fall, 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 cross above the 200-day average
- 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 crosses its signal line below zero: does this rule work?
Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +89.1% after modelled costs, against +289.4% for simply holding SPY, across 33 trades. It ended ahead of holding on 4 of the 30 tickers in the table. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
MACD crosses its signal line below zero: how does the rule work?
A popular filter on the MACD cross: the test enters at the next open only when MACD crosses above its signal line while MACD itself is still under zero, an upturn after a fall, 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.