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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.