Last updated on December 10th, 2019
The Bollinger Band Squeeze can help us determine if a market has compressed enough into a trading range to warn of a breakout occurring.
The Squeeze indicator consists of:
1. Bollinger Bands – From John Bollinger
The standard deviation of this movement is calculated and lines are plotted a fixed number of standard deviations above and below the 20-day simple moving average. These are called the upper band and the lower band.
This is a very popular indicator and can be used for both breakout and fading strategies.
At its core, the Bollinger Band indicator measures the volatility of closing prices. During periods of high volatility, the bands expand during periods of low volatility, the bands contract.
Typically the bands are drawn 2 standard deviations around the moving average, which means that statistically 95% of the closing prices are contained within the bands.
2. Keltner Channels
Keltner Channels are the second component and they are similar to Bollinger Bands in their appearance and usage. The average true range (ATR) of price bars is calculated and the channel lines are drawn a fixed number of ATR’s above and below a moving average of closing prices.
Because the ATR tends to remain fairly consistent, the Keltner Channel does not change much in size.
Similar to Bollinger Bands, the Keltner Channel can be used in both breakout and fading strategies. Typically the channel lines are drawn 1.5 ATR’s above and below the moving average, and the normal interpretation is that price is overbought or oversold as it approaches these lines.
An advantage of the Keltner Channel over Bollinger Bands is that it reacts more quickly to price changes, and as trends develop the channels begin sloping up or down with little lag.
Better Risk Reward Trades Are Possible
Whenever market volatility decreases and our strong trends begin to slow, we see the Bollinger Bands tighten while the Keltner Channel remains relatively constant. As volatility continues to decrease the bands will eventually move inside the channel lines and this is where we become on alert for trading signals.
This means that using the typical default values, 95% of the closing prices fall within 1.5 ATR’s of the moving average, and that is what constitutes a squeeze.
Here we see an hourly chart of the USDCHF.
- The Bollinger Bands are the solid lines
- The Keltner Channel the dotted lines
- The rectangles highlight the areas where the bands are contained inside the channel
Note that during these periods, price chops around in a narrow range until a breakout movement eventually ends the squeeze.
If you are a day trader presented with this information you may decide to sit on the sidelines until the squeeze is over as the bands show you are in a choppy market.
Traders may want to watch support and resistance levels when the squeeze is showing signs of ending. Many traders like to play the breakout expecting that the coiled energy in the squeeze will lead to large price movements.
The squeeze can be applied to any instrument and any time frame.
Using the default values for the indicators (2 standard deviations, 1.5 ATR’s and a 20-period moving average) we get the results we see above.
The squeeze is not the Holy Grail.
It has 3 limitations:
- The first and more serious limitation is that it’s a lagging indicator. It will only tell you that you’re in a squeeze after the consolidation has already started, and it will tell you that the squeeze is over only after the breakout move has already taken place.
- The second limitation is that the squeeze is not a directional indicator. When the squeeze is over you it doesn’t tell you in which direction price will move, you’ll have to determine that from the price action itself or by combining the squeeze with other directional indicators. This is not much of an issue if you’re trading manually but does have an impact if you develop an automated strategy.
- It really doesn’t offer trading signals
I have to remind you again; there is no such thing as the holy grail of trading.
At this point, you may want to ignore any buy or sell signal your trading strategy gives you while in the squeeze.
Code Your Own Squeeze Trading Indicator
Although simple in concept, it can get a bit confusing staring at all these bands and channels on the chart, especially if you have other indicators plotted on your chart.
To help reduce the clutter you could develop a separate indicator for the squeeze and simply remove the Bollinger Bands and Keltner Channel from the chart.
Both indicators are symmetrical, meaning that the upper and lower bands or channel lines are the same distance from the moving average. That means that we can focus on only one side in developing our indicator. In our case, we’ll just consider the upper lines.
The basic formulas we need are:
- Bollinger Band = Moving Average + (Number of standard deviations X Standard Deviation)
- Keltner Channel = Moving Average + (Number of ATR’s X ATR)
Or if we translate this into pseudo-code:
- BBUpper = Avg(close,period) + (BBDevs X StdDev(close,period))
- KCUpper = Avg(close,period) + (KCDevs X ATR(period))
The squeeze is calculated by taking the difference between these two values:
- Squeeze = BBUpper – KCUpper
Which simplifies down to this:
- Squeeze = (BBDevs X StdDev(close,period)) – (KCDevs X ATR(period))
StdDev and ATR are basic functions included in all major charting applications (the names will vary by platform, just dig a little), while BBDevs (number of standard deviations), KCDevs (number of ATR’s) and period (length of the moving average) are your input values.
Whenever the Bollinger Bands are outside the Keltner Channel, the Squeeze indicator will give you a positive value; whenever they are inside the Keltner Channel, the Squeeze will give you a negative value.
Above is our original USDCHF chart with the Squeeze indicator added. I highlighted the areas where the Squeeze goes negative. Notice how they coincide with the Bollinger Bands moving inside the Keltner Channel on the price chart.
You may also consider displaying the Squeeze as a histogram instead of a line, which I find makes it easier to read which you can see below.
Use The Bollinger Band Squeeze To Stay Out Of Choppy Markets
As I stated earlier, the Squeeze indicator is not a Holy Grail. It is instead one more tool for your trading arsenal to help you stay out of choppy trading periods.
Use it as a filter in conjunction with other indicators to enter a trade, or use it as one of several setup indicators.
You can apply it directly to the chart that you’re trading, but I have found it to be extremely effective when applied to a higher time frame chart.
For example, as a Bollinger band squeeze trade strategy, if you are day trading on a five-minute chart, apply the Squeeze to an hourly or four-hour chart and use that as your chop indicator. You will miss out on some winning trades, but consolidation on higher time frames typically yields very choppy trading on the lower time frame.
Trading in choppy markets can be hazardous to your trading account. The faster you can determine this market state, the faster you can sit on your hands and preserve your trading capital.
Our free gift to you: Download the NPSqueeze Indicator