Close above the upper Bollinger band: does it work after costs?
On SPY, holding did better: +289.4% vs +59.4% for the rule after costs.
Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +59.4% after modelled costs, against +289.4% for simply holding SPY, across 42 trades. It ended ahead of holding on 3 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 BA (+153.2% against +22.5%, 130.7 pts ahead) and furthest from it on NVDA (+350.2% against +6,634%, 6,284 pts behind). It made 1398 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 5, looks like luck on 24, random timing did better on 1.
| Ticker | Verdict | Trades | After costs | Holding | Luck Test |
|---|---|---|---|---|---|
| BA | Only in the past | 36 | +153.2% | +22.5% | could be luck, beat 94% |
| DIS | Passed basic checks | 41 | +122.6% | +40.8% | could be luck, beat 94% |
| TLT | Only in the past | 45 | +21.8% | -9.5% | looks like luck, beat 78% |
| IWM | Holding did better | 46 | +41.4% | +135.6% | looks like luck, beat 48% |
| GLD | Holding did better | 46 | +79.4% | +197.2% | looks like luck, beat 64% |
| XLF | Holding did better | 45 | +39.6% | +203.6% | looks like luck, beat 23% |
| INTC | Lost money | 56 | -57.1% | +109.0% | looks like luck, beat 9% |
| DIA | Only in the past | 48 | +47.1% | +220.6% | looks like luck, beat 19% |
| XLV | Only in the past | 48 | +24.9% | +215.2% | looks like luck, beat 5% |
| XOM | Costs ate it | 50 | -4.8% | +186.8% | looks like luck, beat 8% |
| KO | Holding did better | 48 | +18.3% | +221.5% | looks like luck, beat 13% |
| XLE | Holding did better | 45 | +60.8% | +267.9% | looks like luck, beat 40% |
| SPY | Holding did better | 42 | +59.4% | +289.4% | looks like luck, beat 21% |
| NFLX | Holding did better | 49 | +117.7% | +426.3% | looks like luck, beat 33% |
| META | Only in the past | 46 | +108.5% | +440.1% | looks like luck, beat 45% |
| JPM | Holding did better | 44 | +32.1% | +421.7% | looks like luck, beat 27% |
| QQQ | Holding did better | 43 | +77.3% | +500.3% | looks like luck, beat 25% |
| V | Holding did better | 47 | +67.7% | +494.9% | looks like luck, beat 17% |
| WMT | Holding did better | 51 | +86.8% | +554.5% | looks like luck, beat 33% |
| COST | Holding did better | 48 | +236.3% | +774.0% | looks like luck, beat 66% |
| AMZN | Only in the past | 48 | +21.8% | +589.5% | looks like luck, beat 10% |
| XLK | Holding did better | 45 | +129.5% | +732.0% | looks like luck, beat 35% |
| GOOGL | Holding did better | 54 | +36.1% | +668.1% | looks like luck, beat 8% |
| MSFT | Holding did better | 49 | +117.3% | +806.1% | looks like luck, beat 18% |
| AAPL | Holding did better | 47 | +458.9% | +1,295% | could be luck, beat 83% |
| SMH | Holding did better | 46 | +182.8% | +1,288% | looks like luck, beat 47% |
| TSLA | Only in the past | 41 | +1,979% | +3,177% | could be luck, beat 94% |
| AVGO | Holding did better | 50 | +56.9% | +2,344% | random timing did better, beat 2% |
| AMD | Holding did better | 45 | +1,072% | +4,701% | could be luck, beat 88% |
| NVDA | Only in the past | 49 | +350.2% | +6,634% | looks like luck, beat 56% |
How the rule works
A breakout reading of Bollinger bands: the test enters at the next open after the close crosses above the upper band (two standard deviations over the 20-day average) and exits after the close falls back under the 20-day average.
Why costs matter
Band rules trade a few times a year per ticker and hold for days or weeks, so costs are modest per trade but paid on every one. The exit decides more than the entry: a fixed hold and an exit at the middle band can give very different results from the same signal.
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
- Close below the lower Bollinger band
- Lower Bollinger band, exit at the middle
- RSI(14) below 30
- RSI(2) below 10
- 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
Close above the upper Bollinger band: does this rule work?
Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +59.4% after modelled costs, against +289.4% for simply holding SPY, across 42 trades. It ended ahead of holding on 3 of the 30 tickers in the table. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.
Close above the upper Bollinger band: how does the rule work?
A breakout reading of Bollinger bands: the test enters at the next open after the close crosses above the upper band (two standard deviations over the 20-day average) and exits after the close falls back under the 20-day average.
Why do trading costs matter here?
Band rules trade a few times a year per ticker and hold for days or weeks, so costs are modest per trade but paid on every one. The exit decides more than the entry: a fixed hold and an exit at the middle band can give very different results from the same signal.
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.