Famous Harmonic Patterns Names & Fibonacci ratios — reference sheet
Every classic harmonic pattern is built from 5 swing points labelled X-A-B-C-D. Four ratios describe it — this sheet documents the "ideal zone" accepted by most scanners/indicators, and matches the FxMath Scanner's built-in tables.
#Pattern structure & ratio conventions
| Ratio | Definition | Meaning |
|---|---|---|
| XAB | AB / XA | Retracement of leg XA by leg AB |
| ABC | BC / AB | Retracement of leg AB by leg BC |
| BCD | CD / BC | Extension of leg BC by leg CD |
| XAD | CD / XA | How far D projects relative to the whole XA leg |
Ranges are the ideal zones; a tolerance (accuracy) around each range is normally
applied — the Scanner's Pattern_Accuracy does exactly this.
#Quick-reference table
| Pattern | XAB | ABC | BCD | XAD | In Scanner |
|---|---|---|---|---|---|
| Gartley | 0.618 | 0.382–0.886 | 1.128–2.236 | 0.618–0.786 | ✔ (Gartley) |
| Bat | 0.382–0.5 | 0.382–0.886 | 1.618–2.618 | 0.886 | ✔ (Bat) |
| Alt Bat | 0.382 | 0.382–0.886 | 1.618–2.618 | 1.13 | ✔ (Bat) |
| Butterfly | 0.786 | 0.382–0.886 | 1.618–2.618 | 1.27 | ✔ (Butterfly) |
| Crab | 0.382–0.618 | 0.382–0.886 | 2.24–3.618 | 1.618 | ✔ (Crab) |
| Deep Crab | 0.886 | 0.382–0.886 | 2.24–3.618 | 1.618 | ✔ (Crab) |
| Cypher | 0.382–0.618 | 1.13–1.414 | 1.272–2.0 | 0.786 | ✔ (Cypher) |
| Shark 1 | 1.13–1.618 | 1.618–2.24 | 0.886–1.13 | 0.886–1.13 | ✔ (Shark) |
| Shark 2 | 1.13–1.618 | 1.618–2.24 | 1.618–2.24 | 0.886–1.13 | ✔ (Shark) |
| AB=CD | — | 0.382–0.786 | 1.13–2.24 | 0.618–0.786 | ✔ (ABCD) |
| Three Drives | 1.13–1.618 | 0.618–0.786 | 1.27–1.618 | — | — |
| 5-0 | 1.13–1.618 | 1.618–2.24 | 0.5 (of XC) | — | — |
| Deep Cypher | 0.618 | 1.13–1.618 | 1.618–2.618 | 0.886 | ✔ (Cypher) |
| Wolfe Wave | Geometric channel pattern — no ratio table (see below) | disabled | |||
#1 · Gartley (classic / Max Gartley)
H.M. Gartley · Larry Pesavento
| XAB | 0.618 | (0.382–0.618 allowed) |
| ABC | 0.382–0.886 | |
| BCD | 1.128–2.236 | ideal 1.272 / 1.618 |
| XAD | 0.618–0.786 | ideal 0.786 |
The most famous pattern. D completes at the 0.786 retracement of XA. Trade at the 0.786 zone; PRZ = 0.786 XA.
#2 · Bat
Scott M. Carney
| XAB | 0.382–0.5 | ideal 0.382 |
| ABC | 0.382–0.886 | |
| BCD | 1.618–2.618 | |
| XAD | 0.886 |
D completes deep at the 0.886 retracement of XA. A very reliable zone.
#3 · Alt Bat ("Alternate Bat")
Scott M. Carney
| XAB | 0.382 | |
| ABC | 0.382–0.886 | |
| BCD | 1.618–2.618 | |
| XAD | 1.13 |
D extends beyond X by 1.13 of XA — a "beyond X" pattern.
#4 · Butterfly
Bryce Gilmore / Scott M. Carney
| XAB | 0.786 | |
| ABC | 0.382–0.886 | |
| BCD | 1.618–2.618 | ideal 1.618 / 2.0 / 2.618 |
| XAD | 1.27 |
D extends beyond X by 1.27 of XA. Classic "extension" pattern.
#5 · Crab
Scott M. Carney
| XAB | 0.382–0.618 | |
| ABC | 0.382–0.886 | |
| BCD | 2.24–3.618 | |
| XAD | 1.618 |
Extreme deep pattern; D at 1.618 XA. The most aggressive target.
#6 · Deep Crab
Scott M. Carney
| XAB | 0.886 | |
| ABC | 0.382–0.886 | |
| BCD | 2.24–3.618 | ideal 2.618 / 3.618 |
| XAD | 1.618 |
Like Crab, but B retraces extremely deep (0.886 XA).
#7 · Cypher
Scott M. Carney
| XAB | 0.382–0.618 | |
| ABC | 1.13–1.414 | BC extends beyond A, not a retracement |
| BCD | 1.272–2.0 | |
| XAD | 0.786 |
The B–C leg overshoots point A; completes at 0.786 XA. Modern favourite.
#8 · Deep Cypher (variant)
| XAB | 0.618 | |
| ABC | 1.13–1.618 | |
| BCD | 1.618–2.618 | |
| XAD | 0.886 |
#9 · Shark 1 / Shark 2
Scott M. Carney
| Ratio | Shark 1 | Shark 2 | |
|---|---|---|---|
| XAB | 1.13–1.618 | 1.13–1.618 | AB extends beyond X |
| ABC | 1.618–2.24 | 1.618–2.24 | BC extends beyond A |
| BCD | 0.886–1.13 | 1.618–2.24 | Shark 2 has a deeper C–D leg |
| XAD | 0.886–1.13 | 0.886–1.13 | D lands near the origin of XA |
#10 · AB=CD (basic 4-point structure)
| ABC | 0.382 / 0.5 / 0.618 / 0.707 / 0.786 | B retraces AB |
| BCD | 1.13 / 1.27 / 1.618 / 2.0 / 2.24 | CD = AB when 1.0 (the "equal leg" rule) |
| XAD | 0.618–0.786 | when framed as XABCD |
CD mirrors AB in length. The building block of all XABCD patterns.
#11 · Three Drives
Robert Prechter / Carney variant — 6 points X-A-B-C-D-E (or 1-2-3-4-5)
| 1st drive | 1.13–1.618 | extension of XA |
| 2nd drive | 1.27–1.618 | extension of AB |
| 3rd drive | 1.27–1.618 | extension of BC |
| Retracements | 0.618–0.786 | between drives |
Exhaustion pattern; completion at the 3rd drive.
#12 · 5-0 Pattern ("Five-Zero")
Scott M. Carney
| XAB | 1.13–1.618 | |
| ABC | 1.618–2.24 | |
| BCD | 0.5 of leg XC | D retraces 50% of the X–C move |
| XAD | 0.0 | D is at the 50% retrace of XC, often beyond X |
D is found by taking 50% of the X–C leg, not by CD/BC.
#Wolfe Waves (geometric — NOT Fibonacci-ratio based)
Bill Wolfe
| Rule | Description |
|---|---|
| Structure | 5 swing points 1-2-3-4-5 on the ZigZag pivot list. Points 1,3,5 are the same pivot type (all highs for a bullish Wolfe, all lows for a bearish one); 2,4 the opposite type. |
| Channel lines | Line A through points 1–3, Line B through 2–4. Both must slope in the same direction and form a converging/parallel channel toward the future. |
| Equal-time rule | Time(1-2) ≈ Time(2-3) ≈ Time(3-4) ≈ Time(4-5). Scanners typically allow ±40–50% tolerance (Wolfe_Time_Tolerance = 0.45). |
| Entry | Point 5 is the trigger, normally printing near Line B inside the channel. Trade the direction of the channel breakout: bullish → BUY at 5, bearish → SELL at 5. |
| Target | The extension of the 1–4 line projected forward. Partial profits at the 2–4 line extension, full target at 1–4. |
| Stop | Beyond point 5, outside the channel, usually with a small buffer. |
Scanner rule set (as implemented in the FxMath code)
- 5 alternating pivots: 1,3,5 same type; 2,4 opposite.
- Slope(1-3) and Slope(2-4) have the same sign and are not flat.
- Roughly equal time spacing (tolerance
Wolfe_Time_Tolerance). - Point 5 is the most recent confirmed pivot.
- Point 5 must be on the correct side of Line B (beyond it) for a valid breakout.
- Targets = 1–4 line projection at 3 forward time offsets (TP1/TP2/TP3).
WolfeScan() detector exists in both Scanner and Helper but is switched off
by default (Wolfe_Pattern_Enable = false and commented call sites). Re-enable
per the instructions in Scanner limitations.
#Sources / references
- Scott M. Carney, "Harmonic Trading" Vol. 1 & 2 (2004/2007) — Bat, Butterfly, Crab, Deep Crab, Cypher, Shark, 5-0, Three Drives.
- H.M. Gartley, "Profits in the Stock Market" (1935) — original Gartley.
- Larry Pesavento, "Fibonacci Ratios with Pattern Recognition" (1997).
- Bryce Gilmore — Butterfly pattern attribution.
- Bill Wolfe — Wolfe Waves (channel / equal-time geometric pattern).
- Standard values used by most harmonic scanners (TradingView "Harmonic Pattern Finder", MQL5 CodeBase "Harmonic Pattern Finder V3", etc.).
pattern(k) in the EA). Wolfe Waves are geometric (non-ratio) and implemented
as a separate detector.