Patterns, Elliott Waves & Cycles
XABCD, Head and Shoulders, Elliott Wave theory, and cyclical market analysis.
Mr. Chartist Workflow
Read with a trading desk mindset.
Every TradingView article now follows a practical pattern: understand the tool, map it to a charting workflow, apply it on Indian market instruments, and turn it into a repeatable workspace habit.
8
Sections
5m
Read
drawing
Level
Open a clean chart and locate the exact TradingView area covered in "Patterns, Elliott Waves & Cycles".
Apply it on one liquid NSE stock, one index, and one weekly timeframe so the concept is not learned in isolation.
Save the layout, write one note about what improved your decision-making, and remove anything that adds noise.
Chart patterns are the fingerprints of crowd psychology. Every Head & Shoulders, every harmonic Butterfly, every Elliott Wave impulse is a visual representation of fear, greed, accumulation, and distribution occurring at massive scale across millions of market participants.
TradingView provides the most comprehensive pattern recognition toolkit on any charting platform—spanning manual drawing tools for XABCD harmonics and Elliott Wave structures, built-in Auto Chart Pattern detection for classical formations, and a massive community library of Pine Script pattern scanners.
In this extensive guide, we will dissect every category of pattern tool available on TradingView, explain the mathematical rules that validate each pattern, and provide actionable workflows for applying these tools to the Indian equity and F&O markets. Whether you are labelling your first Elliott Wave impulse on Nifty's monthly chart or scanning for Gartley setups on Bank Nifty options, this guide will serve as your definitive reference.
1. The Pattern Tool Universe
TradingView's pattern tools are organized into four major categories, each addressing a fundamentally different aspect of market structure analysis. They are accessed from the left-side toolbar under the 'Patterns' icon group.
Understanding which category to use depends entirely on your analytical framework: classical chartists gravitate toward Head & Shoulders and Triangles, harmonic traders rely exclusively on XABCD Fibonacci ratios, and macro analysts use Elliott Wave to map the multi-year psychological cycle of the market.
Alt+J
2. XABCD Harmonic Patterns: Fibonacci Geometry
Harmonic patterns are among the most mathematically rigorous structures in technical analysis. Unlike classical patterns that rely on visual shape recognition, harmonic patterns require each leg (XA, AB, BC, CD) to conform to very specific Fibonacci ratios. If even one ratio is off, the pattern is invalid.
TradingView provides two dedicated tools: the XABCD Pattern tool and the Cypher Pattern tool. When you draw the five anchor points (X, A, B, C, D), TradingView automatically calculates and displays the internal Fibonacci ratios between each leg, allowing you to instantly validate the pattern against the textbook requirements.
The 'D' point in any harmonic pattern represents the Potential Reversal Zone (PRZ). This is where institutional harmonic algorithms cluster their buy or sell orders, making it a zone of extremely high conviction if the ratios are textbook-perfect.
Gartley (222)
- B retraces 61.8% of XA.
- D completes at 78.6% retracement of XA.
- The most conservative and frequently occurring harmonic pattern.
- Named after H.M. Gartley's 1935 classic 'Profits in the Stock Market'.

Butterfly
- B retraces 78.6% of XA.
- D extends to 127.2% of XA (beyond the starting point).
- An extension pattern, meaning the PRZ is beyond the X point.
- Extremely powerful for catching major reversal exhaustion points.
Bat
- B retraces 38.2% to 50% of XA.
- D completes at 88.6% retracement of XA.
- The 88.6% level is the deepest standard retracement.
- Offers the tightest stop-loss placement of all harmonics.
Crab
- B retraces 38.2% to 61.8% of XA.
- D extends to 161.8% of XA.
- The most extreme extension pattern in harmonic trading.
- The PRZ at 161.8% often aligns with major institutional liquidity zones.
Critical Warning
Do not force harmonic patterns. If the B-point retracement is not a clean Fibonacci level (e.g., it retraces 72% instead of 78.6%), institutional harmonic algorithms will not engage and the pattern will likely fail. Only trade textbook-perfect setups.
3. Classical Patterns: Head & Shoulders, Triangles, Wedges
Classical chart patterns are the oldest and most widely recognized formations in technical analysis. They are based on the psychology of price compression and expansion: periods of indecision (consolidation patterns like Triangles) eventually resolve into explosive directional moves (breakouts).
TradingView provides a dedicated Head & Shoulders drawing tool that automatically calculates the neckline and projects the measured-move target. You simply click the five anchor points (Left Shoulder, Head, Right Shoulder, and two neckline points), and TradingView does the rest.
Beyond manual drawing, paid plans (Plus and above) unlock TradingView's built-in 'Auto Chart Patterns' feature. This AI-powered scanner automatically detects formations across the most recent 600 bars of data and overlays them on your chart with visual boundaries and projected price targets.
Reversal Patterns
- Head & Shoulders (and Inverse): The most reliable reversal signal.
- Double Top / Double Bottom: Price fails to break a level twice.
- Triple Top / Triple Bottom: Extreme indecision at a critical level.
Continuation Patterns
- Ascending/Descending Triangles: Breakout in the trend's direction.
- Bull/Bear Flags: A brief pause before the trend resumes.
- Pennants & Wedges: Converging consolidation within a strong trend.
Professional Tip
The 'Auto Chart Patterns' feature (Indicators → Technicals → Patterns) can detect patterns in 'In Progress' mode. This means it highlights formations that are still forming—giving you a head start on setting up alerts and planning entries before the pattern completes and the breakout occurs.
4. Elliott Wave: Impulse Waves (1-2-3-4-5)
Elliott Wave Theory, developed by Ralph Nelson Elliott in the 1930s, states that market prices move in predictable, fractal wave patterns driven by crowd psychology. The basic structure consists of a 5-wave impulse (the trending phase) followed by a 3-wave correction (the counter-trend phase).
TradingView provides the 'Elliott Impulse Wave (12345)' tool specifically for labeling the five-wave motive structure. When you click five successive swing points, TradingView automatically labels them 1, 2, 3, 4, 5 with clean, professional annotations.
However, labeling the waves is the easy part. The real skill lies in validating the count against Elliott's three inviolable rules:
If any of these three rules are violated, your Elliott Wave count is definitively invalid. Go back and re-anchor your wave labels.
Snapshot & Takeaways
5. Elliott Wave & Fibonacci: The Deep Connection
Elliott Wave Theory and Fibonacci analysis are deeply intertwined. The Fibonacci sequence literally governs the mathematical proportions of wave structures. Understanding these relationships transforms Elliott Wave from subjective pattern recognition into a mathematically validated framework.
Wave 2 typically retraces 50% to 61.8% of the distance covered by Wave 1. This is the most common entry point for traders who missed the beginning of the trend.
Wave 3 is almost always the longest and most powerful wave in the impulse sequence. It frequently extends to 1.618 times the length of Wave 1. In extremely bullish markets (like Nifty during major bull phases), Wave 3 can extend to 2.618 or even 3.618 times Wave 1.
Wave 4 typically retraces 38.2% of Wave 3 and tends to be a sideways, complex correction (alternation principle).
Wave 5 often equals Wave 1 in length, or extends to 0.618 times the distance from the beginning of Wave 1 to the end of Wave 3.
| Features | TradingView | Traditional Brokers |
|---|---|---|
| Wave 2 Retracement | 50% – 61.8% of Wave 1 | Common entry zone |
| Wave 3 Extension | 1.618x of Wave 1 | The strongest, most profitable wave |
| Wave 4 Retracement | 38.2% of Wave 3 | Typically sideways and complex |
| Wave 5 Length | Equal to Wave 1 or 0.618x (W1→W3) | Often the exhaustion wave |
| Wave C (Correction) | Equal to Wave A or 1.618x Wave A | Drives the corrective phase |
6. Elliott Wave: Corrective Structures (ABC, ABCDE, WXYXZ)
After every 5-wave impulse, the market enters a corrective phase. These corrections are inherently more complex and harder to label than impulse waves, which is why TradingView provides three separate corrective wave tools.
The simplest correction is the ABC Zigzag: a sharp A-wave down, a partial B-wave retracement, followed by a final C-wave that typically equals Wave A in length. This is the standard 3-wave correction.
The Elliott Triangle Wave (ABCDE) tool is used for sideways consolidation patterns where five sub-waves (each consisting of three internal waves) contract toward an apex before a powerful breakout. These are commonly seen in Wave 4 positions.
For the most complex corrections, the Elliott Triple Combo Wave (WXYXZ) tool labels double and triple corrective structures. These are the 'nightmares' of Elliott Wave analysis—extended, choppy periods where the market seems to go nowhere for months. Having the proper labeling tool prevents you from making impulsive trades in these zones.
Zigzag (ABC)
- Structure: 5-3-5 internal wave count.
- A sharp, clean counter-trend correction.
- Wave C ≈ Wave A (or 1.618x Wave A).
- Often seen in Wave 2 corrections.
Triangle (ABCDE)
- Structure: 3-3-3-3-3 internal wave count.
- A converging sideways consolidation.
- Breakout from the triangle is explosive.
- Most commonly appears in Wave 4 position.
Triple Combo (WXYXZ)
- The most complex corrective structure.
- Links multiple simple corrections together.
- Can last months or even years.
- Do NOT trade inside this structure. Wait for it to complete.
7. Cyclic Lines & Time Cycles
Markets exhibit rhythmic, cyclical behavior. The same stock that bottomed every 40 trading days for the last year may very well bottom again at the 40-day mark. Cyclic Lines are a simple but powerful tool that identifies these repeating temporal patterns.
The Cyclic Lines tool draws evenly spaced vertical lines across your chart. You manually adjust the cycle length (e.g., 40 bars) until the vertical lines align with observed historical turning points. Once calibrated, the lines project into the future, highlighting dates where the next cycle low or high is statistically probable.
Time Cycles extend this concept by allowing you to define a specific start date and period. They project forward based on that period, creating a visual calendar of anticipated turning points.
Change interval
15 minutes
Professional Tip
Combine Cyclic Lines with Fibonacci Time Zones for a dual-confirmation temporal framework. If a 40-bar cycle low aligns with a Fibonacci Time extension at 1.618, you have extremely strong temporal confluence for a reversal.
8. Auto Chart Patterns: AI-Powered Scanning
For traders who don't want to manually draw every pattern, TradingView's built-in Auto Chart Patterns feature automates the detection process entirely.
Navigate to Indicators → Technicals → Patterns. Here you will find automated scanners for Head & Shoulders, Triangles, Wedges, Flags, Double Tops/Bottoms, and even Elliott Wave Impulses and Zigzags. When enabled, TradingView scans the most recent 600 bars of data and overlays detected patterns directly on your chart.
The auto-detected patterns include visual boundaries (the pattern's geometric shape), a projected price target (based on the measured-move methodology), and an 'In Progress' detection mode that highlights patterns that are still forming—giving you a critical head start before the pattern completes.
Additionally, the TradingView community has published thousands of Pine Script pattern detectors that go far beyond the built-in tools. These include specialized harmonic scanners, SMC (Smart Money Concepts) pattern detectors, and fractal identification scripts.
Critical Warning
Auto-detected patterns are not trade signals. They are visual aids. Always validate the pattern against volume confirmation, the broader market trend, and key support/resistance levels before committing capital. A 'Head & Shoulders' detected by AI in a raging bull market is far less reliable than one occurring after a multi-month uptrend exhaustion.
Unlock TradingView Pro
Gain unrestricted access to multiple charts, custom timeframes, and unlimited technical indicators to perfect your edge.
Frequently Asked Questions
Common questions about this topic
Yes. TradingView has built-in Auto Chart Patterns available on Plus plans and above. Access them via Indicators → Technicals → Patterns. The AI scanner detects Head & Shoulders, Triangles, Wedges, Flags, Double Tops/Bottoms, and Elliott Wave structures across the most recent 600 bars. It includes an 'In Progress' mode that highlights patterns still forming.
Official TradingView Resources
Curated links from TradingView's Help Center & Blog
Chart Pattern Rising Wedge
Please note that the information about expected price targets provided by Auto Chart Patterns isn't a recommendation for what you should personally do...
Chart Pattern Triple Top
Please note that the information about expected price targets provided by Auto Chart Patterns isn't a recommendation for what you should personally do...
Chart Pattern Triangle
Please note that the information about expected price targets provided by Auto Chart Patterns isn't a recommendation for what you should personally do...
Chart Pattern Rectangle
Please note that the information about expected price targets provided by Auto Chart Patterns isn't a recommendation for what you should personally do...
Auto Chart Patterns: end of beta
Read fresh TradingView updates: Auto Chart Patterns: end of beta. Discover more in our blog and stay connected with the latest platform news.
New chart patterns: Cup and Handle & Inverse Cup and Handle
Read fresh TradingView updates: New chart patterns: Cup and Handle & Inverse Cup and Handle. Discover more in our blog and stay connected with the latest platform news.
Related Articles
Continue your learning journey
Fibonacci & Gann Tools
Advanced retracements, extensions, fans, spirals, and Gann's geometric analysis.
ModuleLeft Menu — Drawing Tools
Cursors, trend lines, channels, pitchforks, and the complete drawing toolkit.
ModuleForecasting & Measuring Tools
Long/short position tools, VWAP, volume profiles, and price range measurements.
ModuleIndicators, Metrics & Strategies
Your complete technical analysis toolkit — from moving averages to Pine Script.
Written By
Rohit Singh
Mr. Chartist
With 14+ years of experience in Indian financial markets, Rohit Singh (Mr. Chartist) is a SEBI Registered Research Analyst, Amazon #1 bestselling author, and the founder of Investology — a premium trading ecosystem trusted by a 1.5 Lakh+ strong community across India.
TradingView is a registered trademark of TradingView, Inc. All screenshots, logos, and platform imagery are the property of TradingView, Inc. and are used here for educational purposes only under fair use. This content is not affiliated with, endorsed, or sponsored by TradingView.
(c) 2026 TradingView, Inc. All rights reserved. - www.tradingview.com
