Volatility indicators

Bollinger Bands: Formula, Settings, and What Closes Outside the Bands Did on Real Prices

How Bollinger Bands are built, why about 90% of prices stay inside rather than 95%, every close outside the bands on a recent S&P 500 ETF chart, and what fading those closes did over decades on four markets.

· Founder of PatternsWizard
Checked 9 min read
Bollinger Bands(20, 2) on S&P 500 ETF, dividend-adjusted prices, daily, August 5, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
On this page
  1. How Bollinger Bands are calculated
  2. How much of the price stays inside the bands?
  3. How to read the bands
  4. The bands on a real chart
  5. What fading the bands did over the full history
  6. Does it work?
  7. Tested on our bench
  8. Frequently asked questions

Bollinger Bands put a 20-day moving average in the middle of the chart and two bands two standard deviations above and below it. When prices swing widely the bands spread apart; when the market goes quiet they pinch together. A common reading treats a touch of the upper band as "expensive" and of the lower band as "cheap", but John Bollinger's own rules say a touch is not a signal, and closes outside the bands are initially continuation signals. Below: the formula, how much of the price really stays inside, every close outside the bands on a recent S&P 500 ETF chart with what followed, and what fading those closes did over the full history of four markets.

Bollinger Bands(20, 2) on the daily S&P 500 ETF

Bollinger Bands(20, 2) on S&P 500 ETF, dividend-adjusted prices, daily, May 8, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Middle band, SMA(20) (solid line)
  • Upper and lower bands, ±2 standard deviations (dashed line)
  • Shaded area between the bands
Bollinger Bands(20, 2) on S&P 500 ETF, dividend-adjusted prices, daily, May 8, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

How Bollinger Bands are calculated

Bollinger Bands were developed by John Bollinger, and the name is his registered trademark. StockCharts gives the standard calculation: the middle band is a 20-day simple moving average of the close, and the upper and lower bands are that average plus and minus two 20-day standard deviations of the close.

Bollinger's rules describe 20 periods and two standard deviations as defaults, not as the right setting for every market. For consistent containment, he advises raising the multiplier when the average is lengthened and lowering it when it is shortened: 2.1 at 50 periods, 1.9 at 10 periods.

How much of the price stays inside the bands?

If daily closes followed a normal distribution, two standard deviations would hold about 95% of them. Bollinger's rules say prices are not normal and the samples are too small for statistics, and that in practice he typically finds about 90% inside with the default parameters. We counted every daily close against the three settings on six series, over each series' full history.

Market, fromInside 20 / 2Inside 10 / 1.9Inside 50 / 2.1
S&P 500 ETF, 199389.3%89.8%91.0%
Nasdaq 100 ETF, 199989.1%89.9%90.4%
Gold ETF, 200487.3%88.0%87.3%
EUR/USD, 201287.9%88.7%88.4%
Apple, 198687.6%87.6%87.9%
Bitcoin, 201787.8%87.6%86.4%

Between 86.4% and 91.0% of closes were inside the bands, never 95%. The chart splits the closes outside the default bands by side.

Share of daily closes outside Bollinger Bands(20, 2), by side

Share of daily closes outside Bollinger Bands(20, 2), by side. S&P 500 ETF, from 1993: Above the upper band 5.6%, Below the lower band 5.1%; Nasdaq 100 ETF, from 1999: Above the upper band 5.9%, Below the lower band 4.9%; Gold ETF, from 2004: Above the upper band 7.7%, Below the lower band 5.0%; EUR/USD, from 2012: Above the upper band 5.6%, Below the lower band 6.5%; Apple, from 1986: Above the upper band 7.8%, Below the lower band 4.6%; Bitcoin, from 2017: Above the upper band 7.4%, Below the lower band 4.8%. Our computation; the inputs and the method are in the text.
  • Above the upper band
  • Below the lower band
Our computation; the inputs and the method are in the text.Share of all daily closes, from the 20th close of each series to its last bar (October 28, 2026; October 23 for EUR/USD), that closed above the upper band or below the lower band. Population standard deviation.

Closes above the upper band were more frequent than closes below the lower band on every series except EUR/USD, most of all on gold, Apple and Bitcoin (with 20 / 2, 7.4% to 7.8% of days above against 4.6% to 5.0% below). The 10 / 1.9 and 50 / 2.1 settings kept containment close to the default, as the rule says, within 1.7 points on every series.

How to read the bands

What you seeWhat Bollinger's rules say
Price touches the upper bandA tag, not a sell signal in itself
Price touches the lower bandA tag, not a buy signal in itself
Price keeps closing near one band"Walking the band": a strong trend, not an exhausted one
Close outside a bandInitially a continuation signal, not a reversal signal
Bands at their narrowest in monthsThe Squeeze, identified with BandWidth: volatility at a low, with no direction given

The narrowing is measured with Bollinger BandWidth and %B, which turn the bands into numbers. A squeeze says volatility is low, not which way the next move goes; the TTM Squeeze is one way traders combine it with the Keltner channel. StockCharts also describes how Bollinger uses the bands to confirm W-bottoms, patterns that come from Arthur Merrill's work: a first low, usually but not always below the lower band, then a bounce, then a lower second low that holds above the lower band.

Walking the band, and a W-bottom confirmed by the lower band

Walking the band, and a W-bottom confirmed by the lower band: two panels with an upper band, a dashed middle band and a lower band. Left, a rising trend: price keeps closing near the upper band and dips only toward the middle band, which Bollinger's rules read as a strong trend, not a sell signal. Right, a W-bottom: a first low closes below the lower band, price bounces toward the middle band, then a second low, lower in price, holds inside the lower band, which has moved down, and price rises again.
Schematic, not market data. After John Bollinger's rules and the StockCharts description of his W-bottoms.

The bands on a real chart

The full chart below the introduction shows Bollinger Bands(20, 2) on the daily S&P 500 ETF (dividend-adjusted prices) from May 8 to October 28, 2026. Over those 120 days there were seven closes outside the bands, four above and three below, in six separate episodes. Here is each one, with the first later close back at the middle band.

First close outsideCloseBand10 bars laterBack at the middle
Below, June 10, 2026721.77723.64+1.48%June 15, +4.05%
Below, July 29, 2026727.65731.50+5.90%July 31, +2.41%
Above, August 4, 2026 (also August 5)769.42762.71−0.50%August 24, −1.02%
Below, September 16, 2026752.18753.38+1.39%September 21, +2.83%
Above, September 21, 2026773.50773.35+0.17%September 30, −1.41%
Above, October 6, 2026779.09778.83−1.29%October 14, −1.22%

In this window every close outside the bands reverted: price was back at the middle band within 2 to 14 bars, higher after each close below and lower after each close above. Buying the lower band closes and selling the upper band closes, and getting out at the middle, would have gained in all six cases, from 1.02% to 4.05%. Six for six is a small sample from a calm, rising market, and the full history below is less tidy.

What fading the bands did over the full history

We applied the same fade on four daily series over their full history: buy the first close below the lower band and sell at the first close back at the middle band; short the first close above the upper band and cover at the first close back at the middle (short result = entry minus exit, divided by entry). One trade at a time across both sides: while a trade is open, new closes outside either band are ignored, including a close outside a band on the day a trade exits. No stops, no costs. The first trade opens once the first 20 closes of each series are known.

Market, first tradeBuy below: trades, winners, average, worstShort above: trades, winners, average, worst
S&P 500 ETF, March 1993149, 77.9%, +1.16%, −21.91%155, 58.7%, −0.23%, −17.59%
Gold ETF, January 200592, 67.4%, +0.91%, −7.55%99, 57.6%, −0.94%, −16.50%
EUR/USD, January 201269, 65.2%, +0.05%, −6.78%68, 66.2%, +0.17%, −3.97%
Bitcoin, September 201752, 63.5%, +0.37%, −38.32%69, 60.9%, −5.06%, −97.79%

Two trades were still open on the last bar and are not counted in the table: the buy on the gold ETF after its close below the lower band on September 28, 2026, at 377.91, was 1.16% down at the October 28 close (373.51), and the buy on EUR/USD after its close of September 14, 2026, at 1.15484, was 2.99% down at the October 23 close (1.12031), the last bar of that series.

Average result per fade trade, full history

Average result per fade trade, full history. S&P 500 ETF: Buy below the lower band +1.16%, Short above the upper band −0.23%; Gold ETF: Buy below the lower band +0.91%, Short above the upper band −0.94%; EUR/USD: Buy below the lower band +0.05%, Short above the upper band +0.17%; Bitcoin: Buy below the lower band +0.37%, Short above the upper band −5.06%. Our computation; the inputs and the method are in the text.
  • Buy below the lower band
  • Short above the upper band
Our computation; the inputs and the method are in the text.Average result per closed trade of the fade described in the text, before costs, from the first trade of each series to October 28, 2026 (October 23 for EUR/USD). Illustration of how the rule behaved, not a backtest of a trading system.

Most fades won, from 57.6% to 77.9% of trades, which is why the idea is popular. But the average short lost money on three of the four markets, because the losers were large: on Bitcoin, one short taken after a close above the upper band lost 97.79%, since price had almost doubled by the time it closed back at the middle band. Buying closes below the lower band gained on average on all four markets, most on the S&P 500 ETF and gold, two markets that rose over the period, and least on EUR/USD, where the average buy was +0.05%. A separate count on Bitcoin alone seemed to support Bollinger's continuation rule: after the 111 first closes above the upper band, Bitcoin was on average 5.49% higher 20 days later, against 3.25% for all days; on the S&P 500 ETF the same figure was 0.64% against 0.92%. Across markets after costs, our bench found the opposite of that Bitcoin count: following closes outside the bands lagged the market, and on crypto it showed no edge.

Does it work?

The bands do what they are built for: they show where price is relative to its recent range, and they adapt to volatility. On the four series above, without costs, the fade results depend on the side and the market: a high win rate with occasional large losses, a small average gain when buying closes below the lower band on all four markets, and an average loss when shorting closes above the upper band everywhere except EUR/USD, where both sides average close to zero. Our bench tested fading, following and re-entry rules across markets after costs, against the other assets of the same market over the same bars (see our methodology): fading closes outside the bands and buying the close back inside beat the market, the sell-side re-entry by a small, fragile margin, while following closes outside the bands lagged it. For a sell, beating the market means the asset did worse than the others, even when the short itself lost money. The results are in the section below; the channel pattern page covers drawn channels.

For related tools, see the Keltner channel, the envelope indicator, the Donchian channel and the average true range, or the full list of volatility indicators.

Data from our test bench

Tested on our bench

We coded the 6 strategies taught on this page, buy and sell side, and ran them on stocks, ETFs, indices, forex, crypto and commodities. With all markets pooled (daily bars): 4 beat the market, 2 did worse than the market.

Close outside the band, faded, bullishBeat the market

Entry: Close below the lower Bollinger band (20, 2) after a close at or above it: buy (mean reversion). Exit: Close back at or beyond the middle band.

In detail, all markets pooled

On daily bars, the rule fired 228,929 times on 2,352 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 37 bars on each asset.

The average trade returned +1.17% before costs and the median trade +2.60%; 69% of trades made money, and the gains added up to 1.42 times the losses.

A trade lasted 12 bars at the median, half of them between 7 and 18 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended +0.18% per trade after costs (95% interval +0.08% to +0.28%).

Signals
228,9292,352 assets, 1970 to 2026
Average trade
+1.17%before costs; median +2.60%
Winning trades
69%profit factor 1.42
Median hold
12 barshalf between 7 and 18
Vs the market, after costs
+0.18%95% interval +0.08% to +0.28%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal52.1%52.7%53.8%54.7%56.2%
Random dates50.5%51.8%52.4%53.3%54.2%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201276,329+0.42%
2012 to 202176,323+0.14%
2021 to 202676,277+0.30%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs+0.18%
Entry at the next bar's open+0.14%Holds
Trading costs doubled+0.08%Holds
1% most extreme trades trimmed on each side+0.17%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 227,657 trades hit the target first, for +0.16 R per trade on average against +0.14 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −99.2% on CYN, signal of 2024-12-09.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

Close outside the band, faded, bullish: real trade on ATOM/USDT, 2026-07-19, daily chart
Most recentATOM 2026-07-19 daily chartBought at the close of 2026-07-19 (1.48), sold 19 bars later, when the exit rule fired (1.36): −7.7% before costs.Against the other crypto pairs over the same bars, after costs: −3.9%.Bollinger middleBollinger upperBollinger lower
Close outside the band, faded, bullish: real trade on DOGE/USDT, 2021-01-27, daily chart
Best tradeDOGE 2021-01-27 daily chartBought at the close of 2021-01-27 (0.007412), sold 1 bar later, when the exit rule fired (0.0365): +392.4% before costs.Against the other crypto pairs over the same bars, after costs: +354.7%.Bollinger middleBollinger upperBollinger lower
Close outside the band, faded, bullish: real trade on CYN, 2024-12-09, daily chart
Worst tradeCYN 2024-12-09 daily chartBought at the close of 2024-12-09 (624.0), sold 77 bars later, when the exit rule fired (4.76): −99.2% before costs.Against the other stocks over the same bars, after costs: −99.3%.Bollinger middleBollinger upperBollinger lower

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily195,372+1.25%70%+0.16%Beat the market
ETFsdaily7,299+1.00%73%+0.16%Beat the market
Indicesdaily4,034+0.82%72%n/aNot measured
Forexdaily2,667+0.18%67%+0.12%Inconclusive
Cryptodaily17,589+0.64%59%+0.46%Beat the market
Commoditiesdaily1,968+0.36%66%+0.18%No edge found
All markets4-hour126,470+0.21%63%+0.02%Beat the market, fragile
Forex4-hour15,891+0.04%66%+0.01%Beat the market, fragile
Crypto4-hour110,579+0.24%62%+0.02%Beat the market, fragile
All marketsweekly33,973+5.49%74%+0.64%Beat the market
Stocksweekly30,288+5.56%74%+0.54%Inconclusive
ETFsweekly1,180+3.20%74%+0.38%No edge found
Indicesweekly670+2.71%74%+0.57%Inconclusive
Forexweekly519+0.99%73%+0.85%Beat the market
Cryptoweekly962+17.08%70%n/aNot measured
Commoditiesweekly354+1.74%68%+1.41%No edge found
Close outside the band, faded, bearishBeat the market

Entry: Close above the upper band: sell. Exit: Close back at or beyond the middle band.

The trade itself lost money on average: it only did better than the rest of the market, which moved against it even more.

In detail, all markets pooled

On daily bars, the rule fired 280,715 times on 2,348 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 30 bars on each asset.

The average trade returned −0.52% before costs and the median trade +1.66%; 62% of trades made money, and the gains added up to only 0.85 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 13 bars at the median, half of them between 7 and 21 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended +0.20% per trade after costs (95% interval +0.07% to +0.34%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
280,7152,348 assets, 1970 to 2026
Average trade
−0.52%before costs; median +1.66%
Winning trades
62%profit factor 0.85
Median hold
13 barshalf between 7 and 21
Vs the market, after costs
+0.20%95% interval +0.07% to +0.34%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal50.0%49.3%48.8%47.6%46.5%
Random dates48.1%47.4%46.9%46.0%45.1%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201293,588+0.61%
2012 to 202093,577+0.23%
2020 to 202693,550+0.07%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs+0.20%
Entry at the next bar's open+0.22%Holds
Trading costs doubled+0.10%Holds
1% most extreme trades trimmed on each side+0.49%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 29% of 279,263 trades hit the target first, for −0.13 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −2,101.3% on CHZ/USDT, signal of 2021-02-03.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

Close outside the band, faded, bearish: real trade on LTC/USDT, 2026-07-18, daily chart
Most recentLTC 2026-07-18 daily chartSold short at the close of 2026-07-18 (47.01), bought back 11 bars later, when the exit rule fired (45.45): +3.3% before costs.Against the other crypto pairs over the same bars, after costs: −3.7%.Bollinger middleBollinger upperBollinger lower
Close outside the band, faded, bearish: real trade on GME, 2021-01-29, daily chart
Best tradeGME 2021-01-29 daily chartSold short at the close of 2021-01-29 (81.25), bought back 2 bars later, when the exit rule fired (22.50): +72.3% before costs.Against the other stocks over the same bars, after costs: +73.1%.Bollinger middleBollinger upperBollinger lower
Close outside the band, faded, bearish: real trade on AVAX/USDT, 2021-01-01, daily chart
Worst tradeAVAX 2021-01-01 daily chartSold short at the close of 2021-01-01 (3.65), bought back 52 bars later, when the exit rule fired (32.15): −780.9% before costs.Against the other crypto pairs over the same bars, after costs: −108.3%.Bollinger middleBollinger upperBollinger lower

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily244,502−0.19%62%+0.22%Beat the market
ETFsdaily8,127−0.02%61%+0.16%Inconclusive
Indicesdaily4,015−0.56%57%n/aNot measured
Forexdaily2,733+0.11%65%+0.03%No edge found
Cryptodaily18,858−5.30%68%+0.04%No edge found
Commoditiesdaily2,480−0.07%63%+0.21%No edge found
All markets4-hour127,771+0.23%69%+0.31%Beat the market
Forex4-hour16,182+0.02%64%−0.02%No edge found
Crypto4-hour111,589+0.26%70%+0.36%Beat the market
All marketsweekly59,347−3.22%59%+0.35%No edge found
Stocksweekly53,382−2.88%59%+0.30%No edge found
ETFsweekly1,904−1.24%57%+0.38%No edge found
Indicesweekly1,015−2.80%52%−0.16%No edge found
Forexweekly503+0.90%73%+0.87%Inconclusive
Cryptoweekly1,978−20.15%69%n/aNot measured
Commoditiesweekly565−2.78%61%+0.48%No edge found
Close outside the band, followed, bullishLagged the market

Entry: Close above the upper band after a close at or below it: buy (Bollinger's rule 8, continuation). Exit: Close back across the middle band.

The trade itself made money on average, but less than the rest of the market over the same bars.

In detail, all markets pooled

On daily bars, the rule fired 280,715 times on 2,348 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 30 bars on each asset.

The average trade returned +0.52% before costs and the median trade −1.66%; 37% of trades made money, and the gains added up to 1.17 times the losses.

A trade lasted 13 bars at the median, half of them between 7 and 21 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.41% per trade after costs (95% interval −0.54% to −0.28%).

Signals
280,7152,348 assets, 1970 to 2026
Average trade
+0.52%before costs; median −1.66%
Winning trades
37%profit factor 1.17
Median hold
13 barshalf between 7 and 21
Vs the market, after costs
−0.41%95% interval −0.54% to −0.28%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.9%50.1%50.8%52.1%53.3%
Random dates50.6%52.0%52.7%53.7%54.8%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201293,588−0.61%
2012 to 202093,577−0.23%
2020 to 202693,550−0.07%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.41%
Entry at the next bar's open−0.43%Holds
Trading costs doubled−0.51%Holds
1% most extreme trades trimmed on each side−0.70%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 37% of 279,381 trades hit the target first, for +0.11 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −82.3% on DEXE/USDT, signal of 2026-07-10.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

Close outside the band, followed, bullish: real trade on LTC/USDT, 2026-07-18, daily chart
Most recentLTC 2026-07-18 daily chartBought at the close of 2026-07-18 (47.01), sold 11 bars later, when the exit rule fired (45.45): −3.3% before costs.Against the other crypto pairs over the same bars, after costs: +3.3%.Bollinger middleBollinger upperBollinger lower
Close outside the band, followed, bullish: real trade on AVAX/USDT, 2021-01-01, daily chart
Best tradeAVAX 2021-01-01 daily chartBought at the close of 2021-01-01 (3.65), sold 52 bars later, when the exit rule fired (32.15): +780.9% before costs.Against the other crypto pairs over the same bars, after costs: +107.9%.Bollinger middleBollinger upperBollinger lower
Close outside the band, followed, bullish: real trade on GME, 2021-01-29, daily chart
Worst tradeGME 2021-01-29 daily chartBought at the close of 2021-01-29 (81.25), sold 2 bars later, when the exit rule fired (22.50): −72.3% before costs.Against the other stocks over the same bars, after costs: −73.3%.Bollinger middleBollinger upperBollinger lower

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily244,502+0.19%38%−0.42%Lagged the market
ETFsdaily8,127+0.02%39%−0.26%Inconclusive
Indicesdaily4,015+0.56%43%n/aNot measured
Forexdaily2,733−0.11%35%−0.09%No edge found
Cryptodaily18,858+5.30%32%−0.44%No edge found
Commoditiesdaily2,480+0.07%37%−0.41%No edge found
All markets4-hour127,771−0.23%31%−0.67%Lagged the market
Forex4-hour16,182−0.02%36%−0.04%No edge found
Crypto4-hour111,589−0.26%30%−0.76%Lagged the market
All marketsweekly59,347+3.22%41%−0.55%No edge found
Stocksweekly53,382+2.88%41%−0.50%No edge found
ETFsweekly1,904+1.24%43%−0.48%No edge found
Indicesweekly1,015+2.80%48%+0.06%No edge found
Forexweekly503−0.90%27%−0.93%Inconclusive
Cryptoweekly1,978+20.15%31%n/aNot measured
Commoditiesweekly565+2.78%39%−0.68%No edge found
Close outside the band, followed, bearishLagged the market

Entry: Close below the lower band: sell. Exit: Close back across the middle band.

In detail, all markets pooled

On daily bars, the rule fired 228,929 times on 2,352 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 37 bars on each asset.

The average trade returned −1.17% before costs and the median trade −2.60%; 31% of trades made money, and the gains added up to only 0.71 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 12 bars at the median, half of them between 7 and 18 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.39% per trade after costs (95% interval −0.49% to −0.29%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
228,9292,352 assets, 1970 to 2026
Average trade
−1.17%before costs; median −2.60%
Winning trades
31%profit factor 0.71
Median hold
12 barshalf between 7 and 18
Vs the market, after costs
−0.39%95% interval −0.49% to −0.29%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal46.9%46.7%45.8%45.1%43.7%
Random dates48.2%47.6%47.1%46.4%45.6%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201276,329−0.42%
2012 to 202176,323−0.14%
2021 to 202676,277−0.30%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.39%
Entry at the next bar's open−0.35%Holds
Trading costs doubled−0.49%Holds
1% most extreme trades trimmed on each side−0.38%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 27% of 226,974 trades hit the target first, for −0.16 R per trade on average against −0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −392.4% on DOGE/USDT, signal of 2021-01-27.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

Close outside the band, followed, bearish: real trade on ATOM/USDT, 2026-07-19, daily chart
Most recentATOM 2026-07-19 daily chartSold short at the close of 2026-07-19 (1.48), bought back 19 bars later, when the exit rule fired (1.36): +7.7% before costs.Against the other crypto pairs over the same bars, after costs: +3.5%.Bollinger middleBollinger upperBollinger lower
Close outside the band, followed, bearish: real trade on CYN, 2024-12-09, daily chart
Best tradeCYN 2024-12-09 daily chartSold short at the close of 2024-12-09 (624.0), bought back 77 bars later, when the exit rule fired (4.76): +99.2% before costs.Against the other stocks over the same bars, after costs: +99.1%.Bollinger middleBollinger upperBollinger lower
Close outside the band, followed, bearish: real trade on DOGE/USDT, 2021-01-27, daily chart
Worst tradeDOGE 2021-01-27 daily chartSold short at the close of 2021-01-27 (0.007412), bought back 1 bar later, when the exit rule fired (0.0365): −392.4% before costs.Against the other crypto pairs over the same bars, after costs: −355.1%.Bollinger middleBollinger upperBollinger lower

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily195,372−1.25%30%−0.36%Lagged the market
ETFsdaily7,299−1.00%27%−0.26%Lagged the market
Indicesdaily4,034−0.82%28%n/aNot measured
Forexdaily2,667−0.18%33%−0.18%Inconclusive
Cryptodaily17,589−0.64%41%−0.86%Lagged the market
Commoditiesdaily1,968−0.36%34%−0.38%No edge found
All markets4-hour126,470−0.21%37%−0.37%Lagged the market
Forex4-hour15,891−0.04%34%−0.07%Lagged the market
Crypto4-hour110,579−0.24%37%−0.42%Lagged the market
All marketsweekly33,973−5.49%26%−0.84%Lagged the market
Stocksweekly30,288−5.56%26%−0.74%Inconclusive
ETFsweekly1,180−3.20%26%−0.48%No edge found
Indicesweekly670−2.71%26%−0.67%Inconclusive
Forexweekly519−0.99%27%−0.91%Lagged the market
Cryptoweekly962−17.08%30%n/aNot measured
Commoditiesweekly354−1.74%32%−1.61%No edge found
Close back inside the band, bullishBeat the market

Entry: Close back above the lower band after a close below it. Exit: Close at or above the middle band.

In detail, all markets pooled

On daily bars, the rule fired 228,712 times on 2,351 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 37 bars on each asset.

The average trade returned +0.88% before costs and the median trade +2.13%; 70% of trades made money, and the gains added up to 1.35 times the losses.

A trade lasted 10 bars at the median, half of them between 5 and 16 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended +0.12% per trade after costs (95% interval +0.05% to +0.20%).

Signals
228,7122,351 assets, 1970 to 2026
Average trade
+0.88%before costs; median +2.13%
Winning trades
70%profit factor 1.35
Median hold
10 barshalf between 5 and 16
Vs the market, after costs
+0.12%95% interval +0.05% to +0.20%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal49.6%52.2%52.8%53.7%55.9%
Random dates50.5%51.8%52.4%53.3%54.3%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201276,289+0.26%
2012 to 202176,232+0.17%
2021 to 202676,191+0.27%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs+0.12%
Entry at the next bar's open+0.17%Holds
Trading costs doubled+0.02%Holds
1% most extreme trades trimmed on each side+0.12%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 227,388 trades hit the target first, for +0.17 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −99.2% on CYN, signal of 2024-12-11.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

Close back inside the band, bullish: real trade on ATOM/USDT, 2026-07-20, daily chart
Most recentATOM 2026-07-20 daily chartBought at the close of 2026-07-20 (1.50), sold 18 bars later, when the exit rule fired (1.36): −8.8% before costs.Against the other crypto pairs over the same bars, after costs: −4.1%.Bollinger middleBollinger upperBollinger lower
Close back inside the band, bullish: real trade on LNC, 2008-11-21, daily chart
Best tradeLNC 2008-11-21 daily chartBought at the close of 2008-11-21 (3.88), sold 9 bars later, when the exit rule fired (10.59): +173.0% before costs.Against the other stocks over the same bars, after costs: +135.8%.Bollinger middleBollinger upperBollinger lower

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily195,227+0.99%71%+0.10%Beat the market, fragile
ETFsdaily7,305+0.72%73%+0.08%No edge found
Indicesdaily4,034+0.63%74%n/aNot measured
Forexdaily2,667+0.14%68%+0.08%No edge found
Cryptodaily17,539−0.13%60%+0.48%Beat the market
Commoditiesdaily1,940+0.32%67%−0.07%No edge found
All markets4-hour125,777+0.32%65%−0.01%Inconclusive
Forex4-hour15,224+0.03%67%+0.01%Inconclusive
Crypto4-hour110,553+0.36%65%−0.01%Inconclusive
All marketsweekly34,334+4.85%75%+0.49%Inconclusive
Stocksweekly30,709+4.95%76%+0.41%No edge found
ETFsweekly1,183+2.80%76%+0.12%No edge found
Indicesweekly672+2.35%76%+0.12%No edge found
Forexweekly520+0.75%72%+0.64%Inconclusive
Cryptoweekly904+12.89%65%n/aNot measured
Commoditiesweekly346+2.09%72%+1.84%Inconclusive
Close back inside the band, bearishBeat the market, fragile

Entry: Close back below the upper band. Exit: Close at or below the middle band.

The trade itself lost money on average: it only did better than the rest of the market, which moved against it even more.

In detail, all markets pooled

On daily bars, the rule fired 284,478 times on 2,356 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 30 bars on each asset.

The average trade returned −0.55% before costs and the median trade +1.47%; 63% of trades made money, and the gains added up to only 0.83 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 11 bars at the median, half of them between 6 and 19 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended +0.08% per trade after costs (95% interval −0.03% to +0.20%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
284,4782,356 assets, 1970 to 2026
Average trade
−0.55%before costs; median +1.47%
Winning trades
63%profit factor 0.83
Median hold
11 barshalf between 6 and 19
Vs the market, after costs
+0.08%95% interval −0.03% to +0.20%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.6%48.2%47.9%47.1%46.2%
Random dates48.2%47.4%46.9%46.1%45.1%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201294,831+0.42%
2012 to 202094,831+0.15%
2020 to 202694,816−0.01%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs+0.08%
Entry at the next bar's open+0.10%Holds
Trading costs doubled−0.02%Does not hold
1% most extreme trades trimmed on each side+0.35%Holds

The result no longer holds when doubling trading costs.

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 282,678 trades hit the target first, for −0.14 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −2,186.6% on CHZ/USDT, signal of 2021-02-04.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

Close back inside the band, bearish: real trade on LINK/USDT, 2026-07-16, daily chart
Most recentLINK 2026-07-16 daily chartSold short at the close of 2026-07-16 (8.34), bought back 13 bars later, when the exit rule fired (8.34): +0.1% before costs.Against the other crypto pairs over the same bars, after costs: −8.5%.Bollinger middleBollinger upperBollinger lower
Close back inside the band, bearish: real trade on MSTR, 2000-03-13, daily chart
Best tradeMSTR 2000-03-13 daily chartSold short at the close of 2000-03-13 (294.4), bought back 5 bars later, when the exit rule fired (86.75): +70.5% before costs.Against the other stocks over the same bars, after costs: +71.5%.Bollinger middleBollinger upperBollinger lower

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily247,229−0.26%63%+0.11%Beat the market
ETFsdaily8,139−0.09%62%+0.11%No edge found
Indicesdaily4,017−0.39%59%n/aNot measured
Forexdaily2,729+0.11%66%+0.04%No edge found
Cryptodaily19,883−4.61%68%−0.29%No edge found
Commoditiesdaily2,481−0.04%65%+0.17%No edge found
All markets4-hour129,118+0.11%69%+0.14%Beat the market, fragile
Forex4-hour16,329+0.01%66%−0.02%No edge found
Crypto4-hour112,789+0.13%70%+0.16%Beat the market, fragile
All marketsweekly62,654−3.29%60%+0.10%No edge found
Stocksweekly56,422−3.18%59%−0.08%No edge found
ETFsweekly1,912−1.26%58%+0.33%No edge found
Indicesweekly1,015−2.22%54%−0.03%No edge found
Forexweekly511+0.74%73%+0.78%Inconclusive
Cryptoweekly2,227−12.88%70%n/aNot measured
Commoditiesweekly567−2.59%63%+0.92%No edge found

Each strategy enters at the close of the signal bar and exits at the exit it teaches, without a stop. The test compares the asset with an equal-weight basket of the other assets of its market over exactly the same bars, net of trading costs; for a sell signal, beating the market means the asset did worse than the others. A result is shown as beating or lagging the market only when it survives a correction for the number of tests and holds in both halves of the history; it is marked fragile when entering at the next open, doubling costs or trimming extreme trades removes it. Daily index bars are not compared with other indices, because their closes fall at different hours; “Not measured” also covers samples too small to test. Rules were fixed before any result was seen. How we test

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

What are the best Bollinger Bands settings?

The default is 20 periods and 2 standard deviations. Bollinger recommends 1.9 deviations with a 10-period average and 2.1 with a 50-period average, to keep about the same share of prices inside. In our count those settings kept containment within 1.7 points of the default on every series.

Is touching the upper Bollinger Band a sell signal?

Not by itself, according to Bollinger's rules: a touch is a tag. In a strong trend price can walk up the upper band for weeks.

What percentage of prices stay inside Bollinger Bands?

About 90% with the default settings, according to Bollinger, not the 95% a normal distribution would give. Our count on six markets found 86.4% to 91.0% of daily closes inside.

What is the Bollinger Band squeeze?

A period when the bands are unusually narrow, measured with BandWidth. It marks low volatility; it does not tell the direction of the next move.

Do Bollinger Bands work for day trading?

They can be used: the bands can be drawn on bars of any length, from five minutes to weeks, provided the bars hold enough trading. The statistics in the text are for daily bars; the bench results below also include bars of a few hours on some markets, the shortest we tested.

What is the difference between Bollinger Bands and Keltner channels?

Bollinger Bands use the standard deviation of closes around a simple average; the Keltner channel uses the average true range around an exponential average. StockCharts notes that Keltner channels are smoother, because the average true range varies less than the standard deviation.

Sources

  1. StockCharts ChartSchool, Bollinger Bands
  2. John Bollinger, Bollinger Band Rules
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

Related guides

All volatility indicators articles