%B Indicator

What Is the %B Indicator?

The %B Indicator measures a security's price in relation to the upper and lower Bollinger Bands. You can use it to identify overbought or oversold conditions and gauge trend strength. If you use it with other indicators, like the Money Flow Index (MFI), it can help you spot entry points within a given trend. Overall, the %B is a versatile tool that can help enhance your ability to analyze and respond to markets.

There are six basic relationship levels:

  • %B is below 0 when price is below the lower band

  • %B equals 0 when price is at the lower band

  • %B is between 0 and .50 when price is between the lower and middle band (20-day SMA)

  • %B is between .50 and 1 when price is between the upper and middle band (20-day SMA)

  • %B equals 1 when price is at the upper band

  • %B is above 1 when price is above the upper band

How Do You Calculate the %B Indicator?

%B = (Price - Lower Band)/(Upper Band - Lower Band)

The default setting for %B is based on the default setting for Bollinger Bands (20,2). The bands are set two standard deviations above and below the 20-day simple moving average, which is also the middle band. Security price is the close or the last trade.

Signals: Overbought/Oversold

%B can be used to identify overbought and oversold situations. However, it is important to know when to look for overbought vs. oversold readings. As with most momentum oscillators, it is best to look for short-term oversold situations when the medium-term trend is up and short-term overbought situations when the medium-term trend is down. In other words, look for opportunities in the direction of the bigger trend, such as a pullback within a bigger uptrend. You must define the bigger trend before looking for overbought or oversold readings.

Chart 1 shows Apple (AAPL) within a strong uptrend. %B moved above 1 several times, but these “overbought” readings still failed to produce good sell signals. Pullbacks were shallow as Apple reversed well above the lower band and resumed its uptrend. John Bollinger refers to “walking the band” during strong trends. This refers to the notion that, in a strong uptrend, prices can walk up the upper band and rarely touch the lower band. Conversely, in a strong downtrend, prices can walk down the lower band and rarely touch the upper band.

After identifying a bigger uptrend, %B can be considered oversold when it moves to zero or below. Remember, %B moves to zero when price hits the lower band and below zero when price moves below the lower band. This represents a move that is 2 standard deviations below the 20-day moving average.

Chart 2 shows the Nasdaq 100 ETF (QQQQ) within an uptrend that began in March 2009. %B moved below zero three times during this uptrend. The oversold readings in early July and early November provided good entry points to partake in the bigger uptrend (green arrows).

Signals: Trend Identification

John Bollinger described a trend-following system using %B with the Money Flow Index (MFI). An uptrend begins when %B is above .80 and MFI(10) is above 80. MFI is bound between zero and one hundred. A move above 80 places MFI(10) in the upper 20% of its range, which is a strong reading. Downtrends are identified when %B is below 0.20 and MFI(10) is below 20.

Chart 3 shows FedEx (FDX) with %B and MFI(10). An uptrend started in late July when %B was above 0.80 and MFI was above 80. This uptrend was subsequently affirmed with two more signals in early September and mid-November. While these signals were good for trend identification, traders would likely have had issues with the risk-reward ratio after such big moves. It takes a substantial price surge to push %B above 0.80 and MFI(10) above 80 at the same time. Traders might consider using this method to identify the trend and then look for appropriate overbought or oversold levels for better entry points.

The Bottom Line

%B quantifies the relationship between price and Bollinger Bands. Readings above .80 indicate that price is near the upper band. Readings below .20 indicate that price is near the lower band. Surges towards the upper band show strength, but can sometimes be interpreted as overbought. Plunges to the lower band show weakness, but can sometimes be interpreted as oversold. A lot depends on the underlying trend and other indicators. While %B can have some value on its own, it is best when used in conjunction with other indicators or price analysis.


Using with SharpCharts

%B can be found in the indicator list on SharpCharts. The default parameters (20,2) are based on the default parameters for Bollinger Bands, though these can be changed accordingly. 20 represents the periods in the simple moving average, while 2 represents the number of standard deviations for the upper and lower band. %B can be positioned above, below or behind the price plot. Click here to see a live example of %B.

Suggested Scans

%B Uptrend Scan

This scan filters out stocks where %B is above 0.80 and MFI just crossed above 80. According to Bollinger, these stocks could be starting new upswings. This scan is just a starting point; further refinement and analysis are required.

[type = stock] AND [country = US] 
AND [Daily SMA(20,Daily Volume) > 40000] 
AND [Daily SMA(60,Daily Close) > 5] 

AND [Daily %B(20,2.0,Daily Close) > 0.8] 
AND [Daily MFI(14) > 80] 
AND [Yesterday's Daily MFI(14) < 80]

%B Downtrend Scan

This scan filters out stocks where %B is below 0.20 and MFI just crossed below 20. According to Bollinger, these stocks could be starting new downswings. This scan is just a starting point; further refinement and analysis are required.

[type = stock] AND [country = US] 
AND [Daily SMA(20,Daily Volume) > 40000] 
AND [Daily SMA(60,Daily Close) > 5] 

AND [Daily %B(20,2.0,Daily Close) < 0.2] 
AND [Daily MFI(14) < 20] 
AND [Yesterday's Daily MFI(14) > 20]

For more details on the syntax to use for %B scans, please see our Scanning Indicator Reference in the Support Center.

%B FAQs

What is %B in relation to Bollinger Bands?

%B quantifies a security's price in relation to the upper and lower Bollinger Bands.

How can you determine if a stock is genuinely overbought or oversold using %B?

It's essential to identify the larger trend first. In a bigger uptrend, %B is considered oversold when it moves to zero or below. In a strong downtrend, %B can be considered overbought when it approaches or exceeds 1.

How can I use the %B for trend identification?

An uptrend is identified when %B is above 0.80 and MFI(10) is above 80. Conversely, downtrends are spotted when %B is below 0.20 and MFI(10) is below 20.

What’s the relationship between %B and the Money Flow Index (MFI)?

John Bollinger proposed a trend-following system using %B in conjunction with the Money Flow Index. The two indicators combined can help identify significant trend directions.

Are there any limitations to solely relying on %B?

While %B can indicate when a stock is near its bands, it doesn't always mean a stock is overbought or oversold. It is best used in combination with other indicators or price analysis.

Last updated