15 Consecutive Heikin Ashi Candles AlertThis indicator detects 15 consecutive Heikin Ashi candles in the same direction (bullish or bearish) and alerts you the moment the 15th candle closes.
Key Features:
Accurate Heikin Ashi detection using ticker.heikinashi (works on any chart type)
Configurable streak length (default 15) and Heikin Ashi timeframe (default 3 minutes)
Triggers alerts only once when the streak reaches exactly 15 (no spam on longer streaks)
Live visual streak counter (histogram) — green for bullish, red for bearish
Optional overlay of clean Heikin Ashi candles on your chart
Real-time table showing current streak direction and count
Background flash + large on-chart labels when the 15-candle streak is confirmed
Clean, lightweight code with zero repainting
Best Use:
Ideal on 3-minute charts for scalping or momentum trading
Great for catching strong trends early in crypto, forex, or stocks
Set alerts for "15 Bullish HA Candles" or "15 Bearish HA Candles"
Settings:
Streak Length → Change alert threshold
Overlay Heikin Ashi Candles → Toggle HA display
Heikin Ashi Timeframe → Use "3" for 3-minute HA data
Pine Script®指标






















