Harmonic Patterns in Trading: Gartley, Bat, Butterfly and Crab Ratios
Harmonic patterns are five-point chart formations in which selected price swings are compared using Fibonacci-derived ratios. Common examples include the Gartley, Bat, Butterfly and Crab. The ratios define candidate structures and potential reversal zones (PRZs); they do not establish a universal probability of reversal or a profitable trading edge. A pattern is meaningful as a research definition only if its anchors, ratios and timing can be reproduced.
Understanding the XABCD structure
Label five consecutive selected swing points X, A, B, C and D. In a bullish candidate, XA advances, AB declines, BC rebounds and CD declines. A bearish candidate mirrors these directions. Compute each leg’s absolute length and retain its direction separately. For example, the B retracement of XA is absolute(A−B) divided by absolute(A−X). The D ratio relative to XA is absolute(A−D) divided by absolute(A−X), provided the pattern follows the specified orientation. Do not compare CD with XA when the rule explicitly measures the D point from A.
Four commonly used harmonic pattern families
| Pattern | Typical B retracement of XA | Common D reference measured from A | Bullish D relative to X |
|---|---|---|---|
| Gartley | 0.618 | 0.786 of XA | Above X |
| Bat | 0.382–0.50 | 0.886 of XA | Above X |
| Butterfly | 0.786 | 1.27 of XA | Below X |
| Crab | 0.382–0.618 | 1.618 of XA | Below X |
These are key ratios rather than complete pattern specifications. Published definitions also use constraints for BC, CD and AB=CD relationships; variants differ. The table is a starting point for classification, not sufficient by itself to confirm a named pattern. Use one documented specification consistently rather than mixing ratios from different authors.
Worked bullish Gartley candidate
Suppose X=100 and A=150, so XA=50. A 61.8% B retracement gives B=150−0.618×50=119.10. The AB decline is 30.90. Choose C=141.60, a rebound of 22.50, or about 72.82% of AB. The 78.6% XA retracement gives D=110.70. The CD decline from C is 30.90, equal in length to AB; CD/BC is approximately 1.3733.
This example aligns the B and D ratios and equal-leg projection, but does not exactly match either named 1.27 or 1.618 BC projection used in Scott Carney’s stricter Gartley description. Under a broader ratio-band scanner it could qualify; under the stricter method it would need additional review or rejection. This distinction prevents a favourable-looking chart from being presented as a textbook pattern regardless of its actual measurements.
Potential reversal zone and tolerance
A PRZ groups price levels from the defined projections. For the example, the XA retracement and equal AB=CD projection both give 110.70. A 1.27 BC projection gives 113.025; a 1.618 projection gives 105.195. A rule allowing a maximum span of one price unit would reject a cluster combining either of those BC projections with 110.70. Fix the tolerance before observing the outcome. A broad tolerance may increase candidate counts while weakening the specificity of the label.
Risk and execution example
A simulator evaluating a fill at 111 with a hypothetical stop at 99 and reference exit at 135 has planned price risk of 12 and reward distance of 24, or 2R before costs. A gap exit at 96 increases the loss to 15. A PRZ touch does not establish that a limit order filled or that a reversal occurred. Actual execution requires a tradable quote and suitable liquidity.
Practical testing procedure
Define pivot confirmation, allowable ratios, tolerance, minimum leg size, expiry and confirmation rules. Calculate each candidate using information available at the decision time. A confirmed D pivot may require later bars; it cannot be used for an earlier entry. Compare the pattern filter against a simpler swing-reversal or Fibonacci-cluster rule, retaining rejected candidates and unsuccessful trades. Include costs and use unseen data for validation.
Compare pattern ratios using the same XA leg
With a bullish XA leg from 100 to 150, the key D references for a Gartley, Bat, Butterfly and Crab are respectively 110.70, 105.70, 86.50 and 69.10 using the simplified ratios in the table. The first two remain above X while the latter two extend below it. They are candidate reference prices, not complete patterns; the B, BC and CD conditions must also satisfy the selected specification. The same price cannot be relabelled as a different pattern merely to preserve a failed forecast. Record the family and its required constraints before evaluating the reaction.
Compare indicator redundancy before counting overlapping Fibonacci projections as independent confirmations.
Frequently asked questions
Does every M-shaped or W-shaped chart qualify?
No. Direction, anchor relationships and the selected ratio requirements must be satisfied.
What is the difference between a Bat and a Gartley?
Their B and D reference ratios differ, along with other pattern constraints.
Are harmonic patterns guaranteed reversal signals?
No. They describe geometric relationships and require independent performance testing.
Continue with Fibonacci confluence, Fibonacci extensions and Elliott Wave Theory.
Return to the technical analysis beginner’s guide for the complete learning pathway.
Further reading
Harmonic Trader: Gartley pattern specification; StoneX: Harmonic pattern definitions; TradingView: XABCD drawing tool.
General educational information only, not personalised financial advice. Trading involves risk of loss.
Stay Ahead of the Markets
Get market analysis, financial news and practical trading insights delivered straight to your inbox.