Trading rules tested on XLE: did any beat holding after costs?
Over the last 10 years on XLE (2016-11-30 to 2026-11-30), 3 of 42 popular trading rules ended ahead of simply holding XLE (+267.9%) after modelled costs. The closest was MACD crosses its signal line below zero at +309.5%; the furthest behind was Two down days in a row at -6.1%. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
42 rules on XLE, closest to holding first
Together the 42 rules made 3132 trades on XLE; 9 of them had too few trades to judge on their own. On 41 of the 42 the rule's worst drop was shallower than holding's (-64.2%), usually because the rule was out of the market most of the time. Luck Test: could be luck on 8, looks like luck on 25, too few trades on 9.
| Rule | Verdict | Trades | After costs | Vs holding | Luck Test |
|---|---|---|---|---|---|
| MACD crosses its signal line below zero | Passed basic checks | 57 | +309.5% | 41.5 pts ahead | could be luck, beat 87% |
| EMA 50 crosses EMA 200 | Not enough trades | 5 | +292.4% | 24.5 pts ahead | too few trades |
| MACD crosses its signal line | Passed basic checks | 99 | +281.7% | 13.8 pts ahead | looks like luck, beat 75% |
| Price crosses its 200-day average | Holding did better | 41 | +197.2% | 70.8 pts behind | looks like luck, beat 54% |
| Price crosses its 10-day average | Holding did better | 207 | +192.0% | 75.9 pts behind | looks like luck, beat 64% |
| Three up days in a row | Holding did better | 162 | +178.4% | 89.5 pts behind | could be luck, beat 93% |
| Down 2% in a day | Only in the past | 139 | +177.6% | 90.4 pts behind | looks like luck, beat 61% |
| Price crosses its 20-day average | Holding did better | 148 | +157.5% | 110.4 pts behind | looks like luck, beat 63% |
| Price crosses its 21-day EMA | Holding did better | 158 | +147.5% | 120.4 pts behind | looks like luck, beat 63% |
| MACD cross above the 200-day average | Holding did better | 70 | +136.5% | 131.5 pts behind | looks like luck, beat 48% |
| Four down days in a row | Holding did better | 65 | +123.3% | 144.6 pts behind | could be luck, beat 95% |
| Golden cross (50-day over 200-day) | Not enough trades | 6 | +120.7% | 147.3 pts behind | too few trades |
| Exit at the death cross | Not enough trades | 7 | +115.3% | 152.6 pts behind | too few trades |
| Three down days, above the 200-day average | Holding did better | 89 | +111.4% | 156.5 pts behind | could be luck, beat 96% |
| Lower Bollinger band, exit at the middle | Holding did better | 47 | +109.6% | 158.3 pts behind | could be luck, beat 89% |
| Three down days in a row | Holding did better | 135 | +96.4% | 171.5 pts behind | could be luck, beat 88% |
| Five down days in a row | Holding did better | 36 | +90.8% | 177.1 pts behind | could be luck, beat 92% |
| Down 3% in a day | Only in the past | 63 | +84.5% | 183.5 pts behind | looks like luck, beat 67% |
| RSI(2) above 90 | Holding did better | 226 | +84.1% | 183.9 pts behind | could be luck, beat 82% |
| EMA 9 crosses EMA 21 | Only in the past | 58 | +77.6% | 190.4 pts behind | looks like luck, beat 53% |
| EMA 8 crosses EMA 21 | Only in the past | 57 | +74.9% | 193.0 pts behind | looks like luck, beat 47% |
| Close above the upper Bollinger band | Holding did better | 45 | +60.8% | 207.2 pts behind | looks like luck, beat 40% |
| Down 10% in a month | Not enough trades | 18 | +57.7% | 210.3 pts behind | too few trades |
| Price crosses its 100-day average | Holding did better | 72 | +57.5% | 210.4 pts behind | looks like luck, beat 21% |
| 10-day average crosses the 50-day | Only in the past | 38 | +56.8% | 211.1 pts behind | looks like luck, beat 36% |
| Price crosses its 150-day average | Only in the past | 62 | +56.5% | 211.5 pts behind | looks like luck, beat 8% |
| MACD crosses zero | Only in the past | 51 | +54.2% | 213.7 pts behind | looks like luck, beat 30% |
| EMA 20 crosses EMA 50 | Not enough trades | 24 | +51.4% | 216.5 pts behind | too few trades |
| Price crosses its 50-day average | Only in the past | 95 | +41.5% | 226.4 pts behind | looks like luck, beat 16% |
| Up 10% in three months | Only in the past | 51 | +37.3% | 230.6 pts behind | looks like luck, beat 23% |
| RSI(14) below 30, above the 200-day average | Not enough trades | 3 | +37.2% | 230.8 pts behind | too few trades |
| RSI(14) below 20 | Not enough trades | 6 | +34.9% | 233.1 pts behind | too few trades |
| RSI(14) above 70 | Holding did better | 63 | +20.6% | 247.3 pts behind | looks like luck, beat 41% |
| RSI(14) below 30 | Not enough trades | 21 | +20.4% | 247.6 pts behind | too few trades |
| RSI(2) below 10 | Only in the past | 162 | +18.2% | 249.7 pts behind | looks like luck, beat 46% |
| 20-day average crosses the 50-day | Holding did better | 33 | +16.9% | 251.0 pts behind | looks like luck, beat 7% |
| 10% below the 200-day average | Not enough trades | 14 | +14.8% | 253.1 pts behind | too few trades |
| RSI(2) below 10, above the 200-day average | Only in the past | 78 | +14.6% | 253.3 pts behind | looks like luck, beat 63% |
| Close below the lower Bollinger band | Holding did better | 51 | +12.9% | 255.0 pts behind | looks like luck, beat 67% |
| RSI(2) below 5 | Holding did better | 84 | +2.6% | 265.4 pts behind | looks like luck, beat 12% |
| Down 5% in a week | Costs ate it | 64 | -1.5% | 269.5 pts behind | looks like luck, beat 35% |
| Two down days in a row | Costs ate it | 222 | -6.1% | 274.1 pts behind | looks like luck, beat 50% |
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.
Other tickers
Questions
Trading rules tested on XLE: did any beat holding after costs?
Over the last 10 years on XLE (2016-11-30 to 2026-11-30), 3 of 42 popular trading rules ended ahead of simply holding XLE (+267.9%) after modelled costs. The closest was MACD crosses its signal line below zero at +309.5%; the furthest behind was Two down days in a row at -6.1%. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
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.