Does the MACD crossover on SPY beat buy and hold?
No: from Nov 13, 2006 to Nov 13, 2026, the rule “buy when MACD crosses above its signal line, sell when it crosses below” returned +186.8% on SPY after costs, while simply holding SPY returned +680.5%. It made 212 trades and was invested 50% of the time, with a worst drop of -24.7% against -55.2% for holding. Costs were modelled at 2 bp of slippage per side and no commission, and cash earned the 3-month Treasury bill rate while the rule was out of the market.
| The rule | Holding SPY | |
|---|---|---|
| Total return after costs | +186.8% | +680.5% |
| Return per year | +5.4% | +10.8% |
| Worst drop from a high | -24.7% | -55.2% |
| Time invested | 50% | 100% |
| Trades | 212 | 1 (buy once) |
| Sharpe ratio over T-bills | 0.38 | 0.54 |
Before you rely on it
- Data: 5,032 daily sessions of SPY from Twelve Data, Nov 13, 2006 to Nov 13, 2026, adjusted for splits and dividends. Computed Nov 14, 2026 with the estockes Reality Check engine.
- The rule is read on each day's close and trades at the next day's open, long only, with the whole account. Holding is a buy on the first day with no costs.
- At 10 bp of slippage per side, the rule returned +104.3%; before any costs it returned +212.2%.
- This is a historical simulation. It describes the past, does not predict the future, and is not advice.
Related questions
Why compare a rule with simply holding?
Holding SPY needs no decisions and no trades. A rule is only worth its effort and risk if it ends with more than that, after costs, over the same days.
Did the rule at least lose less in bad markets?
Yes. Its worst drop from a high was -24.7%, against -55.2% for holding SPY, mostly because it was in cash 50% of the time.
Did it work in the last two years?
From Nov 13, 2024 to Nov 13, 2026 the rule returned +9.3% after costs on 23 trades. Over the whole test, 5 of 5 equal four-year periods made money.
Can I run this test myself?
Not this exact rule yet. The free Reality Check tests RSI, moving average and Bollinger Band rules on the last 5 years without an account; MACD rules are not in its rule builder.