OPEN-SOURCE SCRIPT

Bollinger Bands with Squeeze

This is a standard Bollinger Bands indicator with default values 20-period, 2 standard deviations. The outer bands changes color (default=blue, squeeze=red) when the Bollinger Bands go inside the Keltner Channel with default 20-period, factor 1.5. The Keltner channel itself is not displayed in order to keep the chart clean, only showing the Bollinger Bands. So with default values, the Bollinger Bands are 'blue'. When they move inside the Keltner Band values (internally determined), the Bollinger Bands turn 'red'.

This is the chart representation of what is known as the 'squeeze'. It is often that prices can 'fire' out of this squeeze zone as volatility increases (the Bollinger Bands widen). I created the indicator because after a search did not find one (that worked) where you can just place the Bands on the chart 'alone' without the Keltner channels and have it 'indicate' (change color') where prices are in a 'squeeze' zone.

As to what direction prices are likely to break out of the squeeze zone (referred to as 'fire' from), that determination is subject to the trader/chartist interpretation of other indicators and price action.
Bands and Channels

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항