Technical AnalysisIntermediate

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

  1. 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

  2. Check point C

    C usually retraces 61.8% to 78.6% of AB and must not go beyond A.3 Carney accepts a range of 38.2% to 88.6%.2

  3. Project D from AB

    Measure the length of AB from C. Where CD equals AB is the classic D.12

  4. Cross-check with BC

    The CD leg should also be about 1.272 to 1.618 times BC; a 61.8% C pairs with 1.618, and a 78.6% C with 1.27.32

  5. 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

  6. 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

  7. 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 found

A hypothetical stock falls from A = $80 to B = $60, then rebounds to C = $72.36.

Example 1 — The classic AB=CD — calculation
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 found

Same AB leg, but the rebound runs further, to C = $75.72.

Example 2 — A deeper C — calculation
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 plan

Back 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.

Example 3 — The trade plan — calculation
1.27 × AB1.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 CD0.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.

AspectAB=CDGartley (XABCD)
PointsFour: A, B, C, D1Five: X, A, B, C, D5
C vs AB0.618–0.78630.382–0.8861
What sets DCD equal to AB10.786 retracement of XA1
Usual stopBeyond D3Beyond X1

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

  1. Letting C pass A

    If the correction goes beyond A, the structure is void. Start again with new points.

  2. Insisting on exact equality

    Equal legs are a zone, not a line. Treat D as an area and wait for price to react there.

  3. Fading every strong trend

    In a powerful trend, CD can run well past AB. Prefer setups that agree with the larger trend.

  4. 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.

Q1In a bullish AB=CD, A = $50, B = $40 and C = $46.18. Where is the classic D?
Q2C retraces 78.6% of AB. Which BC projection usually pairs with it?

Key points to remember

  1. The AB=CD is a four-point pattern whose CD leg matches AB.
  2. C usually retraces 61.8–78.6% of AB and must not pass A.
  3. A 0.618 C pairs with a 1.618 BC projection; a 0.786 C with 1.27.
  4. Extended versions run CD to 1.27 or 1.618 times AB.
  5. D is a zone to watch; wait for confirmation before trading.

Frequently asked questions

Do AB and CD have to be exactly equal?

No. Carney notes that the legs usually come close enough to locate the turn, but an exact match happens only sometimes.2

Does time matter as well as price?

Many traders prefer CD to take about as long as AB, but most sources treat this as a preference rather than a rule.13

What is the difference between ABCD and AB=CD?

None; they are two names for the same pattern. Some sources use ABCD for the general shape and AB=CD to stress the equal-leg rule.

Further learning

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.

  1. IG. Harmonic Patterns: Top 7 Every Trader Should Know (opens in a new tab) Checked .
  2. Harmonic Trader (Scott M. Carney). AB=CD pattern (opens in a new tab) Checked .
  3. LuxAlgo. ABCD: Definition & Indicators (opens in a new tab) Checked .
  4. Capital.com. What are harmonic patterns in trading (opens in a new tab) Checked .
  5. StockCharts ChartSchool. Harmonic Patterns (opens in a new tab) Checked .
  6. Harmonic Trader (Scott M. Carney). Bat pattern (opens in a new tab) Checked .
  7. Harmonic Trader (Scott M. Carney). Butterfly pattern (opens in a new tab) Checked .
  8. Harmonic Trader (Scott M. Carney). Crab pattern (opens in a new tab) Checked .
  9. 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.