PipCircle app icon

Install PipCircle

Add the app to your device - fast access, full screen, and it works offline.

Important Disclaimer

PipCircle is the social network for traders. We connect forex, stock, crypto, and prop firm traders with broker reviews, community insights, and real-time trading discussions.

The information on this platform, including user posts, broker reviews, and discussions, is for informational and educational purposes only. It does not constitute financial advice, investment recommendations, or an endorsement of any broker or trading strategy.

Risk Warning: Trading in financial markets involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results. You should carefully consider your investment objectives, level of experience, and risk appetite before trading.

Users are solely responsible for their own trading decisions.

Butterfly and crab patterns

In the butterfly and the crab, point D lies beyond X. Price passes the start of the pattern before the reversal is looked for.

  • Level 8 Advanced Charting
  • Lesson 13 of 19
  • 6 min read
  • 2 questions

The butterfly and the crab are five-point patterns in which point D lies beyond X. Price goes past the start of the pattern, and only then is a reversal looked for. In a butterfly, B gives back 78.6% of XA and D lies at 127.2% of XA, measured from A. In a crab, B gives back between 38.2% and 61.8%, and D lies at 161.8%.

A bullish butterfly pattern on five points: X at 0.6600, A at 0.6800, B at 0.6643, C at 0.6722 and D at 0.6546. AB is 78.5% of XA, BC is 50.3% of AB, CD is 222.8% of BC, and AD is 127.0% of XA, so D lies 54 pips beyond X.A bullish butterfly pattern on five points: X at 0.6600, A at 0.6800, B at 0.6643, C at 0.6722 and D at 0.6546. AB is 78.5% of XA, BC is 50.3% of AB, CD is 222.8% of BC, and AD is 127.0% of XA, so D lies 54 pips beyond X.
Figure 1. A bullish butterfly pattern on AUD/USD, with its four ratios. Example prices, not market data.

The two ratio sets

RatioButterflyCrab
AB ÷ XA0.7860.382 to 0.618
BC ÷ AB0.382 to 0.8860.382 to 0.886
CD ÷ BC1.618 to 2.6182.24 to 3.618
AD ÷ XA1.272, and up to 1.618 in some sources1.618

The butterfly example

AUD/USD rises 200 pips from X at 0.6600 to A at 0.6800, falls to B at 0.6643, rises to C at 0.6722 and falls to D at 0.6546.

RatioValueRequired
AB ÷ XA0.7850.786
BC ÷ AB0.5030.382 to 0.886
CD ÷ BC2.2281.618 to 2.618
AD ÷ XA1.2701.272 to 1.618

D is 54 pips below X. The pattern is bullish, so its users look to buy there, below the low the whole pattern started from.

The crab example

A bearish crab pattern on five points: X at 152.00, A at 150.00, B at 151.24, C at 150.27 and D at 153.24. AB is 62.0% of XA, BC is 78.2% of AB, CD is 306.2% of BC, and AD is 162.0% of XA, so D lies 124 pips beyond X.A bearish crab pattern on five points: X at 152.00, A at 150.00, B at 151.24, C at 150.27 and D at 153.24. AB is 62.0% of XA, BC is 78.2% of AB, CD is 306.2% of BC, and AD is 162.0% of XA, so D lies 124 pips beyond X.
Figure 2. A bearish crab pattern on USD/JPY, with its four ratios. Example prices, not market data.

USD/JPY falls 200 pips from X at 152.00 to A at 150.00, rises to B at 151.24, falls to C at 150.27 and rises to D at 153.24.

RatioValueRequired
AB ÷ XA0.6200.382 to 0.618
BC ÷ AB0.7820.382 to 0.886
CD ÷ BC3.0622.24 to 3.618
AD ÷ XA1.6201.618

D is 124 pips above X. The last leg, CD, is 297 pips: more than three times BC and longer than XA itself.

What “beyond X” means for a trade

  • The trade goes against a break. By the time D forms, price has passed X. In the words of Level 7, a swing point has been broken, and a trade at D is a trade against that break.
  • The last leg is the strongest. In the crab the move into D is the longest and fastest leg of the pattern. Buying or selling into it is the hardest kind of entry to time.
  • X cannot hold the stop. In a Gartley or a bat, a stop can sit beyond X. Here X is already behind the price, so the stop can only go beyond D, at a distance the trader has to choose.

Sources differ

The ratio sets for these two patterns vary more than for the others. Some sources accept a butterfly with D anywhere from 127.2% to 161.8% of XA. For the crab’s last leg, one widely used charting platform documents an extension of BC from 2.24, and a broker’s published table starts the range at 2.618. Before using a pattern scanner or a signal, find out which figures it uses.

The four patterns side by side

PatternB, as a share of XAD, as a share of XAWhere D lies
Gartley61.8%78.6%Between X and A
Bat38.2% to 50%88.6%Between X and A, near X
Butterfly78.6%127.2%Beyond X
Crab38.2% to 61.8%161.8%Far beyond X

Each of the four examples in this section matches its own row and none of the other three.

Key points

  • In a butterfly, B is at 78.6% of XA and D at 127.2%, beyond X.
  • In a crab, B is between 38.2% and 61.8% of XA and D at 161.8%, far beyond X.
  • A trade at D in these patterns goes against a break of X, into the strongest leg.
  • Sources differ on these ratio sets more than on the others.

Quick check

These questions do not count towards your quiz score.

1. X is at 0.6600 and A at 0.6800. A bullish butterfly has D at 127.2% of XA, measured from A. How far below X is D?
2. X is at 152.00 and A at 150.00 on USD/JPY. Where is D of a bearish crab, at 161.8% of XA?

Common mistakes

  • Buying a break of X because a pattern is “forming”. Until D is reached and price reacts, the chart shows a break of a swing low and nothing else.
  • Placing the stop at X. In these patterns X is on the wrong side of the entry. The stop goes beyond D.
  • Underestimating the last leg. A CD leg two or three times the length of BC is a strong move, and strong moves often continue.
  • Assuming every source means the same pattern. Check the ratio set behind a scanner or a signal before comparing it with another.

Another example

EUR/USD falls 200 pips from X at 1.1000 to A at 1.0800. It rises 157 pips to B at 1.0957, falls 97 pips to C at 1.0860 and rises 194 pips to D at 1.1054. The ratios are 0.785, 0.618, 2.000 and 1.270, which fit the butterfly set and none of the others. D is 54 pips above X. A trader selling there is selling a market that has just made a new high above the start of the pattern, and has no swing point nearby to place a stop behind.

Questions people ask

What is a butterfly pattern in trading?

It is a five-point harmonic pattern in which B gives back about 78.6% of the first leg and D lies beyond X, at about 127.2% of the first leg measured from A. Traders who use it look for a reversal after price has passed the start of the pattern.

What is a crab pattern?

It is a five-point harmonic pattern with D at 161.8% of the first leg, far beyond X. B gives back between 38.2% and 61.8% of that leg, and the last leg is very long compared with BC. It is the most stretched of the common patterns.

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

Where D lies. In a Gartley, D stays between X and A, at 78.6% of the first leg. In a butterfly, D goes past X, to 127.2% or more. B also differs: 61.8% in a Gartley and 78.6% in a butterfly.

What is a deep crab pattern?

It is a variant of the crab in which B gives back about 88.6% of the first leg, much more than in the ordinary crab, while D stays at 161.8%. The published tables read for this course list it as a separate pattern with its own ratio set.

Lessons are free to read without an account. Sign in and PipCircle remembers where you stopped, keeps your quiz scores and awards your badges. Sign in free

Trading foreign exchange and CFDs carries a high risk of losing money. PipCircle Learn is education and is not investment advice.

We use cookies

Necessary cookies keep PipCircle working. Optional cookies (analytics, marketing, preferences) help us improve the product. You can change this any time from Settings → Privacy & Data. Read our Privacy Policy.