OPEN-SOURCE SCRIPT
Aggiornato

Candle-Pattern Detector Pro

752
Candle-Pattern Detector Pro (CPD-Pro++)

This indicator automatically identifies 48 classic candlestick patterns on the chart, marking each occurrence with a label showing the pattern's abbreviation (e.g., HA = Hammer, LE = Long Engulfing, 3WS = Three White Soldiers, etc.), placed directly above or below the corresponding candle.

How it works
The script analyzes the relationship between body, upper shadow, and lower shadow of each candle (and of previous candles, when a pattern requires multi-bar confirmation) to classify reversal, continuation, and indecision formations — such as Hammer, Engulfing, Morning/Evening Star, Three Methods, Kicking, and others.

How traders can use it

Fast visual identification: instead of memorizing dozens of patterns, the trader sees the abbreviation directly on the candle where the pattern occurred.
Confluence with other tools: the patterns detected here work best as confirmation context — for example, a Hammer (HA) or Bullish Engulfing (LE) near a support/liquidity zone carries far more weight than the same pattern in isolation.
Configurable alerts: each of the 48 patterns has its own individual alertcondition, allowing traders to set up alerts for a specific pattern (e.g., only Morning Star) without having to watch the chart manually.
Per-pattern customization: each pattern can be individually enabled/disabled and given a custom color, letting traders build a lean setup with only the patterns relevant to their strategy (e.g., only top/bottom reversal patterns).

Limitations and recommended use

Candlestick patterns are probabilistic, not deterministic — they should not be used as a standalone entry/exit signal.
It's recommended to combine this indicator's signals with market structure (support/resistance, trend, volume) to filter out false positives.
This script is a technical analysis aid and does not constitute investment advice.
Note di rilascio
ok

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.