OPEN-SOURCE SCRIPT
업데이트됨 Candlestick Pattern Scanner

Candlestick Pattern Scanner
Candlestick Pattern Scanner detects 28 classic Japanese candlestick patterns, 13 bullish, 13 bearish, 2 neutral, and qualifies every reversal pattern against its own prior-trend context, not candle shape alone. The same geometry (small body, long lower wick) reads as a Hammer after a downtrend and a Hanging Man after an uptrend.
HOW IT WORKS
Trend Engine, combines EMA slope, price displacement, market structure (higher-highs/higher-lows vs. lower-highs/lower-lows), and an optional efficiency-ratio directional weight into a 5-state trend read (Strong Downtrend to Strong Uptrend).
Off / Standard / Strict per pattern, every pattern is configured independently. Strict demands tighter geometric tolerance, a stronger prior trend, and better close/open placement than Standard.
Quality Score (0-100), geometry (40%), trend alignment (30%), proximity to a recent swing high/low (15%), and range-vs-ATR normalcy (15%). Ranks how far beyond the bare minimum a detection sits; it never changes whether a pattern fires, only how it's ranked and filtered.
Conflict resolution, when multiple patterns fire on the same bar, Display Mode picks what gets labeled: All, Highest Priority (multi-candle > two-candle > single-candle > neutral), or Highest Quality (default).
Built-in legend, a bottom-left table maps every abbreviation to its full pattern name.
BUILT-IN TRACKING
The Data Window keeps a running count of every pattern found, grouped Bullish/Bearish/Neutral with totals, a quick read on which patterns are actually showing up on this symbol/timeframe, not just single detections.
INPUTS
DISCLAIMER
This is an independent, original implementation of publicly known candlestick concepts, not a clone of, or claim of equivalence to, any specific commercial product. Every threshold is disclosed in the script itself. Classical candlestick patterns are not inherently predictive; use the Quality Score and your own back-testing to judge whether a given pattern/context combination has real edge on the symbol and timeframe you're trading, and always apply proper risk management.
Candlestick Pattern Scanner detects 28 classic Japanese candlestick patterns, 13 bullish, 13 bearish, 2 neutral, and qualifies every reversal pattern against its own prior-trend context, not candle shape alone. The same geometry (small body, long lower wick) reads as a Hammer after a downtrend and a Hanging Man after an uptrend.
HOW IT WORKS
Trend Engine, combines EMA slope, price displacement, market structure (higher-highs/higher-lows vs. lower-highs/lower-lows), and an optional efficiency-ratio directional weight into a 5-state trend read (Strong Downtrend to Strong Uptrend).
Off / Standard / Strict per pattern, every pattern is configured independently. Strict demands tighter geometric tolerance, a stronger prior trend, and better close/open placement than Standard.
Quality Score (0-100), geometry (40%), trend alignment (30%), proximity to a recent swing high/low (15%), and range-vs-ATR normalcy (15%). Ranks how far beyond the bare minimum a detection sits; it never changes whether a pattern fires, only how it's ranked and filtered.
Conflict resolution, when multiple patterns fire on the same bar, Display Mode picks what gets labeled: All, Highest Priority (multi-candle > two-candle > single-candle > neutral), or Highest Quality (default).
Built-in legend, a bottom-left table maps every abbreviation to its full pattern name.
BUILT-IN TRACKING
The Data Window keeps a running count of every pattern found, grouped Bullish/Bearish/Neutral with totals, a quick read on which patterns are actually showing up on this symbol/timeframe, not just single detections.
INPUTS
- General: master Bullish/Bearish/Neutral toggles, Display Mode, Use Full Names, Show Quality Score, Minimum Quality.
- Trend Engine: lookback, EMA lengths, strong/weak thresholds, efficiency-ratio toggle, ATR length, tolerance factors.
- Pattern Configuration: Off/Standard/Strict per pattern, 28 total.
- Appearance: bullish/bearish/neutral colors, label size/offset/transparency, legend table toggle.
- Alerts: per-direction toggles and a minimum alert quality.
DISCLAIMER
This is an independent, original implementation of publicly known candlestick concepts, not a clone of, or claim of equivalence to, any specific commercial product. Every threshold is disclosed in the script itself. Classical candlestick patterns are not inherently predictive; use the Quality Score and your own back-testing to judge whether a given pattern/context combination has real edge on the symbol and timeframe you're trading, and always apply proper risk management.
릴리즈 노트
- Default quality to 95
- Visually hidden labels under quality threshold
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.