Trading forex and CFDs on leverage is high risk. Most retail accounts lose money. Read the risk warning

Harmonic Patterns in Forex: Trading the Gartley and the Bat

Harmonic patterns are five-point price structures (labelled X, A, B, C and D) whose legs are measured against specific Fibonacci ratios. The Gartley and the Bat are the two most widely traded: both look like an "M" or "W", both complete at a point D that sits inside the initial XA leg, and they differ mainly in how deep B and D retrace. Traders use the completion area at D, called the potential reversal zone, as a place to look for a reversal with a stop just beyond X.

Key takeaways

  • Harmonic patterns are defined by ratios between legs, not just by shape; a pattern that misses its ratios is not that pattern.
  • Gartley: B near 61.8% of XA, D near 78.6% of XA. Bat: B between 38.2% and 50% of XA, D near 88.6% of XA.
  • Point D is a zone formed by several converging measurements, not a single exact price.
  • Because D sits inside XA, a stop beyond X gives a defined, often reasonably tight, risk.
  • Harmonic trading involves many tolerances and judgement calls; ratios do not make the method objective or reliable on their own.

Background: where harmonic patterns come from

The Gartley takes its name from H.M. Gartley, who described a five-point retracement structure in his 1935 book Profits in the Stock Market. The precise Fibonacci ratios now associated with the pattern were added later by other technicians, notably Larry Pesavento and Scott Carney. Carney introduced the Bat in the early 2000s and has written extensively on harmonic trading, including refinements such as specific ratio ranges for each leg. Different sources still use slightly different ratios, so you will see variations in software and books.

The underlying idea is that markets often retrace prior moves in proportions close to Fibonacci ratios, and that when several such measurements converge at one price area, that area is more likely to produce a reaction. If Fibonacci tools are new to you, read our guides on Fibonacci retracement and Fibonacci extensions first, because harmonic trading is built entirely on them.

The XABCD structure

Every pattern in this family has four legs:

  • XA: the initial impulse leg. Every other measurement refers back to it.
  • AB: a retracement of XA. Where B lands, as a percentage of XA, is the first clue to which pattern is forming.
  • BC: a retracement of AB, usually between 38.2% and 88.6% of it.
  • CD: the final leg, which completes the pattern at D. D is measured both as a retracement of XA and as an extension of BC.

In a bullish pattern, X is a low, A is a high, and D completes below A (and above X for the Gartley and Bat), where traders look to buy. In a bearish pattern everything is inverted, and traders look to sell at D.

Gartley and Bat ratios side by side

The table below uses commonly published ratios, largely following Carney's definitions. Some traders allow small tolerances around each figure.

MeasurementGartleyBatButterfly (for comparison)Crab (for comparison)
B as a retracement of XA0.6180.382 to 0.500.7860.382 to 0.618
C as a retracement of AB0.382 to 0.8860.382 to 0.8860.382 to 0.8860.382 to 0.886
D relative to XA0.786 retracement0.886 retracement1.27 extension (beyond X)1.618 extension (beyond X)
CD as an extension of BC1.272 to 1.6181.618 to 2.6181.618 to 2.242.24 to 3.618
D versus XInside XAInside XA, close to XBeyond XWell beyond X

The Butterfly and Crab are included to show the contrast: in those patterns D extends beyond X, which changes where a stop can go. This article focuses on the Gartley and Bat, where D stays inside the XA leg.

How to tell a Gartley from a Bat

The quickest test is point B. If B retraces close to 61.8% of XA, you are looking at a potential Gartley. If B retraces only 38.2% to 50%, it is a potential Bat. The Bat's D point then sits deeper, near 88.6% of XA, giving a final leg that runs close to X. Because the Bat's D is near X, its stop can be very close to the entry, which is part of its appeal; it is also why the pattern can be invalidated by a small overshoot.

The potential reversal zone

D is not one number. Traders calculate several projections and look for them to cluster:

  1. The XA retracement (78.6% for a Gartley, 88.6% for a Bat).
  2. The BC extension (for example 1.272 to 1.618 for a Gartley).
  3. An AB=CD measurement, where the CD leg equals the AB leg in length, sometimes with a ratio applied.

The area where these overlap is the potential reversal zone (PRZ). A tight PRZ, where several measurements land within a few pips of each other, is usually considered higher quality than a wide one. Location adds weight: a PRZ that coincides with established support or resistance or a round number has a further reason to hold.

Worked example: a bullish Gartley on EUR/USD

Suppose these swings appear on the 4-hour chart:

  • X = 1.0800, A = 1.1000. XA = 200 pips.
  • B = 1.0876. Retracement of XA: (1.1000 − 1.0876) ÷ 200 = 124 ÷ 200 = 0.62. Gartley territory, not a Bat.
  • C = 1.0950. Retracement of AB: (1.0950 − 1.0876) ÷ 124 = 74 ÷ 124 = 0.60. Within 0.382 to 0.886.

Projecting D:

  • 78.6% of XA: 1.1000 − (0.786 × 200) = 1.1000 − 157 pips = 1.0843
  • BC = 74 pips. 1.272 extension: 1.0950 − (1.272 × 74) = 1.0950 − 94 = 1.0856. 1.618 extension: 1.0950 − 120 = 1.0830.
  • AB=CD: AB was 124 pips, so CD = 124 gives 1.0950 − 124 = 1.0826.

The measurements cluster between roughly 1.0826 and 1.0856, with the key 78.6% level at 1.0843. That is the PRZ.

Trade plan. Buy at 1.0845 once price reaches the zone and shows a reaction, for example a bullish rejection candle on the 1-hour chart. Stop below X at 1.0790: 55 pips of risk. Common harmonic targets are the 38.2% and 61.8% retracements of the AD leg. AD = 1.1000 − 1.0843 = 157 pips. Target 1 at 38.2%: 1.0843 + 60 = 1.0903 (58 pips from entry). Target 2 at 61.8%: 1.0843 + 97 = 1.0940 (95 pips).

Size. $12,000 account, 1% risk ($120): $120 ÷ (55 × $10) = 0.218 lots, so 0.21 lots, risking $115.50. Use the Fibonacci retracement calculator to check the levels and the position size calculator for sizing.

Notice that target 1 offers only about 1.05 times the risk. Many harmonic traders take partial profit there and move the stop to break-even, accepting a modest payoff on the first portion in exchange for reduced risk on the rest.

What a Bat would look like on the same leg

Had B instead stopped at 1.0910 (45% of XA), the structure would point to a Bat, with D projected at 88.6% of XA: 1.1000 − 177 = 1.0823. A stop below X at 1.0790 would then be only about 33 pips. The tighter stop allows a larger position for the same cash risk, but a modest overshoot of X kills the trade.

Checking the pattern before price arrives

A practical advantage of harmonic patterns is that the PRZ can be calculated before price reaches it. Once C is in place, you know roughly where D should complete, where the stop belongs and where the targets sit. That lets you decide in advance whether the trade is worth taking. If the reward to target 1 is less than the risk to X, or if a high-impact data release is due around the time price is likely to reach the zone, you can simply set an alert and stay out. Planning before the market gets there removes much of the temptation to improvise once price is moving fast toward your level.

Why harmonic patterns fail

Harmonic patterns can look scientific because of all the decimals, but several features make them less precise than they appear.

  • Swing selection is subjective. Choosing which highs and lows count as X, A, B and C changes every ratio. Two traders can find different patterns on the same chart.
  • Tolerances add up. If you allow a few percent of slack on each ratio, many random swings qualify as some harmonic pattern.
  • Trends run through the PRZ. In a strong trend, price often slices through D and X without pausing. Harmonics are counter-trend at the point of entry, which carries its own risk.
  • News overrides geometry. A central bank surprise does not care about a 0.786 retracement.
  • Software inconsistency. Automatic harmonic scanners use different ratio sets and can repaint, drawing a pattern that later disappears as new swings form. Our article on non-repainting indicators explains why that matters.

Risk point: Harmonic patterns are counter-trend entries at a projected zone, and the market is under no obligation to respect Fibonacci ratios. Be wary of courses, indicators or signal groups that present harmonics as highly accurate. Always place a stop beyond X (or the pattern's invalidation point), size from that distance, and remember that leveraged forex and CFD trading leads to losses for most retail accounts.

Confirmation techniques traders add

Because the PRZ is a zone rather than a signal, many harmonic traders wait for some evidence that price is actually reacting before entering:

  • Reversal candles in the zone, such as pin bars or engulfing candles on a lower timeframe.
  • Momentum divergence between the C and D legs, for example on the RSI.
  • A lower-timeframe structure break, where price breaks the last minor swing in the new direction after touching the PRZ.
  • Higher-timeframe alignment, such as a bullish Gartley completing at a daily support level within a daily uptrend.

Each filter reduces the number of trades and may worsen the entry price, but it can also screen out patterns where price is simply trending through the zone. Combining several reasons in one area is the essence of confluence.

Getting started with harmonics

Start by learning just the Gartley and Bat. Mark potential XA legs on the 4-hour and daily charts of two or three pairs, measure B, and only continue if B clearly fits one of the two patterns. Calculate the PRZ by hand at first, so you understand where each number comes from, before relying on scanners. Log every pattern, including those that failed to reach D and those that blew through it, and practise entries on a demo account. After several dozen examples, you will have a far more grounded sense of how these patterns behave on the pairs you watch.

Frequently asked questions

What is the difference between a Gartley and a Bat pattern?

Both are five-point XABCD patterns where D completes inside the XA leg. In a Gartley, B retraces about 61.8% of XA and D about 78.6%. In a Bat, B retraces a shallower 38.2% to 50%, while D retraces deeper, about 88.6%. The Bat's D sits closer to X, which usually means a tighter stop.

Are harmonic patterns reliable in forex?

They provide a structured way to identify potential reversal zones with defined risk, but they are not reliable on their own. Swing selection is subjective, tolerances let many random moves qualify, and strong trends regularly break through the reversal zone. Most traders who use harmonics add confirmation and strict risk management rather than trading every completed pattern.

Where should I put my stop on a Gartley?

The common approach is to place the stop a buffer beyond point X, since a break of X invalidates the Gartley structure. Some traders use a tighter stop just beyond the far edge of the potential reversal zone. The tighter stop improves reward-to-risk but is more likely to be hit by an overshoot.

What are typical targets for harmonic patterns?

Many harmonic traders target the 38.2% and 61.8% retracements of the AD leg, measured from point D back toward A. Some also use point C or point A as further targets. Partial profit at the first target with the stop moved to break-even is a common management approach.

Do I need special software to trade harmonic patterns?

No. You can measure all legs with a standard Fibonacci retracement tool on MT4, MT5 or TradingView. Many platforms also offer an XABCD drawing tool. Automatic scanners can save time but use different ratio sets and may repaint, so verify any pattern they flag by measuring the legs yourself.

Can harmonic patterns be used on any timeframe?

Yes, the ratios are the same on every timeframe. Higher timeframes such as the 4-hour and daily usually give cleaner swings and fewer false patterns. On very low timeframes, harmonic structures appear constantly, the reversal zone is only a few pips wide, and spreads take a larger share of the potential profit.

This article is general information, not personal financial advice. Figures such as spreads, fees, leverage and rules change; confirm them with the provider and check the provider is authorised for your country of residence.