Price crosses its 100-day average: does it work after costs?
On SPY, holding did better: +289.4% vs +165.7% for the rule after costs.
Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +165.7% after modelled costs, against +289.4% for simply holding SPY, across 41 trades. It ended ahead of holding on 1 of the 30 tickers in the table. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
Test this rule on SPYThe rule on 30 liquid tickers, closest to holding first
Across the 30 tickers with a result, the rule came closest to holding on TLT (-7.2% against -9.5%, 2.3 pts ahead) and furthest from it on AMD (+549.7% against +4,701%, 4,151 pts behind). It made 1862 trades in all; 0 of the 30 runs had fewer than 30 trades, too few to judge on their own. Luck Test: could be luck on 1, looks like luck on 24, random timing did better on 5.
| Ticker | Verdict | Trades | After costs | Holding | Luck Test |
|---|---|---|---|---|---|
| TLT | Costs ate it | 75 | -7.2% | -9.5% | looks like luck, beat 52% |
| INTC | Holding did better | 69 | +65.5% | +109.0% | looks like luck, beat 37% |
| DIS | Lost money | 63 | -7.5% | +40.8% | looks like luck, beat 51% |
| GLD | Holding did better | 53 | +135.5% | +197.2% | looks like luck, beat 65% |
| NFLX | Only in the past | 57 | +352.9% | +426.3% | looks like luck, beat 78% |
| IWM | Holding did better | 69 | +60.6% | +135.6% | looks like luck, beat 25% |
| META | Only in the past | 49 | +347.4% | +440.1% | could be luck, beat 81% |
| BA | Lost money | 72 | -72.9% | +22.5% | random timing did better, beat 1% |
| SPY | Holding did better | 41 | +165.7% | +289.4% | looks like luck, beat 57% |
| XOM | Only in the past | 71 | +56.3% | +186.8% | looks like luck, beat 27% |
| KO | Holding did better | 60 | +63.1% | +221.5% | looks like luck, beat 9% |
| XLF | Only in the past | 65 | +41.6% | +203.6% | looks like luck, beat 7% |
| XLV | Holding did better | 71 | +27.8% | +215.2% | random timing did better, beat 0% |
| DIA | Holding did better | 66 | +29.9% | +220.6% | random timing did better, beat 1% |
| XLE | Holding did better | 72 | +57.5% | +267.9% | looks like luck, beat 21% |
| QQQ | Holding did better | 53 | +201.8% | +500.3% | looks like luck, beat 36% |
| JPM | Only in the past | 69 | +68.6% | +421.7% | looks like luck, beat 10% |
| WMT | Holding did better | 53 | +162.5% | +554.5% | looks like luck, beat 5% |
| GOOGL | Holding did better | 52 | +214.0% | +668.1% | looks like luck, beat 29% |
| V | Holding did better | 72 | +29.2% | +494.9% | random timing did better, beat 0% |
| XLK | Holding did better | 55 | +264.4% | +732.0% | looks like luck, beat 29% |
| COST | Holding did better | 51 | +294.0% | +774.0% | looks like luck, beat 34% |
| AMZN | Only in the past | 76 | +41.3% | +589.5% | random timing did better, beat 2% |
| MSFT | Holding did better | 58 | +144.5% | +806.1% | looks like luck, beat 23% |
| AAPL | Holding did better | 54 | +402.4% | +1,295% | looks like luck, beat 12% |
| SMH | Holding did better | 64 | +300.5% | +1,288% | looks like luck, beat 50% |
| AVGO | Holding did better | 59 | +469.1% | +2,344% | looks like luck, beat 21% |
| TSLA | Only in the past | 76 | +426.9% | +3,177% | looks like luck, beat 28% |
| NVDA | Holding did better | 61 | +3,541% | +6,634% | looks like luck, beat 78% |
| AMD | Holding did better | 56 | +549.7% | +4,701% | looks like luck, beat 35% |
How the rule works
The test enters at the next open after the close crosses above its 100-day moving average and exits after the close crosses back below. It sits between the 50-day and the 200-day trend lines.
Why costs matter
Price-and-average rules are in while the close is above the line. A short average is crossed often, so whipsaws and their costs add up; a long one is crossed rarely, and the rule then gives up part of each rise while it waits to come back in.
Every result here is after modelled costs: the engine charges commission and slippage on each entry and exit, set by the ticker's liquidity (on SPY: 0 bp commission, 2 bp slippage per side), and fills at the next session's open, never at the signal's close. Holding is measured on the same total-return prices with no costs.
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.
Related rules
- Exit at the death cross
- Price crosses its 20-day average
- Price crosses its 50-day average
- Price crosses its 200-day average
- All tested rules
- The scoreboard: 90 of 1,260 tests ended ahead of holding, and why
- Strategies we tested
Every rule on one ticker
Questions
Price crosses its 100-day average: does this rule work?
Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +165.7% after modelled costs, against +289.4% for simply holding SPY, across 41 trades. It ended ahead of holding on 1 of the 30 tickers in the table. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
Price crosses its 100-day average: how does the rule work?
The test enters at the next open after the close crosses above its 100-day moving average and exits after the close crosses back below. It sits between the 50-day and the 200-day trend lines.
Why do trading costs matter here?
Price-and-average rules are in while the close is above the line. A short average is crossed often, so whipsaws and their costs add up; a long one is crossed rarely, and the rule then gives up part of each rise while it waits to come back in.
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.