Harmonic Patterns, Head and Shoulders and Triangles: How to Draw Them
Last updated Nov 27, 2026
Draw XABCD, Cypher, ABCD, three drives, head and shoulders and triangle patterns on a torowick chart, with the leg ratios worked out for you.
The Patterns group draws price patterns point by point: you click each swing high and low in turn and the app joins them, labels the points and, for the harmonic patterns, writes the ratio of each leg to the one before. To draw one, pick the pattern, click its first swing and keep clicking the next point until the last one is placed.
Which Patterns the App Draws
| Pattern | Points to click | What it shows |
|---|---|---|
| XABCD pattern | 5 | Points X, A, B, C and D, two shaded triangles and four ratios |
| Cypher pattern | 5 | The same five points with the Cypher's three ratios |
| ABCD pattern | 4 | Points A, B, C and D and two ratios |
| Three drives pattern | 7 | Drives 1, 2 and 3 with the pullbacks A and C, three shaded drives and four ratios |
| Head and shoulders | 7 | The left shoulder, head and right shoulder, with the neckline through the two troughs |
| Triangle pattern | 4 | Points A, B, C and D and the two sides that meet ahead of the price |
Each ratio is the length of one leg in price divided by the length of the leg it is measured against, written to three decimals on a dashed line. A flat leg has no ratio. Like every chart tool these patterns belong to technical analysis, which reads past prices and volume, so a pattern describes what happened, not what comes next.
Harmonic Patterns: XABCD, Cypher and ABCD
Harmonic patterns compare the legs of a zigzag against each other. Traders look for legs near Fibonacci ratios such as 0.618, 0.786, 1.272 or 1.618, and give each combination a name (Gartley, Bat, Butterfly, Crab). You name the pattern yourself: the app shows the ratios so you can compare them with the rules you follow.
On the XABCD pattern the ratios are:
- On X to B: the AB leg over the XA leg (how far B pulled back).
- On A to C: the BC leg over the AB leg.
- On B to D: the CD leg over the BC leg.
- On X to D: the AD leg over the XA leg, where D sits against the whole first leg.
The Cypher pattern uses the same five points with three ratios: AB over XA, XC over XA (how far C went past A) and CD over XC. The ABCD pattern has four points and two ratios, BC over AB and CD over BC. In a classic ABCD the CD leg is about as long as the AB leg.
Three Drives Pattern
The three drives pattern is three pushes in one direction, each followed by a pullback. Click the start, then the first drive, the pullback A, the second drive, the pullback C and the third drive, seven points in all. The app shades each drive and labels the ratio of every pullback and drive to the leg before it, so you can check whether the drives are getting longer or shorter.
Head and Shoulders
A head and shoulders is a peak (the head) between two lower peaks (the shoulders). The line through the two troughs between them is the neckline. Traders read a close below the neckline after the right shoulder as a sign the uptrend before it may be over. An inverse head and shoulders is the same shape upside down.
Click seven points: the start, the left shoulder, the first trough, the head, the second trough, the right shoulder and the end. The app labels the shoulders and head, draws the neckline through the two troughs and shades the three peaks above it.
Triangle Pattern
A triangle forms when the swings get smaller, with lower highs and higher lows (a symmetrical triangle), flat highs and higher lows (ascending) or lower highs and flat lows (descending). Click four alternating swings, A, B, C and D. The app draws the line through A and C and the line through B and D, carries them on to where they meet and shades the triangle between them.
How to Draw a Pattern Step by Step
- Open a stock and tap the pencil above the chart so the drawing tools open beside it. Drawing needs a mouse or trackpad, so phones and tablets show your drawings but have no tools.
- Open the Patterns group with the strip on the right edge of its button.
- Pick a pattern. A hint says Click where it starts.
- Click the first swing, then each next swing in order. The hint says Click the next point until the last point is placed.
- With the cursor picked, click a leg to select the pattern and drag any point to adjust it. The ratios update as you drag.
Turn the Magnet on to snap each point to the high or low of the nearest candle, so the ratios use the real swing prices. Press Esc to stop part way through. The basics of drawing and removing are in Draw on a Stock Chart.
Settings and the Floating Bar
The bar. Line colour, line width, Settings, Lock, Hide and Remove.
Settings. Style sets the colour and width and turns the shading on or off. Coordinates gives the exact price and bar of every point. Visibility picks the candle lengths the drawing shows on.
Common Mistakes
- Clicking between swings. Each point should be a turning point. A point in the middle of a move gives ratios that mean nothing.
- Forcing a pattern. If the ratios are far from the rule you follow, it is not that pattern.
- Ignoring the candle length. A pattern on 5-minute candles covers hours and one on daily candles covers months. Check the drawing on the length you trade.
- Treating D as a sure turn. Point D is an area to watch, not an order.
Chart Patterns FAQ
What is an XABCD pattern?
A five-point zigzag, X to A to B to C to D, where the legs are compared with each other. Named harmonic patterns such as the Gartley and the Bat are XABCD patterns with set ratios.
What is the difference between the XABCD and the Cypher pattern?
Both have five points. In a Cypher, C goes beyond A, so the app measures XC against XA and CD against XC instead of the XABCD's four ratios.
What does the neckline in a head and shoulders mean?
It is the line through the two troughs either side of the head. A close below it after the right shoulder is the signal many traders wait for.
Does the app find patterns for me?
No. You draw them, and the app works out the ratios and labels from the points you click.
Related Tools
- Elliott Waves and Cycles for wave counts and repeating time lines.
- Fibonacci Retracement for levels inside one move.
- Trend Lines for a single sloping line.
Still stuck?
Sign in and open Portia from any page in the app. Portia knows this guide and can show you where to tap.
Sign in