PROTECTED SOURCE SCRIPT
Pattern Detector

Pattern Detector
Identifies and summarizes common chart patterns on any symbol/timeframe. Shows a compact table of the most recent confirmed patterns (up to 6), optional candle coloring that matches table row colors, and optional targets for context. Designed for analysis support only.
What it detects
Triangles and wedges, flags and pennants, head & shoulders (and inverse), rectangles, channels, broadening formations, double/triple tops & bottoms, cup & handle (and inverse), rounding tops/bottoms, diamonds, bump & run, island reversals, staircase patterns, V patterns, gaps (up/down), pipe/spike patterns, harmonic ABCD, Elliott (simplified), three drives, Quasimodo, dead cat bounce, tower top/bottom, shakeout, and Wolfe waves.
Inputs
Lookback Mode: Auto or Manual (Manual Lookback bars)
Min Confidence to Confirm: threshold for confirmation
Display: Show Pattern Table, Show Pattern Numbers, Color Pattern Candles
Style: table row colors; bullish/bearish direction colors
Notes:
Candle coloring uses the table’s row colors and requires Show Pattern Table to be enabled.
Targets are approximate and for reference only.
Alerts
Pattern Confirmed
Pattern Target Reached
Important
Educational/information tool only; not a signal generator and not financial advice.
No performance guarantees. Use with other analysis and risk management.
Calculations update in real time; confirmations happen on closed bars. Detected patterns can change intrabar; use closed‑bar alerts for greater reliability.
Results may vary by symbol, timeframe, liquidity, and volatility.
Identifies and summarizes common chart patterns on any symbol/timeframe. Shows a compact table of the most recent confirmed patterns (up to 6), optional candle coloring that matches table row colors, and optional targets for context. Designed for analysis support only.
What it detects
Triangles and wedges, flags and pennants, head & shoulders (and inverse), rectangles, channels, broadening formations, double/triple tops & bottoms, cup & handle (and inverse), rounding tops/bottoms, diamonds, bump & run, island reversals, staircase patterns, V patterns, gaps (up/down), pipe/spike patterns, harmonic ABCD, Elliott (simplified), three drives, Quasimodo, dead cat bounce, tower top/bottom, shakeout, and Wolfe waves.
Inputs
Lookback Mode: Auto or Manual (Manual Lookback bars)
Min Confidence to Confirm: threshold for confirmation
Display: Show Pattern Table, Show Pattern Numbers, Color Pattern Candles
Style: table row colors; bullish/bearish direction colors
Notes:
Candle coloring uses the table’s row colors and requires Show Pattern Table to be enabled.
Targets are approximate and for reference only.
Alerts
Pattern Confirmed
Pattern Target Reached
Important
Educational/information tool only; not a signal generator and not financial advice.
No performance guarantees. Use with other analysis and risk management.
Calculations update in real time; confirmations happen on closed bars. Detected patterns can change intrabar; use closed‑bar alerts for greater reliability.
Results may vary by symbol, timeframe, liquidity, and volatility.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.