OPEN-SOURCE SCRIPT
Candlestick Pattern Detector (v8)

Indicator Description – Candlestick Pattern Detector (v8)
This indicator automatically detects and highlights some of the most popular candlestick reversal and continuation patterns directly on the chart. It’s designed for traders who want clear visual signals for price action setups without having to scan every candle manually.
Patterns Included:
Bullish Engulfing – Strong bullish reversal when a green candle fully covers the previous red candle.
Bearish Engulfing – Strong bearish reversal when a red candle fully covers the previous green candle.
Morning Star – A 3-candle bullish reversal pattern, signalling exhaustion of selling pressure.
Evening Star – A 3-candle bearish reversal pattern, signalling exhaustion of buying pressure.
Three White Soldiers – Three consecutive strong bullish candles with small wicks, often showing trend continuation.
Three Black Crows – Three consecutive strong bearish candles with small wicks, often marking trend continuation.
Hammer – A bullish rejection candle with a small body and a long lower wick, usually after a downtrend.
Inverted Hammer – A potential bullish reversal candle with a small body and a long upper wick.
Features:
Labels on chart: Each detected pattern is marked with a label (e.g., Bull Engulf, Morning Star, 3WS, Hammer).
Colored candles: Optionally colors bars when patterns appear (green for bullish, red for bearish).
Engulfing mode toggle: Choose between strict wick-to-wick engulfing or body-only engulfing.
Customizable display: Toggle individual patterns on/off to focus on the setups you use.
Why use this indicator?
Candlestick formations provide insight into market psychology and momentum shifts. By automating the detection of these patterns, this tool helps traders:
Spot potential reversals early.
Confirm trade setups with clear visual cues.
Save time manually checking each candle.
⚠️ Disclaimer: This indicator is for educational and analysis purposes only. It does not provide financial advice or guarantee profitability. Always combine candlestick signals with broader technical/fundamental analysis and risk management.
This indicator automatically detects and highlights some of the most popular candlestick reversal and continuation patterns directly on the chart. It’s designed for traders who want clear visual signals for price action setups without having to scan every candle manually.
Patterns Included:
Bullish Engulfing – Strong bullish reversal when a green candle fully covers the previous red candle.
Bearish Engulfing – Strong bearish reversal when a red candle fully covers the previous green candle.
Morning Star – A 3-candle bullish reversal pattern, signalling exhaustion of selling pressure.
Evening Star – A 3-candle bearish reversal pattern, signalling exhaustion of buying pressure.
Three White Soldiers – Three consecutive strong bullish candles with small wicks, often showing trend continuation.
Three Black Crows – Three consecutive strong bearish candles with small wicks, often marking trend continuation.
Hammer – A bullish rejection candle with a small body and a long lower wick, usually after a downtrend.
Inverted Hammer – A potential bullish reversal candle with a small body and a long upper wick.
Features:
Labels on chart: Each detected pattern is marked with a label (e.g., Bull Engulf, Morning Star, 3WS, Hammer).
Colored candles: Optionally colors bars when patterns appear (green for bullish, red for bearish).
Engulfing mode toggle: Choose between strict wick-to-wick engulfing or body-only engulfing.
Customizable display: Toggle individual patterns on/off to focus on the setups you use.
Why use this indicator?
Candlestick formations provide insight into market psychology and momentum shifts. By automating the detection of these patterns, this tool helps traders:
Spot potential reversals early.
Confirm trade setups with clear visual cues.
Save time manually checking each candle.
⚠️ Disclaimer: This indicator is for educational and analysis purposes only. It does not provide financial advice or guarantee profitability. Always combine candlestick signals with broader technical/fundamental analysis and risk management.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.