What Are Bollinger BandWidth and %B? Does a Squeeze Always Explode, and Which Way?
“The Bollinger Bands have narrowed so much. Is a big rally coming?”
After the channel narrows, volatility often does grow, but BandWidth only tells you “a move is coming”, not which way. What is worse, the first breakout often goes the wrong way. This article first introduces the two tools that turn Bollinger Bands into numbers, BandWidth and %B, then uses a real chart marked 1 to 3, and finally answers the question with statistics from 9 instruments.
This article is part of MASQuant’s “Trading Academy · Technical Indicators” series. All the indicators are sorted by category in Technical Indicators: The Complete Guide.
In one sentence
BandWidth = how wide the channel is now. %B = where price is inside the channel now.
The smaller the BandWidth, the narrower the channel. %B of 1 is at the upper band, 0 is at the lower band and 0.5 is at the middle band.
BandWidth is like how tightly a spring is compressed, and %B is like where a ball is in the room. A compressed spring will release sooner or later, but you do not know which way it will go. So BandWidth is good for asking “should I get ready?”, not “buy or sell?”.
Work it out once: two numbers
Suppose the Bollinger middle band is 100, the upper band 110 and the lower band 90 (the following are round numbers for illustration, not market data):
| Item | Calculation | Result |
|---|---|---|
| BandWidth | (110 − 90) ÷ 100 × 100 | 20 (%) |
| %B at a close of 105 | (105 − 90) ÷ (110 − 90) | 0.75 |
| %B at a close of 112 | (112 − 90) ÷ (110 − 90) | 1.10 |
| %B at a close of 88 | (88 − 90) ÷ (110 − 90) | −0.10 |
This table shows the benefit of %B: above 1 means a close outside the upper band, and below 0 means a close outside the lower band, with no need to look at the chart. BandWidth turns the channel’s width into a percentage you can compare with its own past.
The formula
The usual parameters match Bollinger Bands: 20 periods, 2 standard deviations:
BandWidth = (upper band − lower band) ÷ middle band × 100
%B = (close − lower band) ÷ (upper band − lower band)
Both come from John Bollinger, the creator of Bollinger Bands. MT5 has neither built in, so you need a custom indicator or your own calculation. There is no single definition of a squeeze; a common one is “BandWidth at its lowest in about six months”. This article uses BandWidth at a new 120-bar low. For Bollinger Bands themselves, see How to Read Bollinger Bands.
Read the chart: USD/JPY in 2023, following 1 to 3
The chart below shows USD/JPY daily from July to December 2023, taken from MT5 historical prices. Price and Bollinger Bands are at the top, BandWidth in the middle and %B at the bottom.

The squeeze (11 October 2023, BandWidth 1.86). BandWidth set a new 120-bar low that day, against an earlier average of about 3.01. The close was 149.147, and the narrow channel looked ready to move at any moment.
First, an upside breakout (31 October 2023, %B 1.24). The close was 151.611, 1.65% above the squeeze day and outside the upper band. If you chased this as “the squeeze has exploded upwards”, this is where you bought.
14 bars later, a break the other way (20 November 2023, %B −0.06). The close was 148.356, below the squeeze day. The real volatility only started now: by 14 December the close was 141.837, another 4.4% lower, and BandWidth widened to 6.68 on 19 December, 3.6 times the squeeze.
This chart shows two things at once: volatility really did grow after the squeeze, but the first breakout went the wrong way.
This is a real stretch of historical prices, used to show how BandWidth and %B behave. It is not a general rule. Change the instrument, the timeframe or the period, and every number will change.
Statistics: what happens after a squeeze?
Using daily data from 9 instruments on MT5 (forex, gold, silver, indices, Bitcoin and Ethereum) since 2015, we found every day on which BandWidth set a new 120-bar low, counting only cases at least 20 bars apart. That gave 220 cases:
| Question | Result |
|---|---|
| Share with BandWidth at 1.5 times or more 20 bars later | 68.2% |
| Median move after 20 bars (either direction) | 2.99% |
| Median 20-bar move from any day (control group) | 2.70% |
| Share with a close above the squeeze day 20 bars later | 43.6% |
| Cases closing outside the channel within 15 bars | 209 |
| Share going the opposite way 10 bars after the first close outside | 53.6% |
Here is how to read it. BandWidth widening happens most of the time (68.2%), but the actual price move is only a little larger than usual (2.99% vs 2.70%). Direction cannot be guessed: the share going up is 43.6%, below the average for any day; and 10 bars after the first breakout, 53.6% are going the opposite way, slightly worse than a coin toss.
What you see, what it means
| What you see | What it usually means | But be careful |
|---|---|---|
| BandWidth at a recent low | Low volatility, which usually grows later | No direction, and the timing is uncertain too |
| %B above 1 | Close outside the upper band; short-term strength | Over half of first breakouts after a squeeze go the wrong way |
| %B below 0 | Close outside the lower band; short-term weakness | It can last several days in a trend |
| BandWidth widening fast | Volatility is growing | By then the market has usually already moved some way |
| %B around 0.5 | Price near the middle band | Position in the channel is not the whole story on strength |
How to use it: three examples
Example 1: adjust position size in a squeeze, do not place an order
Low BandWidth means low volatility, which usually grows later. Treat it as a reminder: do not set stops too tight, or reduce position size first. It suits risk management, not choosing a direction.
Example 2: wait for a second confirmation
The first breakout is often false. The rule can become: “After a close outside the channel, enter only when a pullback holds the middle band and price closes in the original direction again.” Signals fall sharply, but you avoid situations like 2.
Example 3: write rules with %B
%B turns position into a number, which makes rules easy to write. For example, “%B above 0.8 with BandWidth widening” describes a strong advance, and “%B below 0.2 with BandWidth narrowing” a weak consolidation.
All three examples have to accept the same thing: a squeeze is a signal about volatility, not direction.
Common mistakes
1. Expecting a big rally from a squeeze
In the 220 squeezes, only 43.6% had a higher close 20 bars later. A squeeze does not mean a rise.
2. Chasing the first breakout candle
10 bars after the first close outside the channel, 53.6% are going the opposite way. Chasing 2 on the chart meant seeing the lower band broken 14 bars later.
3. Using %B for overbought and oversold
%B above 1 only means a close outside the upper band. In a trend it can stay above 1 for several bars, for the same reason as Bollinger Bands themselves: expensive can get more expensive.
FAQ
What is Bollinger BandWidth?
BandWidth is (upper band − lower band) ÷ middle band × 100. It turns the channel’s width into a percentage, showing whether volatility is growing or shrinking.
What is %B?
%B is (close − lower band) ÷ (upper band − lower band), showing price’s relative position in the channel. 1 is the upper band, 0 is the lower band, and beyond those means a close outside the channel.
Does a Bollinger squeeze always lead to a big move?
No. In 220 squeezes on 9 instruments since 2015, BandWidth was at 1.5 times or more 20 bars later in 68.2% of cases, and direction could not be guessed.
Does MT5 have BandWidth and %B?
MT5 only has Bollinger Bands built in. BandWidth and %B need a custom indicator or your own calculation.
Conclusion
A squeeze tells you the spring is compressed, not which way it will release. The useful question is not “which way will it go?” but “can my rules survive either way?”.
So the real question is: how many false breakouts after a squeeze will your breakout rules lose on before the real one arrives? One stretch of historical prices cannot answer that; you have to backtest the rule over many stretches of the market.
Don’t have rules of your own yet, and don’t want to piece them together one indicator at a time? With MASQuant’s Strategy Genie, you just choose an investment style first; the AI analyses market conditions, selects instruments and gives you three candidate strategies at once. Each one has already been backtested on historical data, with its returns and maximum drawdown laid out in the open, and then you decide whether to deploy it to MT5.
If you already have an idea of your own, write the condition as one sentence, for example “after BandWidth sets a new 120-bar low, only go long when the close breaks above the upper band”, give it to the AI Strategy Assistant, and press go to start the backtest. The backtest environment includes real market frictions such as spreads, slippage, changes in market liquidity and execution delays (see the AI Strategy Assistant guide for how to use it). Then add “enter only after a pullback to the middle band” and run it again, and you will see the difference. A backtest tells you “how this rule performed in past market conditions”, not a guarantee about the future.
An idea only becomes a strategy once it’s been tested.
Not sure which strategy to use?
New here? Start with this 10-minute beginner’s guide. It walks you through picking your investment style, letting MASQuant’s Strategy Genie use AI to generate and backtest candidate strategies, and running one on an MT5 demo account, step by step.
Read the 10-Minute Beginner’s Guide →Ready already? Sign in with Google to start for free. No credit card needed for your 15-day free trial.
All strategies and backtests are for reference only and do not constitute investment advice.
The price chart and statistics in this article are taken from historical prices on the MT5 platform (daily; quotes and daily candle cut-off times differ slightly between platforms, so values may not match exactly), and the indicators are calculated by a program using the standard formulas; the round numbers in the example are not market data. The statistics do not include spreads, commissions or slippage. Historical prices are used only to show how the indicator behaves and do not represent future price movements.
Risk disclosure: CFDs are high-risk financial products and can lead to rapid loss of capital. Past performance does not guarantee future results. All strategies and backtests are for reference only and do not constitute investment advice. Please read our Risk Disclosure carefully before trading.
Further reading:
- How to Read Bollinger Bands? Touching the Lower Band Doesn’t Mean Cheap — Cheap Can Get Cheaper
- What Is the Keltner Channel? How It Differs from Bollinger Bands, and What a “Squeeze” Really Is
- What Is the Standard Deviation Indicator? Does a Rising Standard Deviation Mean the Market Is Getting Dangerous?
- Technical Indicators: The Complete Guide to 49 Common Indicators, Sorted by What They Measure


