OPEN-SOURCE SCRIPT
15 Consecutive Heikin Ashi Candles Alert

This 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
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
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.