Dalal Street Blogs provides information for educational purposes only and does not constitute investment advice. Please consult a SEBI-registered investment adviser before making any investment decisions.
CAUTION: Dalal Street Blogs publishes market news and educational content only. We do not promote, recommend or endorse any stock, and nothing here is a solicitation to buy or sell securities. Please consult a SEBI-registered adviser before investing.

Indian Stock Market News, Analysis and Trading Guides

Technical Analysis

Gartley Pattern: Fibonacci Ratios Behind the Harmonic Setup and Where It Goes Wrong

Gartley pattern: close-up of a seashell spiral, a natural Fibonacci-style curve

Photo: 947051 via Pixabay

By Dalal Street Blogs Editorial9 min read

The Gartley pattern is one of those setups that looks almost too neat on a screen. Five swing points, four legs, a couple of Fibonacci ratios, and you are handed an entry, a stop and a target before the trade even begins. That precision is the attraction. It is also the trap, because the same tidy levels are easy to force onto a chart that never really formed the pattern. In this piece we go through the ratios that define a Gartley, work through a full example with rupee numbers, and then spend honest time on where it goes wrong.

In this article
  1. Where the Gartley pattern comes from
  2. The five points and four legs
  3. Gartley pattern Fibonacci ratios that make it valid
  4. How the Gartley differs from its cousins
  5. A worked example on a hypothetical NSE stock
  6. The bearish Gartley, briefly
  7. Where the Gartley goes wrong
  8. Making the Gartley pattern more dependable
  9. Quick recap

Where the Gartley pattern comes from

The name goes back to H.M. Gartley, who described the structure in his 1935 book Profits in the Stock Market. The precise Fibonacci ratios came later. According to Investopedia’s explainer on the Gartley pattern, Larry Pesavento later refined it with Fibonacci ratios, and Investopedia’s guide to harmonic patterns credits Scott Carney and others with building the wider harmonic framework on Gartley’s foundation.

That history matters for one practical reason. The “rules” you see on trading forums are not a single fixed standard handed down from 1935. They are a set of refinements layered on over decades, which is why two analysts can look at the same swing and disagree about whether it qualifies.

Investopedia calls the Gartley the most common harmonic chart pattern. Harmonic patterns as a family assume that price swings tend to retrace and extend in proportions drawn from the Fibonacci sequence, the series 0, 1, 1, 2, 3, 5, 8, 13, 21 and onwards, where each number is the sum of the two before it. As the sequence grows, the ratio between successive numbers settles near 1.618, the golden ratio. Traders turn that into retracement levels like 38.2%, 61.8% and 78.6%.

The five points and four legs

Every harmonic pattern, the Gartley included, is labelled the same way. There are five price points:

  • X is where the structure starts.
  • A is the end of the first strong swing away from X.
  • B is a retracement of the X-to-A move.
  • C is a retracement of the A-to-B move.
  • D is the final point, where the trade is meant to be taken.

Join them and you get four legs: XA, AB, BC and CD. The area around D is called the potential reversal zone. In a bullish Gartley, price is expected to turn up from D. In a bearish one, it is the mirror image and price is expected to turn down.

Gartley pattern Fibonacci ratios that make it valid

Investopedia’s harmonic patterns guide boils the Gartley down to two checks that must hold for the pattern to count:

  • Point B should sit at a 61.8% retracement of the XA leg.
  • Point D should sit at a 78.6% retracement of the XA leg.

Both percentages are measured against the length of XA, not against the leg right before them. That is an easy slip to make. If XA is a ₹300 rally, B should be roughly ₹185 below A and D roughly ₹236 below A, both counted from the same starting swing.

C sits between the two. Since C is a retracement of AB, it has to stay below A in a bullish setup. If price runs past A, you are no longer looking at a Gartley at all, just a resumed uptrend.

For the trade itself, the same guide suggests the stop loss at or near X and the profit target at or near C. Investopedia also notes that the Fibonacci levels do not need to be exact, but the closer they are, the more reliable the pattern. Hold on to that sentence, because it opens the door to most of the problems we cover later.

The Gartley hands you an entry, a stop and a target before the trade starts. The catch is that tidy levels are just as easy to draw on a chart that never formed the pattern.

How the Gartley differs from its cousins

The Gartley sits alongside three other well-known harmonic patterns. All four use the same X-A-B-C-D labelling, which is exactly why they get mixed up. The cleanest way to tell them apart is where point B lands on the XA leg. The ratios below are from Investopedia’s harmonic patterns guide.

Pattern Credited to AB as a share of XA Where D sits
Gartley H.M. Gartley 61.8% 78.6% retracement of XA
Bat Scott Carney 38.2% or 50% CD must not exceed 88.6% of XA
Butterfly Bryce Gilmore 78.6% CD at 127% to 161.8% of XA, beyond X
Crab Scott Carney 38.2% to 61.8% CD extends to 161.8% of XA

Two things jump out. First, the Gartley and the Bat both finish D inside the XA leg, so the stop near X stays meaningful. Second, the Butterfly and the Crab push D past X, which means the “stop at X” logic does not carry over. If you label a Butterfly as a Gartley by mistake, your stop will sit right where the pattern expects price to go.

A worked example on a hypothetical NSE stock

Let us build a bullish Gartley from scratch. The stock and prices below are hypothetical, chosen only to make the arithmetic easy to follow.

Step 1: mark X and A. Say a stock bottoms at ₹1,000 (X) and rallies to ₹1,300 (A). The XA leg is ₹300.

Step 2: check B. A 61.8% retracement of ₹300 is ₹185.40. So B should be near ₹1,300 minus ₹185.40, which is ₹1,114.60. If the stock actually pulls back to around ₹1,115 and bounces, the first condition is in place.

Step 3: watch C. The stock bounces from B to ₹1,240. That is below A at ₹1,300, so the structure is still alive.

Step 4: project D. A 78.6% retracement of ₹300 is ₹235.80. D therefore lands near ₹1,300 minus ₹235.80, which is ₹1,064.20. This is the potential reversal zone, the price we wait for.

Step 5: set the trade. Following the stop-near-X and target-near-C guide:

  • Entry: ₹1,064.20
  • Stop loss: ₹995, just under X so a tick through ₹1,000 does not knock us out
  • Target: ₹1,240, the level of C

Risk per share is ₹1,064.20 minus ₹995, which is ₹69.20. Reward per share is ₹1,240 minus ₹1,064.20, which is ₹175.80. The reward is about 2.54 times the risk.

Step 6: size the position. Suppose a trader has ₹5,00,000 in the account and caps risk at 1% per trade, which is ₹5,000. Dividing ₹5,000 by ₹69.20 gives about 72.25, so the trader buys 72 shares. That ties up 72 times ₹1,064.20, or ₹76,622.40, and the loss if the stop hits is 72 times ₹69.20, or ₹4,982.40. The 1% cap here is an illustration, not a recommendation. Our guide to risk management in trading walks through how to choose that number for yourself.

Notice what the pattern does and does not tell you. It gives you a level to wait for and a clean place to be wrong. It does not tell you that price will actually turn at ₹1,064. Investopedia’s guide makes the same point: it is often wiser to wait for price to start moving in the expected direction before entering, rather than buying blind at D.

The bearish Gartley, briefly

Flip everything. X is a high, A is a sharp drop, B retraces 61.8% of that drop back up, C is a dip that stays above A, and D rallies to a 78.6% retracement of XA. The short entry is at D, the stop goes just above X and the target sits near C. Investopedia describes the bearish version as simply the inverse of the bullish one, and the arithmetic works the same way in reverse.

Where the Gartley goes wrong

Here is the part most tutorials rush. We think it deserves the most space, because this is where real money is lost.

The tolerance problem

Since the ratios “do not need to be exact”, every trader sets a private margin of error. Is a B at 58% close enough to 61.8%? What about 66%? Widen the tolerance and you will find Gartleys everywhere. Tighten it and you will barely find any. Neither choice is wrong on paper, which means the pattern’s track record depends heavily on a judgment call made before the trade.

Picking the wrong X

Everything is measured off XA. Choose a slightly different swing low as X and every level shifts. On a busy daily chart of a Nifty stock there are often two or three candidates for X, and it is tempting to pick the one that makes the ratios fit best. That is curve-fitting with extra steps.

Stops that are precise but fragile

Investopedia’s guide is direct about this: harmonic patterns are praised for exact entry and stop levels, but those levels can be breached by a little volatility, kicking a trader out before the move comes good. On Indian stocks that gap on results, block deals or global cues, a stop placed just beyond X can be jumped overnight, and the exit price may be well past the stop.

A Gartley that fails at D is not a mystery. It usually means the ratios were stretched, X was chosen to fit, or the trade was taken before price actually turned.

Complexity and mislabelling

The same guide notes that harmonic patterns are complicated and not very beginner friendly, with lots of patterns to memorise and details to get right. As the table above shows, a Gartley, a Bat and a Butterfly can look similar for most of their life. The difference only becomes clear late, and by then a trader may already be committed to the wrong plan.

Timeframe fit

Harmonic patterns are generally used for swing trading and need more patience than day traders usually have, per Investopedia. Forcing a Gartley onto a five-minute Bank Nifty chart tends to produce small, noisy legs where a few ticks change the ratios entirely.

Making the Gartley pattern more dependable

None of this means the pattern is useless. It means it works best as a framework rather than a standalone signal. A few habits help:

  • Write your tolerance down in advance. Decide how far from 61.8% and 78.6% you will accept, and stick to it across every chart.
  • Wait for a reaction at D. A bullish candle, a reclaim of a short moving average or a momentum indicator turning up gives you evidence instead of hope.
  • Check the bigger picture. Investopedia suggests validating harmonic setups across multiple timeframes and with other indicators. A bullish Gartley against a strongly falling weekly trend deserves smaller size, if any.
  • Look for overlap with other levels. If D lines up with a prior support zone or a round number, the case is stronger than ratios alone.
  • Respect the stop. The whole point of the pattern is a defined place to be wrong. Moving the stop because price “should” turn defeats it.

If you are newer to swing-based reading of price, our technical analysis guide for Indian stocks covers support, resistance and trend before you get to harmonics. And because harmonic traders often lean on wave counts too, our piece on Elliott Wave theory and why counts get revised is a useful companion, since it runs into the same “which swing do I count from” problem.

Quick recap

  • The Gartley is a five-point harmonic pattern (X, A, B, C, D) traced to H.M. Gartley’s 1935 book, later refined with Fibonacci ratios.
  • B should retrace about 61.8% of XA and D about 78.6% of XA.
  • The usual plan is entry near D, stop near X and target near C.
  • Bat, Butterfly and Crab use the same labels but different ratios, and the Butterfly and Crab finish beyond X.
  • Most failures come from loose tolerances, a hand-picked X, fragile stops and entering before price turns.

Disclaimer: This article is for educational purposes only and is not investment advice. The worked example uses hypothetical prices. Trading involves risk of loss, so speak to a SEBI-registered adviser before making investment decisions.

Leave a Reply

Join the conversation

Commenting is open to registered readers. Sign up with just your email — no password needed, and it takes under a minute.

Sign up to comment Log in