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.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?