JuicY-trading

BB phases

This indicator is designed to visually represent different market phases based on Bollinger Bands (BB) and provide insights into potential bullish and bearish signals. Let's break down what the indicator does:

The indicator smoothly transitions from the "squeeze" phase to "bullish" or "bearish" phases based on specific price conditions. Here's a more detailed explanation of how this transition occurs:
  1. Squeeze Phase: The "squeeze" phase is identified when the closing price is within the range between the upper Bollinger Band (upper BB) and the lower Bollinger Band (lower BB).
  2. Transition to Bullish Phase: The transition from "squeeze" to "bullish" phase occurs when the price closes above the upper BB. The bullish phase will last while the price hasn't closed below the middle BB.
  3. Transition to Bearish Phase: Conversely, the transition from "squeeze" to "bearish" phase occurs when the price closes below the lower BB. The bearish phase will last while the price hasn't closed above the middle BB.

Another feature of the indicator is to display bearish/bullish triangles when the price reintegrate the bollinger bands after it previously breaked it. For example if the price closes below the lower BB and then the next candle in above the lower BB, a bullish triangle will be displayed.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?