Trading rules tested on COST: did any beat holding after costs?
Over the last 10 years on COST (2016-11-30 to 2026-11-30), 0 of 42 popular trading rules ended ahead of simply holding COST (+774.0%) after modelled costs. The closest was EMA 50 crosses EMA 200 at +398.3%; the furthest behind was Down 5% in a week at -1.8%. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
42 rules on COST, closest to holding first
Together the 42 rules made 2936 trades on COST; 11 of them had too few trades to judge on their own. On 37 of the 42 the rule's worst drop was shallower than holding's (-31.4%), usually because the rule was out of the market most of the time. Luck Test: could be luck on 4, looks like luck on 26, random timing did better on 1, too few trades on 11.
| Rule | Verdict | Trades | After costs | Vs holding | Luck Test |
|---|---|---|---|---|---|
| EMA 50 crosses EMA 200 | Not enough trades | 7 | +398.3% | 375.7 pts behind | too few trades |
| Exit at the death cross | Not enough trades | 7 | +391.1% | 382.9 pts behind | too few trades |
| Price crosses its 21-day EMA | Holding did better | 144 | +370.7% | 403.3 pts behind | looks like luck, beat 41% |
| EMA 9 crosses EMA 21 | Holding did better | 50 | +360.1% | 413.9 pts behind | looks like luck, beat 56% |
| Golden cross (50-day over 200-day) | Not enough trades | 8 | +336.6% | 437.4 pts behind | too few trades |
| MACD crosses its signal line below zero | Holding did better | 45 | +335.7% | 438.3 pts behind | could be luck, beat 99% |
| Price crosses its 150-day average | Holding did better | 36 | +332.0% | 442.0 pts behind | looks like luck, beat 18% |
| EMA 20 crosses EMA 50 | Not enough trades | 21 | +331.1% | 442.9 pts behind | too few trades |
| EMA 8 crosses EMA 21 | Holding did better | 54 | +326.7% | 447.3 pts behind | looks like luck, beat 46% |
| Price crosses its 20-day average | Holding did better | 139 | +308.2% | 465.8 pts behind | looks like luck, beat 49% |
| Price crosses its 100-day average | Holding did better | 51 | +294.0% | 480.0 pts behind | looks like luck, beat 34% |
| MACD crosses its signal line | Only in the past | 94 | +249.8% | 524.1 pts behind | could be luck, beat 85% |
| Close above the upper Bollinger band | Holding did better | 48 | +236.3% | 537.7 pts behind | looks like luck, beat 66% |
| Price crosses its 10-day average | Only in the past | 215 | +234.7% | 539.3 pts behind | looks like luck, beat 26% |
| MACD crosses zero | Holding did better | 41 | +232.9% | 541.0 pts behind | looks like luck, beat 30% |
| Price crosses its 200-day average | Only in the past | 48 | +232.7% | 541.3 pts behind | looks like luck, beat 17% |
| 10-day average crosses the 50-day | Holding did better | 35 | +204.0% | 570.0 pts behind | looks like luck, beat 12% |
| 20-day average crosses the 50-day | Not enough trades | 28 | +195.5% | 578.5 pts behind | too few trades |
| Price crosses its 50-day average | Holding did better | 91 | +177.2% | 596.8 pts behind | looks like luck, beat 10% |
| Two down days in a row | Holding did better | 233 | +155.7% | 618.2 pts behind | looks like luck, beat 43% |
| Down 2% in a day | Holding did better | 102 | +131.7% | 642.3 pts behind | could be luck, beat 90% |
| 10% below the 200-day average | Not enough trades | 6 | +108.7% | 665.3 pts behind | too few trades |
| MACD cross above the 200-day average | Only in the past | 73 | +106.7% | 667.3 pts behind | looks like luck, beat 49% |
| Three up days in a row | Holding did better | 177 | +95.5% | 678.5 pts behind | looks like luck, beat 49% |
| Four down days in a row | Holding did better | 63 | +80.3% | 693.7 pts behind | looks like luck, beat 76% |
| RSI(2) below 10 | Holding did better | 149 | +79.9% | 694.1 pts behind | looks like luck, beat 69% |
| Lower Bollinger band, exit at the middle | Holding did better | 32 | +78.0% | 696.0 pts behind | looks like luck, beat 65% |
| Up 10% in three months | Only in the past | 56 | +71.4% | 702.6 pts behind | looks like luck, beat 14% |
| RSI(14) below 20 | Not enough trades | 2 | +49.7% | 724.3 pts behind | too few trades |
| Three down days, above the 200-day average | Holding did better | 96 | +40.1% | 733.9 pts behind | looks like luck, beat 5% |
| Down 3% in a day | Holding did better | 37 | +37.3% | 736.7 pts behind | could be luck, beat 81% |
| RSI(2) below 10, above the 200-day average | Holding did better | 72 | +36.7% | 737.3 pts behind | looks like luck, beat 11% |
| Five down days in a row | Not enough trades | 29 | +34.9% | 739.1 pts behind | too few trades |
| Down 10% in a month | Not enough trades | 10 | +32.5% | 741.5 pts behind | too few trades |
| Three down days in a row | Holding did better | 129 | +31.5% | 742.4 pts behind | random timing did better, beat 4% |
| RSI(14) above 70 | Holding did better | 93 | +29.0% | 744.9 pts behind | looks like luck, beat 23% |
| RSI(14) below 30, above the 200-day average | Not enough trades | 4 | +27.7% | 746.2 pts behind | too few trades |
| Close below the lower Bollinger band | Only in the past | 36 | +27.4% | 746.5 pts behind | looks like luck, beat 27% |
| RSI(2) above 90 | Only in the past | 256 | +24.4% | 749.6 pts behind | looks like luck, beat 15% |
| RSI(14) below 30 | Not enough trades | 17 | +11.0% | 763.0 pts behind | too few trades |
| RSI(2) below 5 | Costs ate it | 70 | -0.8% | 774.8 pts behind | looks like luck, beat 7% |
| Down 5% in a week | Costs ate it | 32 | -1.8% | 775.8 pts behind | looks like luck, beat 10% |
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 COST: did any beat holding after costs?
Over the last 10 years on COST (2016-11-30 to 2026-11-30), 0 of 42 popular trading rules ended ahead of simply holding COST (+774.0%) after modelled costs. The closest was EMA 50 crosses EMA 200 at +398.3%; the furthest behind was Down 5% in a week at -1.8%. 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.