%B Indicator

This is an old revision of the document!


%B Indicator

Introduction

%B quantifies a security's price relative to the upper and lower Bollinger Band. 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

Calculation

%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 2 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.

Chart 1

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).

Chart 2

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 .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 .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 .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.

Chart 3

Conclusion

%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.

Chart 4

Suggested Scans

%B Uptrend Scan

This scan filters out stocks where %B is above .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 .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.