Trading rules tested on XOM: did any beat holding after costs?
Over the last 10 years on XOM (2016-11-30 to 2026-11-30), 1 of 42 popular trading rules ended ahead of simply holding XOM (+186.8%) after modelled costs. The closest was EMA 9 crosses EMA 21 at +196.3%; the furthest behind was RSI(2) below 5 at -12.1%. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
42 rules on XOM, closest to holding first
Together the 42 rules made 3075 trades on XOM; 10 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 (-61.0%), usually because the rule was out of the market most of the time. Luck Test: could be luck on 7, looks like luck on 25, too few trades on 10.
| Rule | Verdict | Trades | After costs | Vs holding | Luck Test |
|---|---|---|---|---|---|
| EMA 9 crosses EMA 21 | Passed basic checks | 48 | +196.3% | 9.5 pts ahead | looks like luck, beat 75% |
| Price crosses its 200-day average | Only in the past | 42 | +177.2% | 9.6 pts behind | looks like luck, beat 65% |
| Up 10% in three months | Only in the past | 47 | +156.7% | 30.2 pts behind | could be luck, beat 86% |
| EMA 50 crosses EMA 200 | Not enough trades | 8 | +154.0% | 32.9 pts behind | too few trades |
| MACD crosses zero | Holding did better | 40 | +147.4% | 39.4 pts behind | looks like luck, beat 67% |
| 10-day average crosses the 50-day | Holding did better | 31 | +147.2% | 39.6 pts behind | looks like luck, beat 70% |
| Price crosses its 150-day average | Holding did better | 50 | +145.0% | 41.8 pts behind | looks like luck, beat 50% |
| EMA 8 crosses EMA 21 | Holding did better | 55 | +138.9% | 47.9 pts behind | looks like luck, beat 68% |
| Golden cross (50-day over 200-day) | Not enough trades | 8 | +128.1% | 58.7 pts behind | too few trades |
| Three up days in a row | Holding did better | 154 | +118.5% | 68.3 pts behind | could be luck, beat 88% |
| MACD crosses its signal line below zero | Only in the past | 55 | +117.5% | 69.3 pts behind | could be luck, beat 82% |
| Price crosses its 50-day average | Only in the past | 92 | +101.6% | 85.2 pts behind | looks like luck, beat 46% |
| EMA 20 crosses EMA 50 | Not enough trades | 25 | +97.7% | 89.1 pts behind | too few trades |
| Exit at the death cross | Not enough trades | 8 | +97.0% | 89.8 pts behind | too few trades |
| MACD crosses its signal line | Holding did better | 95 | +95.9% | 90.9 pts behind | looks like luck, beat 68% |
| Three down days, above the 200-day average | Holding did better | 75 | +84.2% | 102.6 pts behind | could be luck, beat 92% |
| MACD cross above the 200-day average | Holding did better | 58 | +81.0% | 105.8 pts behind | looks like luck, beat 70% |
| Down 3% in a day | Only in the past | 68 | +71.6% | 115.2 pts behind | could be luck, beat 89% |
| Price crosses its 21-day EMA | Only in the past | 162 | +67.7% | 119.2 pts behind | looks like luck, beat 27% |
| RSI(14) below 30, above the 200-day average | Not enough trades | 4 | +64.2% | 122.6 pts behind | too few trades |
| Price crosses its 100-day average | Only in the past | 71 | +56.3% | 130.5 pts behind | looks like luck, beat 27% |
| 20-day average crosses the 50-day | Not enough trades | 28 | +55.6% | 131.2 pts behind | too few trades |
| Three down days in a row | Holding did better | 141 | +54.8% | 132.0 pts behind | looks like luck, beat 51% |
| Four down days in a row | Holding did better | 74 | +54.9% | 132.0 pts behind | could be luck, beat 89% |
| Five down days in a row | Holding did better | 39 | +53.5% | 133.4 pts behind | looks like luck, beat 31% |
| Down 2% in a day | Holding did better | 135 | +43.2% | 143.7 pts behind | looks like luck, beat 72% |
| Lower Bollinger band, exit at the middle | Holding did better | 38 | +40.9% | 146.0 pts behind | looks like luck, beat 22% |
| Price crosses its 10-day average | Holding did better | 222 | +39.6% | 147.2 pts behind | looks like luck, beat 31% |
| Price crosses its 20-day average | Only in the past | 152 | +37.4% | 149.5 pts behind | looks like luck, beat 31% |
| Close below the lower Bollinger band | Holding did better | 48 | +33.6% | 153.2 pts behind | looks like luck, beat 50% |
| RSI(2) below 10, above the 200-day average | Holding did better | 65 | +30.4% | 156.4 pts behind | could be luck, beat 92% |
| Down 10% in a month | Not enough trades | 21 | +29.1% | 157.7 pts behind | too few trades |
| Two down days in a row | Holding did better | 243 | +27.1% | 159.7 pts behind | looks like luck, beat 69% |
| Down 5% in a week | Holding did better | 68 | +26.8% | 160.0 pts behind | looks like luck, beat 28% |
| RSI(14) above 70 | Only in the past | 47 | +9.3% | 177.5 pts behind | looks like luck, beat 60% |
| RSI(14) below 30 | Not enough trades | 26 | +9.0% | 177.9 pts behind | too few trades |
| RSI(14) below 20 | Not enough trades | 4 | +7.6% | 179.2 pts behind | too few trades |
| RSI(2) above 90 | Only in the past | 213 | +5.9% | 180.9 pts behind | looks like luck, beat 25% |
| RSI(2) below 10 | Holding did better | 164 | +1.5% | 185.3 pts behind | looks like luck, beat 73% |
| 10% below the 200-day average | Not enough trades | 12 | +1.1% | 185.7 pts behind | too few trades |
| Close above the upper Bollinger band | Costs ate it | 50 | -4.8% | 191.6 pts behind | looks like luck, beat 8% |
| RSI(2) below 5 | Lost money | 89 | -12.1% | 198.9 pts behind | looks like luck, beat 7% |
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 XOM: did any beat holding after costs?
Over the last 10 years on XOM (2016-11-30 to 2026-11-30), 1 of 42 popular trading rules ended ahead of simply holding XOM (+186.8%) after modelled costs. The closest was EMA 9 crosses EMA 21 at +196.3%; the furthest behind was RSI(2) below 5 at -12.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.