OPEN-SOURCE SCRIPT

BB and Keltner Squeeze

Updated
Strategy using the Bollinger band with the Keltner Channels . Watch for the Bollinger bands (blue/red lines) squeezing inside the Keltner Channels (pink dots) for a breakout - this could be up or down so use in conjunction with other indicators.

The blue band is the 2 standard deviation from price, the red is 3 standard deviations. With these, typically if the price bounces off the red then it will retrace a little, (although if there is a massive breakout/down this may not hold). When the bands narrow this is an indicator of consolidation, therefore with a likely upcoming breakup or down.

The pink dots are the Keltner Channels. The strategy says if the bollinger bands come inside the Keltner Channels then this is a strong indicator that the breakout is coming. Sometimes the length of time the squeeze occurs for is indicative of the length/strength of the breakout.

These indicators can be used on all timeframes but higher timeframes will be stronger and more reliable of a trend change.

Release Notes
New version - minor change to an incorrect title. No change to function of script.


Strategy using the Bollinger band with the Keltner Channels . Watch for the Bollinger bands (blue/red lines) squeezing inside the Keltner Channels (pink dots) for a breakout - this could be up or down so use in conjunction with other indicators.

The blue band is the 2 standard deviation from price, the red is 3 standard deviations. With these, typically if the price bounces off the red then it will retrace a little, (although if there is a massive breakout/down this may not hold). When the bands narrow this is an indicator of consolidation, therefore with a likely upcoming breakup or down.

The pink dots are the Keltner Channels . The strategy says if the bollinger bands come inside the Keltner Channels then this is a strong indicator that the breakout is coming. Sometimes the length of time the squeeze occurs for is indicative of the length/strength of the breakout.

These indicators can be used on all timeframes but higher timeframes will be stronger and more reliable of a trend change.
Release Notes
Just cleaning up the chart so it can be seen better!
Bollinger Bands (BB)bollingerbandstrategyKeltner Channels (KC)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Come say hi @elisa_crypto on twitter!

Disclaimer