PROTECTED SOURCE SCRIPT
Candlestick Pattern Dectector

Candle Pattern Detector is a price action tool that scans every candle in real time and tags the major reversal and continuation patterns for you. Instead of guessing what you are seeing on the chart, this script reads the structure of each candle, compares it to recent volatility, and then prints a clear trade bias: Long, Short, or Neutral.
The script measures body size, total range, and wick length over a customizable lookback period so it can filter out tiny, meaningless candles and focus on decisive moves. From there it automatically detects:
Doji (neutral, potential reversal zones)
Hammer and Hanging Man
Inverted Hammer and Shooting Star
Bullish and Bearish Engulfing
Morning Star and Evening Star
Piercing Line and Dark Cloud Cover
Three White Soldiers and Three Black Crows
When a valid pattern forms, the indicator prints a color-coded label on the chart that includes both the pattern name and the suggested signal. Green labels and triangle-up markers highlight Long setups. Red labels and triangle-down markers highlight Short setups. Doji and other neutral reads are shown as informational only so you can pay attention to possible turning points.
Alerts are built in so you do not have to stare at the screen. Turn on alerts once, choose Long and/or Short, and the script will notify you when a new pattern and signal are printed at bar close. The lookback period, alerts, and labels can all be toggled in the inputs to fit your style, whether you are scalping intraday or swing trading higher time frames.
Use Candle Pattern Detector as a decision support tool: line it up with your own key levels, higher time frame trend, and risk management plan. It will handle the pattern recognition work so you can stay focused on execution.
The script measures body size, total range, and wick length over a customizable lookback period so it can filter out tiny, meaningless candles and focus on decisive moves. From there it automatically detects:
Doji (neutral, potential reversal zones)
Hammer and Hanging Man
Inverted Hammer and Shooting Star
Bullish and Bearish Engulfing
Morning Star and Evening Star
Piercing Line and Dark Cloud Cover
Three White Soldiers and Three Black Crows
When a valid pattern forms, the indicator prints a color-coded label on the chart that includes both the pattern name and the suggested signal. Green labels and triangle-up markers highlight Long setups. Red labels and triangle-down markers highlight Short setups. Doji and other neutral reads are shown as informational only so you can pay attention to possible turning points.
Alerts are built in so you do not have to stare at the screen. Turn on alerts once, choose Long and/or Short, and the script will notify you when a new pattern and signal are printed at bar close. The lookback period, alerts, and labels can all be toggled in the inputs to fit your style, whether you are scalping intraday or swing trading higher time frames.
Use Candle Pattern Detector as a decision support tool: line it up with your own key levels, higher time frame trend, and risk management plan. It will handle the pattern recognition work so you can stay focused on execution.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.