OPEN-SOURCE SCRIPT
Güncellendi

BB with Heikin Ashi + Reversal Check

164
This indicator combines Bollinger Bands (BB) with Heikin Ashi candles to detect potential reversal points after price breaks the BB boundaries. It works on any symbol and timeframe, retrieving Heikin Ashi data via request.security().

Core Features
Heikin Ashi Candle Plot

Smooths price action by using Heikin Ashi candles instead of regular candles.

Candles are plotted directly on the chart with green (bullish) and red (bearish) colors.

Bollinger Bands (BB)

Calculated from Heikin Ashi close price.

Includes Basis (MA), Upper Band, and Lower Band, with customizable MA type, length, and standard deviation multiplier.

Break & Reversal Detection

The indicator tracks whether the price has broken above the Upper Band (p1) or below the Lower Band (p2).

It remembers the last breakout direction until the opposite breakout occurs (mutually exclusive logic).

Signal Logic

Long Signal (▲):
Price was previously below the Lower Band and then reversed upward (BB Lower rising + Heikin Ashi candle rising).

Short Signal (▼):
Price was previously above the Upper Band and then reversed downward (BB Upper falling + Heikin Ashi candle falling).

Alerts

Custom alert conditions trigger when Long or Short signals occur, allowing automated notifications or bot integration.

Use Cases
✅ Swing Trading / Trend Reversal – Identify potential bottom/top reversals after BB breakouts.
✅ Mean Reversion Strategies – Enter trades when the price reverts to the BB mean after an extreme breakout.
✅ Multi-Timeframe Analysis – Works with any timeframe and symbol via request.security().

Customization
MA Type: SMA, EMA, RMA, WMA, VWMA

BB Length & StdDev Multiplier

Timeframe & Symbol Selection

Sürüm Notları
overlay=false
Sürüm Notları
overlay=true,scale = scale.none
Sürüm Notları
candleUp = ta.rising(haClose,1) and haClose>haHigh[1]

candleDown = ta.falling(haClose,1) and haClose<haLow[1]

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.