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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?