AB=CD Pattern
The AB=CD pattern is a four-point harmonic structure in which the final leg CD matches the first leg AB in length, and often in time, after a retracement to C; D marks where the move may stall or reverse.
The AB=CD is the simplest harmonic pattern and a building block of the larger ones. Price makes a move (AB), corrects (BC), then makes a second move (CD) of about the same size.12 The point where the two legs match, D, becomes a level to watch for a turn. This entry gives the ratios, worked examples with exact numbers, a trade plan and the main limits of the pattern.
- Category
- Technical Analysis
- Reading time
- 7 min
- Also called
- ABCD pattern, AB = CD, Measured move ABCD
- Updated
The AB=CD in plain words
The pattern has three legs and four points: an impulse AB, a correction BC, and a second impulse CD in the same direction as AB.1
The core rule is in the name: CD should be about as long as AB.12 Many traders also prefer CD to take roughly as long as AB to form.13
A bullish AB=CD falls to D and looks for a move up; a bearish one rises to D and looks for a move down.3 The idea of equal legs is often traced to H. M. Gartley's 1930s book, and Scott Carney set out the ratio rules in The Harmonic Trader (1998).32
How to identify and trade an AB=CD, step by step
Find the AB leg
Mark a clear impulse move from A to B. Its length is the yardstick for the rest of the pattern.1
Note the extended version
When CD runs to 1.27 or 1.618 times AB, the pattern is called an alternate or extended AB=CD.3
Wait for confirmation at D
Look for a rejection candle or a shift in momentum before acting; D on its own is only a forecast.3
Set stop and targets
Place the stop beyond D, or beyond the 1.27 extension, and aim for retracements of the CD leg.3
Worked examples
Example 1 — The classic AB=CD
D foundA hypothetical stock falls from A = $80 to B = $60, then rebounds to C = $72.36.
| AB leg | $80 − $60 = $20 |
| BC leg | $72.36 − $60 = $12.36 |
| C retracement | $12.36 ÷ $20 = 0.618 |
| D where CD = AB | $72.36 − $20 = $52.36 |
| CD ÷ BC | $20 ÷ $12.36 ≈ 1.618 |
C retraced 61.8% of AB, and the equal-leg D at $52.36 lines up with a 1.618 BC projection, the reciprocal pair the sources describe.32
Example 2 — A deeper C
D foundSame AB leg, but the rebound runs further, to C = $75.72.
| BC leg | $75.72 − $60 = $15.72 |
| C retracement | $15.72 ÷ $20 = 0.786 |
| D where CD = AB | $75.72 − $20 = $55.72 |
| CD ÷ BC | $20 ÷ $15.72 ≈ 1.27 |
With a 78.6% C, the equal-leg D sits at $55.72 and matches a 1.27 BC projection.32 A deeper C means a shorter projection, so D ends higher.
Example 3 — The trade plan
Trade planBack to Example 1. Price reaches $52.36 and prints a bullish reversal candle. The trader puts the stop beyond the 1.27 extension and targets 61.8% of CD.
| 1.27 × AB | 1.27 × $20 = $25.40 |
| 1.27 extension | $72.36 − $25.40 = $46.96 |
| Stop below it | $46.50 |
| Risk per share | $52.36 − $46.50 = $5.86 |
| 61.8% of CD | 0.618 × $20 = $12.36 |
| Target | $52.36 + $12.36 = $64.72 |
| Reward ÷ risk | $12.36 ÷ $5.86 ≈ 2.11 |
The stop sits beyond the extended version of the pattern, so it survives a move to 1.27 × AB, and the target is a retracement of CD.3 Neither the turn nor the target is guaranteed.4
AB=CD vs the five-point Gartley
The AB=CD is a four-point pattern; the five-point patterns add an X point and measure D against the XA leg.
How traders use the AB=CD
Timing the end of a swing
Equal legs give a simple estimate of where a second push in the same direction may stop.1
Inside larger patterns
The Bat, Butterfly and Crab each contain an AB=CD, and Carney uses it as one of the checks in their reversal zones.678
Trading with the trend
Completions that agree with the larger trend are rated higher than those against it.3 See Pullback.
Planning risk in advance
The D level, a Stop Loss beyond it and a target on the CD leg are all known before price arrives.3
Advantages and disadvantages
Advantages
- The simplest harmonic pattern to learn and measure.
- Appears often, on every market and timeframe.
- Gives a clear D level, stop and target in advance.
- Forms the base of the larger five-point patterns.
Disadvantages
- Legs are rarely exactly equal on real charts.
- Strong trends often run straight through D.
- Sources differ on the allowed range for C.
- Without confirmation, D is only a forecast.
Going deeper
Read as far as you need. Each level builds on the one before it.
Two equal pushes
Beginner
Think of the pattern as two pushes in one direction with a pause between them, where the second push copies the first.1 The related Measured Move idea also projects a second leg from the first.
The 0.618 and 1.618 ratios come from the Fibonacci sequence, and each is the inverse of the other.9 See Fibonacci Retracement and Extension.
Reciprocal ratios and the alternate AB=CD
Intermediate
The C retracement and the BC projection move in opposite directions: a shallow 0.618 C pairs with a 1.618 projection, a deep 0.786 C with 1.27.32
When CD runs to 1.27 or 1.618 times AB, traders call it an alternate or extended AB=CD.3 Carney says he usually waits for CD to at least equal AB, since an exact match happens only some of the time.2
Building a reversal zone
Advanced
Carney's most important check is that the BC projection, which he allows between 1.13 and 2.618, sits close to the AB=CD completion.2 When they cluster, the Potential Reversal Zone is tighter.
In the five-point patterns the AB=CD is one input among several; Carney calls it the least important number in the Crab, for example.8 See Gartley Pattern and Harmonic Patterns.
Common mistakes
Letting C pass A
If the correction goes beyond A, the structure is void. Start again with new points.
Insisting on exact equality
Equal legs are a zone, not a line. Treat D as an area and wait for price to react there.
Fading every strong trend
In a powerful trend, CD can run well past AB. Prefer setups that agree with the larger trend.
No stop beyond the extension
If CD keeps going to 1.27 × AB, a stop right at D gets hit. Decide in advance how far the pattern may stretch.
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- The AB=CD is a four-point pattern whose CD leg matches AB.
- C usually retraces 61.8–78.6% of AB and must not pass A.
- A 0.618 C pairs with a 1.618 BC projection; a 0.786 C with 1.27.
- Extended versions run CD to 1.27 or 1.618 times AB.
- D is a zone to watch; wait for confirmation before trading.
Frequently asked questions
Do AB and CD have to be exactly equal?
Does time matter as well as price?
What is the difference between ABCD and AB=CD?
Further learning
- Gartley Pattern
The five-point pattern built around an AB=CD.
- Harmonic Patterns
The whole family of harmonic patterns.
- Potential Reversal Zone
How several measurements cluster at D.
- Fibonacci Retracement and Extension
Where the 0.618 and 1.618 ratios come from.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- IG. Harmonic Patterns: Top 7 Every Trader Should Know (opens in a new tab) Checked .
- Harmonic Trader (Scott M. Carney). AB=CD pattern (opens in a new tab) Checked .
- LuxAlgo. ABCD: Definition & Indicators (opens in a new tab) Checked .
- Capital.com. What are harmonic patterns in trading (opens in a new tab) Checked .
- StockCharts ChartSchool. Harmonic Patterns (opens in a new tab) Checked .
- Harmonic Trader (Scott M. Carney). Bat pattern (opens in a new tab) Checked .
- Harmonic Trader (Scott M. Carney). Butterfly pattern (opens in a new tab) Checked .
- Harmonic Trader (Scott M. Carney). Crab pattern (opens in a new tab) Checked .
- StockCharts ChartSchool. Fibonacci Retracements (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.