Volatility indicators

Bollinger BandWidth and %B: Formulas, How to Read Them, and the Squeeze

Both Bollinger companion indicators computed on real prices: BandWidth for the width of the bands and the Squeeze, %B for where the close sits inside them, with the formulas checked against John Bollinger’s own rules.

· Founder of PatternsWizard
Checked 8 min read
Bollinger BandWidth(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. The bands both indicators are built on
  2. Bollinger BandWidth
  3. The Squeeze and squeeze breakouts
  4. Bollinger %B
  5. How traders use %B
  6. Does it work?
  7. Tested on our bench
  8. Frequently asked questions

Bollinger BandWidth and Bollinger %B are two indicators John Bollinger added to his bands. BandWidth measures how wide the bands are relative to the middle band: (upper band − lower band) / middle band. %B measures where the close sits inside the bands: (close − lower band) / (upper band − lower band), so it reads 1 on the upper band, 0.5 on the middle band and 0 on the lower band. BandWidth is a volatility gauge, best known for spotting the Squeeze; %B is a position gauge, used to compare closes, spot divergences and normalize other indicators. Neither one tells you the direction of the next move.

Bollinger BandWidth under the S&P 500 ETF

Bollinger BandWidth(20, 2) on S&P 500 ETF, dividend-adjusted prices, daily, March 12, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Bollinger Bands(20, 2) (dashed line)
  • BandWidth, (upper − lower) / middle (solid line)
  • Shaded area between the bands
Bollinger BandWidth(20, 2) on S&P 500 ETF, dividend-adjusted prices, daily, March 12, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

The bands both indicators are built on

The middle band is a 20-period simple moving average of the close. The upper band is the middle band plus two standard deviations of the same 20 closes; the lower band is the middle band minus two standard deviations. Bollinger’s site says he uses the population calculation of the standard deviation. Change the period or the multiplier and both indicators change with the bands. For the bands themselves, see our Bollinger Bands guide.

Bollinger BandWidth

BandWidth divides the distance between the bands by the middle band, so it is a ratio that can be compared across prices. With the default settings it is four standard deviations divided by the average, which is why Bollinger’s rules describe it as four times the coefficient of variation. It rises when volatility expands and falls when it contracts; it says nothing about whether price is going up or down.

The chart at the top shows BandWidth on the S&P 500 ETF in its lower panel. Wide bands follow sharp moves, narrow bands follow quiet stretches. A low reading means only that the last 20 closes were tightly grouped compared with their average. On a price chart that quiet stretch is a stock consolidation, and our page on it follows every breakout for 20 sessions.

The Squeeze and squeeze breakouts

Bollinger’s rules call the Squeeze the most popular use of BandWidth. LuxAlgo’s summary of the method gives Bollinger’s guideline as BandWidth at its lowest reading in six months, roughly 125 daily bars, and explains it by volatility running in cycles: very narrow bands measure quiet trading, which in that reading tends to give way to wider swings.

The Squeeze: BandWidth at a low, then a first close outside the bands

The Squeeze: BandWidth at a low, then a first close outside the bands: upper panel: dashed Bollinger Bands narrow while the price moves sideways, then widen as the price closes above the upper band, the breakout. A faded dashed path shows the other possible outcome, a first close below the lower band: a low BandWidth does not tell the direction. Lower panel: BandWidth, the width of the bands, reaches its lowest in about 125 bars, the Squeeze, a few bars before the breakout.
Schematic, not market data. Bollinger's six-month low, about 125 daily bars, is a guideline, not a tested threshold.Our sketch of the Squeeze as Bollinger's rules and LuxAlgo's summary describe it.

The direction is the hard part. BandWidth tells you that a larger move may come, not which way. A breakout from a squeeze can also reverse after the first push, so a confirmation such as volume, a close beyond a prior swing or the trend of a longer time frame can be added to the rules; none of these filters is tested here. The TTM Squeeze is a different squeeze test, built on Bollinger Bands inside Keltner Channels.

Bollinger %B

%B places the close on a scale where the lower band is 0 and the upper band is 1. Bollinger writes it as %b and describes it as an adaptation of the formula for Stochastics, applied to the bands. Some platforms multiply it by 100 and show 100 at the upper band.

The diagram below follows one price path through the bands. The same price can give very different readings from one day to the next, because the bands move: %B always compares the close with the bands of that same day, not with a fixed price.

How %B reads a close against the bands

How %B reads a close against the bands: a price path crossing Bollinger Bands, with five closes marked: one on the middle band at 0.5, one on the upper band at 1, one above the upper band above 1, one on the lower band at 0 and one below the lower band below 0.
Schematic, not market data.Readings follow Bollinger's %b formula; platforms that show %B in percent multiply each reading by a hundred.
%B readingWhere the close is
Above 1Above the upper band
1On the upper band
Above 0.5Above the middle band
0.5On the middle band
Below 0.5Below the middle band
0On the lower band
Below 0Below the lower band

Bollinger %B under Bitcoin, through a decline and a rebound

Bollinger %B(20, 2) on Bitcoin, daily, October 13, 2025 to April 30, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Bollinger Bands(20, 2) (dashed line)
  • %B, 1 on the upper band, 0 on the lower band (solid line)
  • Shaded area between the bands
Bollinger %B(20, 2) on Bitcoin, daily, October 13, 2025 to April 30, 2026. Illustration of how the indicator reads, not a backtest.

On the chart above, Bitcoin closed below its lower band, a %B under 0, on several days in November 2025 and again in late January and early February 2026, as the decline ran into the lowest close of the chart window, on February 5, 2026. In between, %B rose above 1 in early January 2026 during a rebound that did not last. Readings below 0 came in the strongest part of the fall, which is the band walk Bollinger warns about: a close under the lower band in a downtrend describes the strength of the move, it is not an automatic buy.

How traders use %B

Bollinger’s rules list three main uses of %b: divergences, pattern recognition and normalizing other indicators so that fixed thresholds are no longer needed. A typical example of pattern recognition is a double bottom where the second low prints a lower price but a higher %B, because it holds inside the lower band while the first low closed below it. The mirror case is a double top whose second high fails to reach the upper band.

Double tops and double bottoms are patterns we test on our bench. The cards below show how they did against random entries, without any %B filter.

Does it work?

Our bench tested the Squeeze, squeeze breakouts and %B crossing its middle line across markets after costs (see our methodology): a squeeze was followed by somewhat larger moves than usual, as the volatility cycle reading says, but the bullish squeeze breakout and the %B crosses lagged the market, the bearish cross by a small, fragile margin, and the bearish squeeze breakout showed no edge. The results are in the section below. Both are exact descriptions of the bands, which is useful, but describing volatility or position is not the same as predicting the next move. Before trading a variant of these rules, test it on the markets and time frames you trade, with costs.

More volatility tools: Keltner Channel and Average True Range, and the full list of volatility indicators.

Data from our test bench

Tested on our bench

We coded the 5 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): 3 did worse than the market, 1 announced a change in the size of the next moves, 1 showed no edge.

Bollinger squeeze breakout, bullishLagged the market

Entry: BandWidth at its lowest of 125 bars (six months) within the last 20 bars, then a close above the upper band. 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 67,394 times on 2,249 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 126 bars on each asset.

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

A trade lasted 12 bars at the median, half of them between 6 and 20 bars.

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

Signals
67,3942,249 assets, 1970 to 2026
Average trade
+0.45%before costs; median −1.63%
Winning trades
36%profit factor 1.17
Median hold
12 barshalf between 6 and 20
Vs the market, after costs
−0.31%95% interval −0.44% to −0.18%

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.9%51.2%51.7%52.5%53.6%
Random dates50.7%52.1%52.7%53.8%54.9%

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 201222,478−0.48%
2012 to 202022,454+0.01%
2020 to 202622,462−0.16%

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.31%
Entry at the next bar's open−0.34%Holds
Trading costs doubled−0.42%Holds
1% most extreme trades trimmed on each side−0.51%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 66,987 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: −73.4% on DEXE/USDT, signal of 2026-06-23.

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.

Bollinger squeeze breakout, bullish: real trade on MSEX, 2026-06-05, daily chart
Most recentMSEX 2026-06-05 daily chartBought at the close of 2026-06-05 (53.04), sold 8 bars later, when the exit rule fired (51.52): −2.9% before costs.Against the other stocks over the same bars, after costs: −4.3%.Bollinger middleBollinger upperBollinger lowerBandwidth
Bollinger squeeze breakout, bullish: real trade on XLM/USDT, 2024-11-07, daily chart
Best tradeXLM 2024-11-07 daily chartBought at the close of 2024-11-07 (0.1021), sold 32 bars later, when the exit rule fired (0.4103): +301.9% before costs.Against the other crypto pairs over the same bars, after costs: +160.7%.Bollinger middleBollinger upperBollinger lowerBandwidth
Bollinger squeeze breakout, bullish: real trade on IDCC, 1995-03-28, daily chart
Worst tradeIDCC 1995-03-28 daily chartBought at the close of 1995-03-28 (9.54), sold 2 bars later, when the exit rule fired (4.58): −52.0% before costs.Against the other stocks over the same bars, after costs: −51.9%.Bollinger middleBollinger upperBollinger lowerBandwidth
Bollinger squeeze breakout, bullish: real trade on IART, 2026-04-13, daily chart
Typical tradeIART 2026-04-13 daily chartBought at the close of 2026-04-13 (10.24), sold 12 bars later, when the exit rule fired (10.08): −1.6% before costs.Against the other stocks over the same bars, after costs: −3.2%.Bollinger middleBollinger upperBollinger lowerBandwidth

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily58,998+0.25%37%−0.29%Inconclusive
ETFsdaily2,098+0.06%37%−0.06%No edge found
Indicesdaily1,017+0.23%39%n/aNot measured
Forexdaily634−0.16%33%−0.17%No edge found
Cryptodaily4,110+3.72%33%−0.84%No edge found
Commoditiesdaily537−0.13%36%−0.61%No edge found
All markets4-hour31,595+0.02%31%−0.48%Lagged the market
Forex4-hour3,975−0.01%34%−0.04%No edge found
Crypto4-hour27,620+0.02%30%−0.54%Lagged the market
All marketsweekly13,381+2.79%42%+0.01%No edge found
Stocksweekly12,168+2.85%42%+0.13%No edge found
ETFsweekly420+1.86%43%−0.03%No edge found
Indicesweekly244+2.62%46%+0.05%No edge found
Forexweekly114−1.08%21%−1.23%No edge found
Cryptoweekly338+1.99%31%n/aNot measured
Commoditiesweekly97+4.47%41%−2.86%No edge found
Bollinger squeeze breakout, bearishNo edge found

Entry: Same squeeze, then a close below the lower band. Exit: Close back across the middle band.

In detail, all markets pooled

On daily bars, the rule fired 57,391 times on 2,261 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 148 bars on each asset.

The average trade returned −0.60% before costs and the median trade −2.25%; 31% of trades made money, and the gains added up to only 0.82 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 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.13% per trade after costs (95% interval −0.26% to +0.02%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
57,3912,261 assets, 1970 to 2026
Average trade
−0.60%before costs; median −2.25%
Winning trades
31%profit factor 0.82
Median hold
11 barshalf between 6 and 18
Vs the market, after costs
−0.13%95% interval −0.26% to +0.02%

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 signal47.4%47.1%46.7%46.7%45.3%
Random dates48.2%47.5%47.1%46.3%45.5%

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 201219,131−0.002%
2012 to 202119,206−0.01%
2021 to 202619,054−0.08%

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 56,937 trades hit the target first, for −0.13 R per trade on average against −0.13 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: −121.6% on KEY/USDT, signal of 2021-11-18.

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.

Bollinger squeeze breakout, 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 lowerBandwidth
Bollinger squeeze breakout, bearish: real trade on OIS, 2020-01-08, daily chart
Best tradeOIS 2020-01-08 daily chartSold short at the close of 2020-01-08 (15.60), bought back 61 bars later, when the exit rule fired (2.29): +85.3% before costs.Against the other stocks over the same bars, after costs: +78.9%.Bollinger middleBollinger upperBollinger lowerBandwidth
Bollinger squeeze breakout, bearish: real trade on PTGX, 2021-09-17, daily chart
Worst tradePTGX 2021-09-17 daily chartSold short at the close of 2021-09-17 (17.53), bought back 16 bars later, when the exit rule fired (35.36): −101.7% before costs.Against the other stocks over the same bars, after costs: −101.0%.Bollinger middleBollinger upperBollinger lowerBandwidth

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily49,193−0.77%30%−0.13%No edge found
ETFsdaily1,871−0.71%28%−0.22%No edge found
Indicesdaily1,058−0.26%31%n/aNot measured
Forexdaily594−0.24%32%−0.24%Inconclusive
Cryptodaily4,211+1.39%44%−0.10%No edge found
Commoditiesdaily464−0.95%31%−0.67%No edge found
All markets4-hour34,132+0.05%37%−0.32%Inconclusive
Forex4-hour3,746−0.03%33%−0.06%No edge found
Crypto4-hour30,386+0.06%38%−0.35%Inconclusive
All marketsweekly8,537−4.07%26%−0.16%No edge found
Stocksweekly7,637−4.12%26%−0.18%No edge found
ETFsweekly345−1.93%29%+0.52%No edge found
Indicesweekly181−2.21%23%−0.45%No edge found
Forexweekly116−1.51%20%−1.58%Inconclusive
Cryptoweekly164−20.57%15%n/aNot measured
Commoditiesweekly94−0.85%28%−0.07%No edge found
Bollinger squeeze: size of the next moveBigger moves followed

Entry: BandWidth reaches its lowest of 125 bars (first bar). Exit: n/a

In detail, all markets pooled

On daily bars, the rule fired 87,017 times on 2,304 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 97 bars on each asset.

Over the 10 bars after each signal, price moved 8.2% from highest high to lowest low at the median, against 8.2% at random dates of the same assets. The average ratio is 1.05 (95% interval 1.04 to 1.07), where 1 means no difference.

Signals
87,0172,304 assets, 1970 to 2026
Range of the next 10 bars
8.2%median; 8.2% at random dates
Ratio to random dates
1.0595% interval 1.04 to 1.07
Bigger than at random dates
53%share of signals

Real signals 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 10 bars measured after the signal. Best and worst are chosen among these assets, not over the whole test.

Bollinger squeeze: size of the next move: real signal on BLK, 2026-10-14, daily chart
Most recentBLK 2026-10-14 daily chartNext 10 bars: 9.0% from highest high to lowest low, against 7.8% at random dates of the same asset (ratio 1.15).Bollinger middleBollinger upperBollinger lowerBandwidth
Bollinger squeeze: size of the next move: real signal on CNP, 2010-05-04, daily chart
Biggest move afterCNP 2010-05-04 daily chartNext 10 bars: 63.1% from highest high to lowest low, against 4.8% at random dates of the same asset (ratio 13.11).Bollinger middleBollinger upperBollinger lowerBandwidth
Bollinger squeeze: size of the next move: real signal on LXP, 2026-10-02, daily chart
Quietest afterLXP 2026-10-02 daily chartNext 10 bars: 0.3% from highest high to lowest low, against 7.4% at random dates of the same asset (ratio 0.04).Bollinger middleBollinger upperBollinger lowerBandwidth

Market by market

MarketBarsSignalsRange vs randomResult
Stocksdaily75,453+5.3% rangeBigger moves followed
ETFsdaily2,740+4.2% rangeBigger moves followed
Indicesdaily1,443+4.5% rangeInconclusive
Forexdaily875+3.5% rangeNo edge found
Cryptodaily5,774+2.1% rangeNo edge found
Commoditiesdaily732+3.0% rangeNo edge found
All markets4-hour47,263+6.9% rangeBigger moves followed
Forex4-hour5,463+5.6% rangeBigger moves followed
Crypto4-hour41,800+7.0% rangeInconclusive
All marketsweekly15,129+1.0% rangeNo edge found
Stocksweekly13,558+1.3% rangeNo edge found
ETFsweekly542+1.9% rangeNo edge found
Indicesweekly298+1.7% rangeNo edge found
Forexweekly172−11.1% rangeInconclusive
Cryptoweekly405n/aNot measured
Commoditiesweekly154−7.7% rangeInconclusive
%b crosses 0.5, bullishLagged the market

Entry: %b closes above 0.5 after a close at or below it. Exit: Opposite signal (stop and reverse).

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 507,282 times on 2,356 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 17 bars on each asset.

The average trade returned +0.40% before costs and the median trade −1.18%; 27% of trades made money, and the gains added up to 1.21 times the losses.

A trade lasted 4 bars at the median, half of them between 1 and 13 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.24% to −0.16%).

Signals
507,2822,356 assets, 1970 to 2026
Average trade
+0.40%before costs; median −1.18%
Winning trades
27%profit factor 1.21
Median hold
4 barshalf between 1 and 13
Vs the market, after costs
−0.20%95% interval −0.24% to −0.16%

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.9%51.8%52.0%53.3%54.5%
Random dates50.6%51.9%52.6%53.6%54.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 2012169,112−0.13%
2012 to 2021169,080−0.09%
2021 to 2026169,090−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.30%Holds
1% most extreme trades trimmed on each side−0.36%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 505,084 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: −66.5% on DEXE/USDT, signal of 2026-06-22.

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.

%b crosses 0.5, bullish: real trade on XRP/USDT, 2026-07-20, daily chart
Most recentXRP 2026-07-20 daily chartBought at the close of 2026-07-20 (1.11), sold 3 bars later, when the exit rule fired (1.11): −0.4% before costs.Against the other crypto pairs over the same bars, after costs: +1.8%.Bollinger middleBollinger upperBollinger lower%B
%b crosses 0.5, bullish: real trade on AVAX/USDT, 2020-12-31, daily chart
Best tradeAVAX 2020-12-31 daily chartBought at the close of 2020-12-31 (3.19), sold 53 bars later, when the exit rule fired (32.15): +909.1% before costs.Against the other crypto pairs over the same bars, after costs: +132.9%.Bollinger middleBollinger upperBollinger lower%B
%b crosses 0.5, bullish: real trade on NKTR, 2022-03-09, daily chart
Worst tradeNKTR 2022-03-09 daily chartBought at the close of 2022-03-09 (165.8), sold 3 bars later, when the exit rule fired (62.40): −62.4% before costs.Against the other stocks over the same bars, after costs: −61.5%.Bollinger middleBollinger upperBollinger lower%B

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily440,910+0.33%27%−0.20%Lagged the market
ETFsdaily15,279+0.27%30%−0.07%No edge found
Indicesdaily7,845+0.51%32%n/aNot measured
Forexdaily5,479−0.02%25%−0.06%No edge found
Cryptodaily33,193+1.52%20%−0.26%No edge found
Commoditiesdaily4,576+0.28%26%−0.17%No edge found
All markets4-hour254,251+0.02%23%−0.29%Lagged the market
Forex4-hour31,079−0.01%25%−0.04%No edge found
Crypto4-hour223,172+0.02%23%−0.32%Lagged the market
All marketsweekly90,623+2.23%29%−0.40%Inconclusive
Stocksweekly80,891+1.97%29%−0.38%Inconclusive
ETFsweekly2,921+1.68%34%−0.01%No edge found
Indicesweekly1,558+2.33%36%−0.24%Inconclusive
Forexweekly1,127−0.32%23%−0.36%Lagged the market
Cryptoweekly3,113+15.49%26%n/aNot measured
Commoditiesweekly1,013+1.45%26%−0.78%Inconclusive
%b crosses 0.5, bearishLagged the market, fragile

Entry: %b closes below 0.5 after a close at or above it. Exit: Opposite signal (stop and reverse).

In detail, all markets pooled

On daily bars, the rule fired 511,435 times on 2,357 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 17 bars on each asset.

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

A trade lasted 3 bars at the median, half of them between 1 and 11 bars.

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

Signals
511,4352,357 assets, 1970 to 2026
Average trade
−0.44%before costs; median −1.35%
Winning trades
22%profit factor 0.79
Median hold
3 barshalf between 1 and 11
Vs the market, after costs
−0.17%95% interval −0.20% to −0.14%

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 signal47.6%47.5%46.7%46.3%45.6%
Random dates48.2%47.5%47.0%46.2%45.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 2012170,489−0.06%
2012 to 2021170,521−0.05%
2021 to 2026170,425−0.08%

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.17%
Entry at the next bar's open−0.13%Does not hold
Trading costs doubled−0.27%Holds
1% most extreme trades trimmed on each side−0.19%Holds

The result no longer holds when entering at the next bar's open instead of the signal close.

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 508,310 trades hit the target first, for −0.15 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: −303.6% on DOGE/USDT, signal of 2021-01-19.

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.

%b crosses 0.5, bearish: real trade on ADA/USDT, 2026-07-18, daily chart
Most recentADA 2026-07-18 daily chartSold short at the close of 2026-07-18 (0.1667), bought back 2 bars later, when the exit rule fired (0.1698): −1.9% before costs.Against the other crypto pairs over the same bars, after costs: −0.7%.Bollinger middleBollinger upperBollinger lower%B
%b crosses 0.5, 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%B
%b crosses 0.5, bearish: real trade on DOGE/USDT, 2021-01-19, daily chart
Worst tradeDOGE 2021-01-19 daily chartSold short at the close of 2021-01-19 (0.009043), bought back 9 bars later, when the exit rule fired (0.0365): −303.6% before costs.Against the other crypto pairs over the same bars, after costs: −272.9%.Bollinger middleBollinger upperBollinger lower%B

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily443,568−0.55%21%−0.16%Lagged the market, fragile
ETFsdaily15,272−0.31%21%−0.05%No edge found
Indicesdaily7,845−0.14%23%n/aNot measured
Forexdaily5,481−0.04%24%−0.06%No edge found
Cryptodaily34,673+0.77%31%−0.32%No edge found
Commoditiesdaily4,596−0.30%23%−0.17%No edge found
All markets4-hour256,169−0.03%26%−0.28%Lagged the market
Forex4-hour31,911−0.02%24%−0.04%Inconclusive
Crypto4-hour224,258−0.03%26%−0.32%Lagged the market
All marketsweekly93,485−1.93%19%−0.19%No edge found
Stocksweekly83,206−2.06%19%−0.18%No edge found
ETFsweekly2,948−1.08%19%+0.05%No edge found
Indicesweekly1,562−0.73%19%−0.22%No edge found
Forexweekly1,129−0.30%23%−0.28%Inconclusive
Cryptoweekly3,635−0.003%38%n/aNot measured
Commoditiesweekly1,005−1.15%21%−0.55%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 is the difference between Bollinger BandWidth and %B?

BandWidth measures how far apart the bands are, relative to the middle band: it is about volatility. %B measures where the close is between the bands: it is about position. A market can have a high %B with narrow or wide bands.

What does a %B above 1 mean?

The close is above the upper band. In a strong uptrend that can happen many times in a row; Bollinger’s rules say price can walk up the upper band, and that a tag of a band is not a signal on its own.

What is a good BandWidth value for a squeeze?

There is no universal number, because each market has its own normal volatility. Bollinger’s guideline, as LuxAlgo reports it, is relative: BandWidth at its lowest level in six months on a daily chart. TradingView’s documentation makes the same point, that narrowness must be judged against the instrument’s own history.

What settings should I use for BandWidth and %B?

The same as the bands: 20 periods and 2 standard deviations by default. Bollinger’s rules suggest adjusting the multiplier when you change the period. Whatever you choose, keep the bands, BandWidth and %B on the same settings.

Does a Bollinger squeeze tell you the breakout direction?

No. A squeeze says volatility is low and may expand. Traders take the direction from price (a close outside a band, a break of a prior swing) or from another tool, and a first breakout can fail.

Sources

  1. John Bollinger, Bollinger Bands (bollingerbands.com)
  2. John Bollinger, Bollinger Band Rules
  3. John Bollinger, Bollinger on Bollinger Bands, McGraw-Hill, 2001 (Open Library record)
  4. TradingView, Bollinger Bands %b
  5. TradingView, Bollinger BandWidth
  6. LuxAlgo library, Bollinger squeeze
, 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

All volatility indicators articles