Trading rules tested on WMT: did any beat holding after costs?
Over the last 10 years on WMT (2016-11-30 to 2026-11-30), 0 of 42 popular trading rules ended ahead of simply holding WMT (+554.5%) after modelled costs. The closest was EMA 50 crosses EMA 200 at +391.3%; the furthest behind was RSI(2) above 90 at +2.9%. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
42 rules on WMT, closest to holding first
Together the 42 rules made 2896 trades on WMT; 12 of them had too few trades to judge on their own. On 24 of the 42 the rule's worst drop was shallower than holding's (-25.7%), usually because the rule was out of the market most of the time. Luck Test: could be luck on 5, looks like luck on 19, random timing did better on 6, too few trades on 12.
| Rule | Verdict | Trades | After costs | Vs holding | Luck Test |
|---|---|---|---|---|---|
| EMA 50 crosses EMA 200 | Not enough trades | 5 | +391.3% | 163.2 pts behind | too few trades |
| Exit at the death cross | Not enough trades | 7 | +364.3% | 190.2 pts behind | too few trades |
| Two down days in a row | Holding did better | 235 | +347.6% | 206.9 pts behind | looks like luck, beat 73% |
| EMA 20 crosses EMA 50 | Not enough trades | 20 | +200.5% | 354.0 pts behind | too few trades |
| MACD crosses zero | Holding did better | 40 | +199.7% | 354.8 pts behind | looks like luck, beat 53% |
| Golden cross (50-day over 200-day) | Not enough trades | 7 | +185.3% | 369.2 pts behind | too few trades |
| Price crosses its 200-day average | Holding did better | 40 | +172.7% | 381.8 pts behind | random timing did better, beat 0% |
| EMA 9 crosses EMA 21 | Holding did better | 55 | +170.3% | 384.2 pts behind | looks like luck, beat 24% |
| Price crosses its 100-day average | Holding did better | 53 | +162.5% | 392.0 pts behind | looks like luck, beat 5% |
| Price crosses its 150-day average | Holding did better | 53 | +160.4% | 394.1 pts behind | random timing did better, beat 1% |
| MACD crosses its signal line | Holding did better | 99 | +154.7% | 399.8 pts behind | looks like luck, beat 59% |
| EMA 8 crosses EMA 21 | Holding did better | 59 | +150.3% | 404.2 pts behind | looks like luck, beat 23% |
| 20-day average crosses the 50-day | Not enough trades | 27 | +121.3% | 433.2 pts behind | too few trades |
| Lower Bollinger band, exit at the middle | Holding did better | 38 | +114.9% | 439.6 pts behind | looks like luck, beat 76% |
| 10-day average crosses the 50-day | Holding did better | 30 | +111.8% | 442.7 pts behind | random timing did better, beat 3% |
| Price crosses its 50-day average | Holding did better | 89 | +110.3% | 444.2 pts behind | random timing did better, beat 0% |
| Price crosses its 10-day average | Holding did better | 204 | +104.4% | 450.1 pts behind | looks like luck, beat 16% |
| Up 10% in three months | Holding did better | 54 | +102.6% | 451.9 pts behind | looks like luck, beat 22% |
| Down 3% in a day | Holding did better | 30 | +98.5% | 456.0 pts behind | could be luck, beat 99% |
| Close below the lower Bollinger band | Holding did better | 43 | +92.2% | 462.3 pts behind | could be luck, beat 88% |
| Close above the upper Bollinger band | Holding did better | 51 | +86.8% | 467.7 pts behind | looks like luck, beat 33% |
| Down 5% in a week | Not enough trades | 29 | +83.8% | 470.7 pts behind | too few trades |
| 10% below the 200-day average | Not enough trades | 5 | +82.9% | 471.6 pts behind | too few trades |
| MACD crosses its signal line below zero | Holding did better | 44 | +81.8% | 472.7 pts behind | looks like luck, beat 57% |
| Three down days in a row | Holding did better | 121 | +76.6% | 477.9 pts behind | looks like luck, beat 36% |
| Down 2% in a day | Holding did better | 76 | +70.7% | 483.8 pts behind | could be luck, beat 86% |
| Price crosses its 20-day average | Only in the past | 146 | +68.8% | 485.8 pts behind | random timing did better, beat 2% |
| MACD cross above the 200-day average | Holding did better | 81 | +66.8% | 487.7 pts behind | looks like luck, beat 25% |
| RSI(2) below 5 | Holding did better | 79 | +66.3% | 488.2 pts behind | could be luck, beat 89% |
| RSI(14) below 30 | Not enough trades | 16 | +56.9% | 497.6 pts behind | too few trades |
| Three up days in a row | Only in the past | 166 | +51.7% | 502.9 pts behind | looks like luck, beat 13% |
| Five down days in a row | Not enough trades | 24 | +50.9% | 503.6 pts behind | too few trades |
| RSI(2) below 10, above the 200-day average | Holding did better | 83 | +50.5% | 504.1 pts behind | looks like luck, beat 35% |
| Three down days, above the 200-day average | Holding did better | 89 | +44.4% | 510.1 pts behind | looks like luck, beat 19% |
| Four down days in a row | Holding did better | 67 | +44.1% | 510.4 pts behind | looks like luck, beat 37% |
| Price crosses its 21-day EMA | Only in the past | 165 | +39.2% | 515.3 pts behind | random timing did better, beat 1% |
| RSI(14) below 20 | Not enough trades | 2 | +36.5% | 518.0 pts behind | too few trades |
| RSI(14) below 30, above the 200-day average | Not enough trades | 4 | +35.0% | 519.6 pts behind | too few trades |
| RSI(2) below 10 | Holding did better | 142 | +31.8% | 522.7 pts behind | could be luck, beat 92% |
| Down 10% in a month | Not enough trades | 8 | +28.8% | 525.7 pts behind | too few trades |
| RSI(14) above 70 | Only in the past | 79 | +27.9% | 526.7 pts behind | looks like luck, beat 13% |
| RSI(2) above 90 | Holding did better | 231 | +2.9% | 551.6 pts behind | looks like luck, beat 30% |
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 WMT: did any beat holding after costs?
Over the last 10 years on WMT (2016-11-30 to 2026-11-30), 0 of 42 popular trading rules ended ahead of simply holding WMT (+554.5%) after modelled costs. The closest was EMA 50 crosses EMA 200 at +391.3%; the furthest behind was RSI(2) above 90 at +2.9%. 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.