Pattern direction

Harmonic patternBullish XABCDBearish XABCD

XABCD Pattern: How to Draw, Read and Trade It

XABCD pattern rules: where B and D sit for the Gartley, Bat, Butterfly and Crab, a worked example, entry, stop and targets, and our test of all four against random dates.

· Founder of PatternsWizard
Updated Statistics updated 17 min read
TPSLEntryBullish reversal at DTPSLEntryBearish reversal at D

How we tested this pattern

Sample
14,656 occurrences on 6 markets (crypto, forex, US stocks, ETFs, indices and commodities), 1970 to 2026.
Detection
Found by code, never picked by hand: every match of the rule on full price history, winners and losers alike.bullish XABCD pattern: Any bullish Gartley, Bat, Butterfly or Crab, as defined on their own pages. When one X-A-B-C structure reaches more than one reversal zone, only the first one counts. The first swing point is a true extreme: over the duration of the first leg before it, price never went more than 10% of that leg beyond it.bearish XABCD pattern: Any bearish Gartley, Bat, Butterfly or Crab, as defined on their own pages. When one X-A-B-C structure reaches more than one reversal zone, only the first one counts. The first swing point is a true extreme: over the duration of the first leg before it, price never went more than 10% of that leg beyond it.
Benchmark
Each occurrence is compared with the same assets on random bars: the move 10 bars later, and a 2:1 reward-to-risk trade.
Checks
Block bootstrap and a correction for the thousands of tests we run, plus a random-walk self-test that the bench passes: on random prices, no pattern should win.
Updated
Data updated November 5, 2026, code version c2a1683f. Read the methodology · bullish XABCD pattern data (JSON) · bearish XABCD pattern data (JSON)

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

One email with the PDF, then a note when a result changes. Unsubscribe anytime. Privacy.

At a glance: what textbooks say, what we measured
Pattern
Bullish XABCD
Occurrences tested
6,634 occurrences, all markets, daily
Textbook: price should rise after it
Too close to call · −0.03% vs the market, 10 bars
Textbook: target reached most of the time
39.8% vs 38.9% on random dates
Where it did best, US stocks left out
Forex, 1-hour: +0.06 R 2:1 trade vs random dates, not proven
Verdict
10-bar move: No clear edge2:1 trade: No clear edge
Pattern
Bearish XABCD
Occurrences tested
8,022 occurrences, all markets, daily
Textbook: price should fall after it
Too close to call · +0.09% vs the market, 10 bars
Textbook: target reached most of the time
28.1% vs 28.5% on random dates
Where it did best
Forex, 1-hour: +0.05 R 2:1 trade vs random dates, not proven
Verdict
10-bar move: No clear edge2:1 trade: No clear edge

See the statistics

On this page
  1. What is an XABCD pattern?
  2. Understanding the core Fibonacci ratios
  3. Major types of XABCD pattern
  4. How to identify an XABCD pattern on your chart
  5. An XABCD pattern example with numbers
  6. Real examples
  7. Step-by-step guide to trading the XABCD pattern
  8. Benefits of using the XABCD pattern
  9. Challenges and limitations of XABCD trading
  10. Is the XABCD pattern reliable?
  11. Execution tips
  12. Best practices for risk management
  13. Tools to draw and scan the XABCD pattern
  14. Frequently asked questions about the XABCD pattern
  15. Summary

The XABCD pattern is the five-point frame behind the Gartley, the Bat, the Butterfly, the Crab and the Cypher. Five turning points, X, A, B, C and D, join four moves (XA, AB, BC and CD), and the Fibonacci ratios between those moves decide which pattern you are looking at. It is used to calculate in advance where a pullback or a reversal may end, at point D.

This page explains how to draw it, how the rules of each version work, a worked case with numbers, how to start trading it with an entry, a stop and targets, and what we can and cannot say about their reliability. We tested these patterns on our bench, and we give the results where they matter.

What is an XABCD pattern?

An XABCD pattern is a price structure with five pivots that alternate between highs and lows. It is a tool of technical analysis: the trader draws it on a chart with lines between the pivots, then uses Fibonacci retracements to find the zone where the last price movement should end.

The five points of the structure

Each letter of the name is a turn on the chart. X is the origin, A the end of the first move, B and C the two intermediate turns, and D the completion point, where the trade is taken. In a bullish setup, X, B and D are swing lows; in a bearish one, the opposite.

Defining the four legs: XA, AB, BC and CD

  • XA: the initial impulse leg. Every other measure is based on it.
  • AB: the first retracement of XA.
  • BC: a move back in the direction of XA, which stays inside AB in the classic patterns.
  • CD: the final move, which completes the structure at D.

In simple terms, the frame alone predicts nothing. It becomes a valid setup when each move respects its rule: where B sits on XA, where C sits on AB, and where D lands on XA and on BC.

B / XAC / ABD / XAXABCDBullish
Bullish XABCD: textbook Fibonacci ratios
B / XAC / ABD / XAXABCDBearish
Bearish XABCD: textbook Fibonacci ratios

Where the XABCD frame comes from

H.M. Gartley described a five-point retracement shape in Profits in the Stock Market (1935). Larry Pesavento later tied the moves to these ratios, and Scott Carney set precise rules for each pattern in The Harmonic Trader (1999), where he coined the term that now names the method. Scott Carney credits Bryce Gilmore with the structure of the Butterfly; the Bat and the Crab were defined by Scott Carney.

Understanding the core Fibonacci ratios

Every version is built from a short list of numbers: 0.382, 0.50, 0.618, 0.786 and 0.886 for retracements, 1.272, 1.618, 2.24 and 2.618 for extensions. A retracement measures how much of the previous move is given back; an extension measures how far a move travels beyond its starting point.

Fibonacci levels and their role in pattern validation

The ratios do two main jobs. At B, they orient the reading: a B at 0.618 of XA suggests a Gartley, a B at 0.786 a Butterfly. The B ranges overlap, though (0.618 also falls inside the Crab range), so only B and D together decide the pattern. At D, they define the potential reversal zone (PRZ): the area where the XA measure, the BC extension and the AB=CD measure meet. The tighter these three prices, the cleaner the setup. If a single measure falls outside its range, the pattern is not valid, whatever it looks like.

Major types of XABCD pattern

The same five pivots produce different patterns depending on two numbers: the depth of B on XA, and where D lands on XA.

PatternB (on XA)C (on AB)D (on XA)Family
Gartley0.6180.382 to 0.8860.786Retracement, D inside X
Bat0.382 to 0.500.382 to 0.8860.886Retracement, D inside X
Butterfly0.7860.382 to 0.8861.272Extension, D beyond X
Crab0.382 to 0.6180.382 to 0.8861.618Extension, D beyond X

The Gartley pattern: rules and identification

The first of the four to be described (Gartley, 1935). B sits at 0.618 of XA and D at 0.786, inside the initial impulse. In the classic description, CD extends 1.272 to 1.618 of BC and is about as long as AB.

0.618 XA0.382 to 0.886 AB0.786 XA1.272 to 1.618 BCXABCDBullish
Bullish Gartley: textbook Fibonacci ratios

The Bat pattern: critical retracement levels

A shallower B (0.382 to 0.50) and a deeper D, at 0.886 of XA, close to X. A stop just beyond X is therefore near the entry.

0.382 to 0.5 XA0.382 to 0.886 AB0.886 XA1.618 to 2.618 BCXABCDBullish
Bullish Bat: textbook Fibonacci ratios

The Butterfly pattern: the extended CD move

A deep B at 0.786 of XA, and a D that goes beyond X, at the 1.272 extension of XA. It marks a new extreme that fails, which is why it is called an extension pattern.

0.786 XA0.382 to 0.886 AB1.272 XA1.618 to 2.24 BCXABCDBullish
Bullish Butterfly: textbook Fibonacci ratios

The Crab pattern: extreme reversal zones

The most extended of the four: D at the 1.618 extension of XA, with a long CD move. It aims at the extreme of a sharp move.

0.382 to 0.618 XA0.382 to 0.886 AB1.618 XA2.24 to 3.618 BCXABCDBullish
Bullish Crab: textbook Fibonacci ratios

The Cypher and Shark patterns: modern variations

The Cypher breaks one classic rule: C goes beyond A, to the 1.272 to 1.414 extension of XA, after a B at 0.382 to 0.618 of XA. D is then taken on the XC move, at 0.786 of it. The Shark also lets C go beyond A. Other structures on the same frame include the alternate Bat and the 5-0; the three drives is a related structure built on three pushes.

XABCD vs. ABCD

The ABCD pattern is the same structure without X: three moves, in which CD is roughly equal to AB. Adding the first move XA changes a lot: D can now be placed on XA, which gives a tighter zone and, for retracement patterns, a natural invalidation point at X.

How to identify an XABCD pattern on your chart

Draw the point labels in order, then check each rule. If one measure fails, the structure is either another design or no pattern at all.

XABCD
  1. Swing low where the pattern starts
  2. End of the XA leg
  3. Its retracement of XA names the pattern: 0.587 to 0.649 Gartley, 0.382 to 0.50 Bat, 0.747 to 0.825 Butterfly, 0.382 to 0.618 Crab
  4. Retraces 0.382 to 0.886 of AB
  5. D zone: signalzone of the matching pattern (0.786 or 0.886 of XA, or the 1.27 or 1.618 extension); only the first zone reached counts; entry at the close of the first bar that reaches it
Median shape of 860 daily occurrences drawn at random from all markets. Kept: setups with regular legs when enough exist, with the most common number of swing points and no two swing points on the same bar.
XABCD
  1. Swing high where the pattern starts
  2. End of the XA leg
  3. Its retracement of XA names the pattern: 0.587 to 0.649 Gartley, 0.382 to 0.50 Bat, 0.747 to 0.825 Butterfly, 0.382 to 0.618 Crab
  4. Retraces 0.382 to 0.886 of AB
  5. D zone: signalzone of the matching pattern (0.786 or 0.886 of XA, or the 1.27 or 1.618 extension); only the first zone reached counts; entry at the close of the first bar that reaches it
Median shape of 820 daily occurrences drawn at random from all markets. Kept: setups with regular legs when enough exist, with the most common number of swing points and no two swing points on the same bar.

Visualizing M and W formations

A bullish XABCD pattern starts with a rise from X to A. B is a low, C a high, and D a low where traders buy: the line joining the five pivots looks like an M. The bearish version is the mirror image, after a fall from X to A, with D at a peak where traders sell: it looks like a W. The rules are the same in both directions.

Manual drawing techniques using Fibonacci tools

  1. Start with a clear XA: a strong, clean, large move that stands out. Draw a line from X to A. A weak or choppy first move gives measures that mean little.
  2. Measure B: draw a Fibonacci retracement from X to A and read where B stopped. This tells you which type you may be looking at.
  3. Check C: a second retracement on AB. In the four classic patterns, C sits at 0.382 to 0.886 of AB and never beyond A.
  4. Project D: compute the XA ratio for that pattern, the BC extension, and the AB=CD level. Mark the zone they form.
  5. Wait for price to reach D, the last point of the pattern: before that, the pattern is only a projection, and C can still form elsewhere.

Using automated scanners and indicators

Finding the pivots and monitoring many markets by hand takes a lot of work. Automated indicators and charting platforms find the five pivots and check the rules for you, and some platforms can alert you when a pattern completes, which is especially handy on lower timeframes. They help, but the pivots found by a scanner depend on hidden choices: how big a swing must be to count as a point, and how much tolerance is allowed around each measure. Two indicators can show different results on the same chart.

An XABCD pattern example with numbers

Illustrative values, not a real chart. Reading the table below row by row shows why point B matters. Take a bullish setup where X is at 100 and A at 150: XA is 50. Here is where D would sit for each of the four classic patterns.

PatternD on XACalculationD level
Gartley0.786150 minus 39.3110.7
Bat0.886150 minus 44.3105.7
Butterfly1.272150 minus 63.686.4
Crab1.618150 minus 80.969.1

The same X and A can give a buy zone anywhere from 110.7 down to 69.1. The difference comes from B and D: if B stopped at 119.1 (0.618 of XA), you may have a Gartley and are watching 110.7, or a Crab if price runs on to 69.1; if it stopped at 110.7 (0.786), you may have a Butterfly and are watching 86.4, below X. Our Gartley page works through more examples of the calculation.

Real examples

Real occurrences from our test bench, each on its market's main timeframe. Crypto examples come from liquid assets only (the largest coins). Best and Worst are the best and worst 2:1 trade results, Textbook the cleanest shapes (chosen on geometry alone, never on the outcome), Most recent the latest detections among the assets the gallery draws from, Typical a random draw. Shaded area: the pattern. Dashed lines: entry, stop loss (SL) and 2:1 target (TP) of the tested trade. Dotted line: 10 bars after the signal. A result above +2 R or below −1 R means a bar opened past the target or the stop, and the trade was closed at that open. We left out 11 cards with a shape that does not read as the definition on this page. They still count in the statistics, and are not replaced: our bench picks a fixed number of cards per category.

Examples
Crypto overallAcross 12,988 bullish XABCD occurrences on 1-hour charts, price moved the expected way 10 bars later 51.1% of the time, against 48.3% for random bars. The average excess return does not pass our significance test.No clear edgeThe examples below are single cases.
PatternAfter1.891.48+10 barsTPSLEntry2023-01
Best tradeNEAR January 11, 20231-hour chart15.8% in the expected direction after 10 bars2:1 trade: target hit, +2.00 R
PatternAfter28.5317.10+10 barsTPSLEntry2021-04
Worst tradeATOM April 18, 20211-hour chart17.7% against the expected direction after 10 bars2:1 trade: stopped out, −1.00 R
PatternAfter12.929.26+10 barsTPSLEntry2024-11
TextbookUNI November 26, 20241-hour chart1.5% in the expected direction after 10 bars2:1 trade: target hit, +2.00 R
PatternAfter2,4182,282+10 barsTPSLEntry2026-10
Most recentETH October 26, 20261-hour chart0.8% in the expected direction after 10 bars2:1 trade: target hit, +2.00 R, 55 bars after entry, past this chart
PatternAfter1.821.62+10 barsTPSLEntry2026-10
Most recentATOM October 22, 20261-hour chart0.2% in the expected direction after 10 bars2:1 trade: target hit, +2.00 R
PatternAfter0.17840.1732+10 barsTPSLEntry2026-07
TypicalADA July 23, 20261-hour chart2.1% against the expected direction after 10 bars2:1 trade: stopped out, −1.00 R
PatternAfter93,26678,473+10 barsTPSLEntry2024-11
TypicalBTC November 14, 20241-hour chart2.1% in the expected direction after 10 bars2:1 trade: target hit, +2.00 R
Examples
Crypto overallAcross 12,349 bearish XABCD occurrences on 1-hour charts, price moved the expected way 10 bars later 54.3% of the time, against 50.6% for random bars. The average excess return does not pass our significance test.No clear edgeThe examples below are single cases.
PatternAfter0.29410.2831+10 barsTPSLEntry2023-07
TextbookADA July 10, 20231-hour chart1.0% against the expected direction after 10 bars2:1 trade: stopped out, −1.00 R
PatternAfter7.326.23+10 barsTPSLEntry2023-01
TextbookLINK January 25, 20231-hour chart0.4% against the expected direction after 10 bars2:1 trade: stopped out, −1.00 R
PatternAfter1.391.26+10 barsTPSLEntry2026-10
Most recentXRP October 20, 20261-hour chart0.5% in the expected direction after 10 bars2:1 trade: target hit, +2.00 R
PatternAfter0.03230.0278+10 barsTPSLEntry2021-01
TypicalTRX January 10, 20211-hour chart3.5% in the expected direction after 10 bars2:1 trade: stopped out, −1.00 R
PatternAfter861.1742.6+10 barsTPSLEntry2025-07
TypicalBNB July 26, 20251-hour chart0.8% against the expected direction after 10 bars2:1 trade: stopped out, −1.00 R

Step-by-step guide to trading the XABCD pattern

With an XABCD pattern, the entry, the stop and the targets are all known before the trade.

TPSLEntryBullish reversal at D
Entry
Close of the first bar that reaches the near edge of the reversal zone
Stop loss (SL)
The stop of the pattern it comes from: X for the Gartley and Bat, the 1.618 extension of XA for the Butterfly, the far edge of the zone for the Crab
Target (TP)
Twice the risk (2:1)
The trade our bench tests, drawn on the typical shape. Median shape of 860 daily occurrences drawn at random from all markets. Kept: setups with regular legs when enough exist, with the most common number of swing points and no two swing points on the same bar.
TPSLEntryBearish reversal at D
Entry
Close of the first bar that reaches the near edge of the reversal zone
Stop loss (SL)
The stop of the pattern it comes from: X for the Gartley and Bat, the 1.618 extension of XA for the Butterfly, the far edge of the zone for the Crab
Target (TP)
Twice the risk (2:1)
The trade our bench tests, drawn on the typical shape. Median shape of 820 daily occurrences drawn at random from all markets. Kept: setups with regular legs when enough exist, with the most common number of swing points and no two swing points on the same bar.

A clean case from our bench: US stocksChosen on its shape alone, never on the outcome. Stock prices are adjusted for splits and dividends, so they can differ from the prices quoted at the time.

PatternAfter1,147.5813.0+10 barsTPSLEntry2026-02
TextbookLLY April 29, 2026Daily chart19.3% in the expected direction after 10 bars2:1 trade: target hit, +2.00 R

A clean case from our bench: US stocksChosen on its shape alone, never on the outcome. Stock prices are adjusted for splits and dividends, so they can differ from the prices quoted at the time.

PatternAfter25.4119.52+10 barsTPSLEntry2005-07
TextbookADI November 7, 2005Daily chart2.9% against the expected direction after 10 bars2:1 trade: stopped out, −1.00 R

Determining the reversal zone at D

Mark the PRZ from the three measures of D. A narrow zone gives a precise entry point; a wide one means the measures disagree, and the trading plan is less clear.

Setting entry points with confirmation

Two approaches. The aggressive one places a limit order inside the zone, buying a falling price with no sign of a turn yet. The conservative one waits for a sign at D: a reversal candle, a break of a short trend line drawn along the CD move, or a divergence on an oscillator such as the RSI. Our bench tested one such candle alone: on 15,363 daily hammers (12,005 closed trades), the 2:1 trade reached its target 35.4% of the time against 36.1% for the same trade on random dates; its average result per trade (+0.06 R against +0.09 R) did not differ measurably from random dates. Confirmation adds information, not certainty.

Our bench tests one standardized version of this trade, with the same entry and target rules for every harmonic pattern so that results can be compared, and each pattern's own stop: no limit order, but an entry at the close of the first bar that reaches the zone, the stop each pattern's page teaches (X for the Gartley and the Bat, the 1.618 extension of XA for the Butterfly, the far edge of the zone for the Crab) and a target at twice the risk. We also measured how often price reached the 0.618 retracement of AD before the stop, within 100 bars: 36.9% of bullish daily setups. That rate has no random baseline, so it describes the shape rather than an edge.

Managing risk: stops and take profit targets

For retracement patterns (Gartley, Bat), the natural stop sits just beyond X, and a horizontal line at X marks it on the chart: if price passes X, the structure is invalid. For extension patterns (Butterfly, Crab), D is already beyond X, so the stop goes beyond the next extension of XA (for a Butterfly, 1.618) or just beyond the zone. The classic targets are the 0.382 and 0.618 retracements of the AD move, then C, then A. One way to manage the trade is to take part of the position off at the first target and move the stop to breakeven.

Benefits of using the XABCD pattern

High risk-to-reward potential

In retracement patterns, the stop sits near the entry. In the Gartley example above (X at 100, A at 150, B at 119.1), suppose C turned at 135, about half of AB and inside the 0.382 to 0.886 range. Buying at 110.7 with a stop below 100 risks about 10.7; a target at C offers about 24.3, about 2.3 times the risk. That figure describes the plan, not the odds of reaching the target.

Versatility across different timeframes

The rules apply the same way in stock, forex and crypto trading, and on any timeframe, from intraday to weekly.

Improving trade consistency with structural rules

Explicit ratios make the patterns easier to check than a shape drawn by eye, and they force a written plan before each trade.

Challenges and limitations of XABCD trading

The difficulty of subjective pattern recognition

The choice of X and A is subjective: two traders may label the same chart differently, and each will find a valid pattern. The temptation is to stretch the ratios to find more. Human emotions play their part: after a few losses, it is easy to see the pattern you want to see.

Avoiding the trap of over-trading

With five designs, several timeframes and dozens of assets, there is always a setup somewhere. Each new design you add means more trading decisions, not better ones. Fewer, cleaner patterns are easier to manage than many loose ones.

Why market structure matters more than the pattern

Is the XABCD pattern reliable?

A fair test needs a fixed detection rule: which swings count as pivots, and how much tolerance to allow around each ratio. We set ours from chart reviews, never from results: swings of 2, 4 or 8 times the average true range, and single ratios accepted within 5% of their value. On our bench, the XABCD is not a rule of its own: it is any bullish (or bearish) Gartley, Bat, Butterfly or Crab, the four patterns described above, as defined on their own pages. In all four, X must be a true turning point: over as many bars as XA took, before X, price never went more than 10% of XA beyond it. When one X-A-B-C structure reaches more than one reversal zone, only the first one counts. The alternate bat is left out. These counts are low estimates: on simulated prices with mid-level noise and planted patterns, the narrow rule found about 70% of bearish patterns and 63% of bullish ones.

53.3%vs 53.4% at random

Moved the expected way 10 bars later, compared with random bars.

Measured on 6,634 daily bullish XABCD occurrences across 1,809 assets. Random bars on the same assets are the honest baseline.

No clear edge
46.9%vs 46.0% at random

Moved the expected way 10 bars later, compared with random bars.

Measured on 8,022 daily bearish XABCD occurrences across 1,861 assets. Random bars on the same assets are the honest baseline.

No clear edge

Bullish XABCD against random bars on the same assets, by market, on daily candles. Bars of almost the same length mean no edge.

Moved the expected way 10 bars laterBullish XABCDRandom bars
  • All markets
    All markets, Bullish XABCD: 53.3%
    All markets, Random bars: 53.4%
  • Crypto
    Crypto, Bullish XABCD: 51.8%
    Crypto, Random bars: 44.6%
  • US stocks
    US stocks, Bullish XABCD: 53.3%
    US stocks, Random bars: 53.9%
  • Forex
    Forex, Bullish XABCD: 61.8%
    Forex, Random bars: 50.6%
  • ETFs
    ETFs, Bullish XABCD: 52.6%
    ETFs, Random bars: 56.7%
  • Indices
    Indices, Bullish XABCD: 52.5%
    Indices, Random bars: 57.4%
  • Commodities
    Commodities, Bullish XABCD: 58.6%
    Commodities, Random bars: 52.7%
2:1 trade hit its targetBullish XABCD tradeSame trade, random dates
  • All markets
    All markets, Bullish XABCD trade: 34.8%
    All markets, Same trade, random dates: 34.3%
  • Crypto
    Crypto, Bullish XABCD trade: 20.0%
    Crypto, Same trade, random dates: 29.4%
  • US stocks
    US stocks, Bullish XABCD trade: 35.7%
    US stocks, Same trade, random dates: 34.5%
  • Forex
    Forex, Bullish XABCD trade: 43.3%
    Forex, Same trade, random dates: 32.2%
  • ETFs
    ETFs, Bullish XABCD trade: 35.0%
    ETFs, Same trade, random dates: 37.0%
  • Indices
    Indices, Bullish XABCD trade: 37.3%
    Indices, Same trade, random dates: 36.5%
  • Commodities
    Commodities, Bullish XABCD trade: 42.0%
    Commodities, Same trade, random dates: 37.2%

Bearish XABCD against random bars on the same assets, by market, on daily candles. Bars of almost the same length mean no edge.

Moved the expected way 10 bars laterBearish XABCDRandom bars
  • All markets
    All markets, Bearish XABCD: 46.9%
    All markets, Random bars: 46.0%
  • Crypto
    Crypto, Bearish XABCD: 58.0%
    Crypto, Random bars: 55.0%
  • US stocks
    US stocks, Bearish XABCD: 46.5%
    US stocks, Random bars: 45.5%
  • Forex
    Forex, Bearish XABCD: 45.7%
    Forex, Random bars: 49.2%
  • ETFs
    ETFs, Bearish XABCD: 43.6%
    ETFs, Random bars: 43.4%
  • Indices
    Indices, Bearish XABCD: 37.6%
    Indices, Random bars: 42.6%
  • Commodities
    Commodities, Bearish XABCD: 47.7%
    Commodities, Random bars: 46.7%
2:1 trade hit its targetBearish XABCD tradeSame trade, random dates
  • All markets
    All markets, Bearish XABCD trade: 26.4%
    All markets, Same trade, random dates: 26.3%
  • Crypto
    Crypto, Bearish XABCD trade: 28.8%
    Crypto, Same trade, random dates: 28.3%
  • US stocks
    US stocks, Bearish XABCD trade: 26.3%
    US stocks, Same trade, random dates: 26.2%
  • Forex
    Forex, Bearish XABCD trade: 27.9%
    Forex, Same trade, random dates: 25.9%
  • ETFs
    ETFs, Bearish XABCD trade: 26.4%
    ETFs, Same trade, random dates: 26.9%
  • Indices
    Indices, Bearish XABCD trade: 26.4%
    Indices, Same trade, random dates: 26.4%
  • Commodities
    Commodities, Bearish XABCD trade: 23.9%
    Commodities, Same trade, random dates: 25.8%
All statistics

Full results for the XABCD pattern, market by market

Every occurrence our rule finds on full price history, compared with what the same assets did on random bars. A pattern only earns an edge if it beats random entries after correcting for the thousands of tests we run.

Our verdict

Not a reliable signal on its own here. Use it as context, not as a trigger.

10-bar move No clear edge2:1 trade No clear edge

Bullish XABCD: 6,634 occurrences tested

Bullish pattern · All markets · Daily · 1,809 assets · 1970-07 to 2026-10

Moved the expected way after 10 bars
53.3%
vs 53.4% on random bars
Excess return vs its market, 10 bars
−0.03%
95% interval −0.26% to +0.21%
its market−3%+3%
2:1 trade hit the target
34.8%
vs 34.3% for the same trade on random dates
Average result per trade
+0.15 R
vs +0.13 R on random dates

What this means. No measurable difference from the rest of its market over the next 10 bars.

Timeline

Pattern length, first swing to signal
53 days · middle half 35 to 96 · on 6,634 occurrences
Signal, after the last confirmed swing
6 days · middle half 2 to 14 · on 6,634 occurrences
Time to the 2:1 target, when hit
17 days · middle half 7 to 35 · on 2,297 trades that hit it
Time to the stop, when hit
7 days · middle half 2 to 19 · on 3,693 trades that hit it
Time in the trade, all exits
12 days · middle half 4 to 35 · on 6,598 trades

Size and trade path

Pattern height
23.2% · middle half 14.3% to 39.4% · on 6,634 occurrences
Best open profit during the trade
1.08 R · middle half 0.31 R to 2.07 R · on 6,598 trades
Stopped trades that were first up 1 R
20.0% · on 3,693 stopped trades
Trades a stop moved to breakeven at +1 R would have closed flat instead of at a loss

Medians, each on the cases named on its line; "middle half" spans the 25th to 75th percentile; no value under 30 cases.

How we detect it. Any bullish Gartley, Bat, Butterfly or Crab, as defined on their own pages. When one X-A-B-C structure reaches more than one reversal zone, only the first one counts. The first swing point is a true extreme: over the duration of the first leg before it, price never went more than 10% of that leg beyond it.

All measurements (20 rows)

10-bar move: did price go the expected way?

Figures in gray: fewer than 30 occurrences, not interpreted. Excess return is signed so that positive favors the pattern. The test uses the bootstrap’s standard error and the interval its percentiles: near the 0.05 line, or on a few extreme moves, an interval can leave out zero while the test does not pass, and the test decides. Stock data misses most delisted companies, a survivorship bias we have not sized, which can flatter stock rows.
MarketOccurrencesPatternRandom barsExcess10-bar move verdict
Crypto · 1-hour12,98851.1%48.3%+0.03%No clear edge
Forex · 1-hour1,78052.4%50.6%+0.01%No clear edge
All markets · 1-hour14,76851.2%48.5%+0.03%No clear edge
Crypto · 4-hour3,21849.0%47.4%+0.25%No clear edge
Forex · 4-hour42555.6%50.3%+0.06%No clear edge
All markets · 4-hour3,64349.8%47.8%+0.23%No clear edge
Crypto · Daily44451.8%44.6%+0.75%No clear edge
US stocks · Daily5,66053.3%53.9%−0.09%No clear edge
ETFs · Daily23452.6%56.7%−0.32%No clear edge
Indices · Daily15852.5%57.4%+0.12%No clear edge
Forex · Daily6861.8%50.6%+0.07%No clear edge
Commodities · Daily7058.6%52.7%+0.77%No clear edge
All markets · Daily6,63453.3%53.4%−0.03%No clear edge
Crypto · Weekly1140.0%38.6%−5.55%Not enough data
US stocks · Weekly83663.6%56.5%+1.39%No clear edge
ETFs · Weekly2958.6%58.9%−3.19%Not enough data
Indices · Weekly1450.0%61.1%−1.02%Not enough data
Forex · Weekly1080.0%48.0%+1.93%Not enough data
Commodities · Weekly1375.0%53.9%+2.62%Not enough data
All markets · Weekly91363.3%56.3%+1.15%No clear edge

2:1 trade: target hit and average result

R = initial risk of the trade. Entry at the close of the signal bar. Exit at the stop or the target, or at the open when a bar opens beyond either one; otherwise at the close after 100 bars. When one bar touches both the stop and the target, the loss is counted. No fees or slippage. n/a = not measured. Per trade: average result, against the same trade on random dates. Figures in gray: fewer than 30 closed trades, not interpreted.
MarketTradesTarget hitSame trade, random datesPer trade2:1 trade verdict
Crypto · 1-hour12,98127.1%28.7%−0.01 R vs +0.01 RNo clear edge
Forex · 1-hour1,77932.3%30.5%+0.07 R vs +0.02 RNo clear edge
All markets · 1-hour14,76027.8%28.9%0.00 R vs +0.01 RNo clear edge
Crypto · 4-hour3,20424.5%27.7%−0.05 R vs +0.02 RNo clear edge
Forex · 4-hour42131.6%29.5%+0.03 R vs 0.00 RNo clear edge
All markets · 4-hour3,62525.4%27.9%−0.05 R vs +0.01 RNo clear edge
Crypto · Daily44020.0%29.4%−0.14 R vs +0.10 RWeak, below chance
US stocks · Daily5,63035.7%34.5%+0.17 R vs +0.14 RNo clear edge
ETFs · Daily23435.0%37.0%+0.05 R vs +0.16 RNo clear edge
Indices · Daily15837.3%36.5%+0.08 R vs +0.14 RNo clear edge
Forex · Daily6743.3%32.2%+0.37 R vs +0.03 RNo clear edge
Commodities · Daily6942.0%37.2%+0.36 R vs +0.25 RNo clear edge
All markets · Daily6,59834.8%34.3%+0.15 R vs +0.13 RNo clear edge
Crypto · Weekly1020.0%22.5%+0.06 R vs 0.00 RNot enough data
US stocks · Weekly80640.9%39.4%+0.34 R vs +0.31 RNo clear edge
ETFs · Weekly2944.8%44.8%+0.34 R vs +0.54 RNot enough data
Indices · Weekly1421.4%37.5%−0.19 R vs +0.26 RNot enough data
Forex · Weekly1040.0%14.2%+0.44 R vs −0.53 RNot enough data
Commodities · Weekly1233.3%31.3%+0.08 R vs +0.18 RNot enough data
All markets · Weekly88140.4%39.0%+0.32 R vs +0.30 RNo clear edge

Our verdict

Not a reliable signal on its own here. Use it as context, not as a trigger.

10-bar move No clear edge2:1 trade No clear edge

Bearish XABCD: 8,022 occurrences tested

Bearish pattern · All markets · Daily · 1,861 assets · 1970-12 to 2026-10

Moved the expected way after 10 bars
46.9%
vs 46.0% on random bars
Excess return vs its market, 10 bars
+0.09%
95% interval −0.13% to +0.31%
Excess return is signed so that positive favors the pattern. On a bearish setup, it means the asset lagged its market.
its market−3%+3%
2:1 trade hit the target
26.4%
vs 26.3% for the same trade on random dates
Average result per trade
−0.13 R
vs −0.14 R on random dates

What this means. No measurable difference from the rest of its market over the next 10 bars.

Timeline

Pattern length, first swing to signal
55 days · middle half 35 to 107 · on 8,022 occurrences
Signal, after the last confirmed swing
8 days · middle half 3 to 19 · on 8,022 occurrences
Time to the 2:1 target, when hit
14 days · middle half 6 to 30 · on 2,109 trades that hit it
Time to the stop, when hit
9 days · middle half 3 to 23 · on 5,352 trades that hit it
Time in the trade, all exits
12 days · middle half 4 to 31 · on 7,976 trades

Size and trade path

Pattern height
19.7% · middle half 12.8% to 31.2% · on 8,022 occurrences
Best open profit during the trade
0.81 R · middle half 0.27 R to 2.01 R · on 7,976 trades
Stopped trades that were first up 1 R
20.2% · on 5,352 stopped trades
Trades a stop moved to breakeven at +1 R would have closed flat instead of at a loss

Medians, each on the cases named on its line; "middle half" spans the 25th to 75th percentile; no value under 30 cases.

How we detect it. Any bearish Gartley, Bat, Butterfly or Crab, as defined on their own pages. When one X-A-B-C structure reaches more than one reversal zone, only the first one counts. The first swing point is a true extreme: over the duration of the first leg before it, price never went more than 10% of that leg beyond it.

All measurements (20 rows)

10-bar move: did price go the expected way?

Figures in gray: fewer than 30 occurrences, not interpreted. Excess return is signed so that positive favors the pattern. The test uses the bootstrap’s standard error and the interval its percentiles: near the 0.05 line, or on a few extreme moves, an interval can leave out zero while the test does not pass, and the test decides. Stock data misses most delisted companies, a survivorship bias we have not sized, which can flatter stock rows.
MarketOccurrencesPatternRandom barsExcess10-bar move verdict
Crypto · 1-hour12,34954.3%50.6%+0.09%No clear edge
Forex · 1-hour1,92152.3%49.2%+0.01%No clear edge
All markets · 1-hour14,27054.0%50.4%+0.08%No clear edge
Crypto · 4-hour3,05655.1%51.8%+0.29%No clear edge
Forex · 4-hour45551.6%49.4%+0.09%Promising
All markets · 4-hour3,51154.6%51.5%+0.26%No clear edge
Crypto · Daily47958.0%55.0%−0.27%No clear edge
US stocks · Daily6,99446.5%45.5%+0.11%No clear edge
ETFs · Daily26643.6%43.4%+0.24%No clear edge
Indices · Daily12537.6%42.6%−0.02%No clear edge
Forex · Daily7045.7%49.2%−0.07%No clear edge
Commodities · Daily8847.7%46.7%+0.17%No clear edge
All markets · Daily8,02246.9%46.0%+0.09%No clear edge
Crypto · Weekly2272.7%60.5%+13.62%Not enough data
US stocks · Weekly1,36643.9%42.5%+0.65%No clear edge
ETFs · Weekly4932.7%38.6%+0.86%No clear edge
Indices · Weekly2245.5%39.3%+0.84%Not enough data
Forex · Weekly1353.8%46.0%+0.94%Not enough data
Commodities · Weekly1428.6%47.6%−5.67%Not enough data
All markets · Weekly1,48643.9%42.7%+0.79%Promising

2:1 trade: target hit and average result

R = initial risk of the trade. Entry at the close of the signal bar. Exit at the stop or the target, or at the open when a bar opens beyond either one; otherwise at the close after 100 bars. When one bar touches both the stop and the target, the loss is counted. No fees or slippage. n/a = not measured. Per trade: average result, against the same trade on random dates. Figures in gray: fewer than 30 closed trades, not interpreted.
MarketTradesTarget hitSame trade, random datesPer trade2:1 trade verdict
Crypto · 1-hour12,34328.1%28.7%−0.02 R vs −0.02 RNo clear edge
Forex · 1-hour1,91630.8%29.4%+0.03 R vs −0.02 RNo clear edge
All markets · 1-hour14,25928.5%28.8%−0.01 R vs −0.02 RNo clear edge
Crypto · 4-hour3,05326.8%28.3%−0.04 R vs −0.04 RNo clear edge
Forex · 4-hour45424.7%29.4%−0.11 R vs −0.01 RNo clear edge
All markets · 4-hour3,50726.5%28.4%−0.05 R vs −0.04 RNo clear edge
Crypto · Daily46828.8%28.3%−0.01 R vs −0.04 RNo clear edge
US stocks · Daily6,96226.3%26.2%−0.13 R vs −0.15 RNo clear edge
ETFs · Daily26526.4%26.9%−0.15 R vs −0.18 RNo clear edge
Indices · Daily12526.4%26.4%−0.13 R vs −0.12 RNo clear edge
Forex · Daily6827.9%25.9%+0.03 R vs −0.16 RNo clear edge
Commodities · Daily8823.9%25.8%−0.22 R vs −0.19 RNo clear edge
All markets · Daily7,97626.4%26.3%−0.13 R vs −0.14 RNo clear edge
Crypto · Weekly1741.2%23.5%+0.24 R vs −0.29 RNot enough data
US stocks · Weekly1,34523.0%24.5%−0.28 R vs −0.22 RNo clear edge
ETFs · Weekly4816.7%24.5%−0.48 R vs −0.25 RNo clear edge
Indices · Weekly2218.2%23.9%−0.40 R vs −0.26 RNot enough data
Forex · Weekly1338.5%15.4%+0.15 R vs −0.54 RNot enough data
Commodities · Weekly140.0%21.4%−1.01 R vs −0.36 RNot enough data
All markets · Weekly1,45922.9%24.4%−0.28 R vs −0.23 RNo clear edge

Data updated November 5, 2026 · code version c2a1683f · Read the methodology. We measure every pattern on crypto and forex (1-hour, 4-hour, daily and weekly charts) and US stocks, ETFs, indices and commodities (daily and weekly charts). A market or timeframe from that list missing from the tables above had no occurrence.

What you often read

“The bullish XABCD is a reliable buy signal.”

What our data shows

On 6,634 daily occurrences, it moved in the expected direction 53.3% of the time, against 53.4% for random bars: no clear edge, since the average excess return is not statistically significant.

What you often read

“The bearish XABCD is a reliable sell signal.”

What our data shows

On 8,022 daily occurrences, it moved in the expected direction 46.9% of the time, against 46.0% for random bars: no clear edge, since the average excess return is not statistically significant.

On 6,634 bullish setups on daily charts (6,598 closed trades), all markets together, the 2:1 trade reached its target 34.8% of the time, against 34.3% for the same trade on random dates. On 8,022 bearish setups (7,976 closed trades), it was 26.4% against 26.3%. In neither direction does the average result per trade (+0.15 R against +0.13 R on bullish setups) beat random dates by a margin that passes our statistical test. Each of these detection choices (swing size, tolerance) changes the result, and trying many versions until one looks good would produce a number that means nothing. Be wary of win rates quoted elsewhere without the number of cases, the markets, and a comparison with chance.

What our tests on the XABCD and its four patterns show

The rows below are measured on every occurrence our rule found on full price history, in crypto, forex, US stocks, ETFs, indices and commodities, against the same trade on random dates. The first two are the combined XABCD figures; the others are the four patterns it is made of. They overlap: never add them up, and do not read the combined result as a separate finding.

Table quoted in the text (verdicts and every market: see All measurements)
Setup testedClosed trades2:1 target hitSame trade, random datesExpectancy before costs
XABCD, bullish, all markets, daily6,59834.8%34.3%+0.15 R vs +0.13 R
XABCD, bearish, all markets, daily7,97626.4%26.3%−0.13 R vs −0.14 R
Gartley, bullish, daily3,24134.6%34.8%+0.15 R vs +0.17 R
Bat, bullish, daily1,56138.3%36.4%+0.16 R vs +0.12 R
Butterfly, bullish, daily1,97231.8%31.4%+0.17 R vs +0.12 R
Crab, bullish, daily31434.4%35.3%+0.11 R vs +0.05 R

Read each row in pairs: the pattern against the same entry, stop and target placed on random dates on the same assets. On daily charts, all markets together, neither the combined figures nor any of the four patterns showed a measurable difference from chance in average result per trade. On other timeframes, one result survives our correction for multiple testing, on the direction 10 bars later rather than the 2:1 trade: the bearish butterfly on 4-hour charts. The combined bearish XABCD on 4-hour charts leans the same way but is rated no clear edge on direction (54.6% of 3,511 setups lower 10 bars later, against 51.5% for random bars). Hourly bearish setups read no clear edge too, while the bullish bat and the combined bearish XABCD on weekly charts pass a simple test but not our correction (promising). The same 4-hour bearish setups did not beat random dates on the 2:1 trade (−0.05 R against −0.04 R). That does not prove these setups fail, but it is a good reason to test them on your own market before trusting them. Our methodology explains the method.

Execution tips

Incorporating price and time analysis

Time measurements can be added to the price rules: a CD move that takes far longer than AB is a less balanced structure. Time measurements based on the same numbers add more choices to an already flexible method. We have not tested them.

Using confluence with technical indicators

A PRZ that coincides with a former support or resistance line, a round number or a moving average gives more than one reason to act at the same price. A pattern combined with such a level is easier to defend than one in empty space. An oversold or overbought oscillator is another possible filter.

The importance of backtesting your specific setup

Before trading real money, open a free demo account, mark the last completed patterns on your market with fixed rules, write the plan for each, and record every outcome, winners and losers, in a trading journal. Compare with the same trade on random dates, under the same conditions: it is the test we run at scale. Past performance is no guarantee of future results.

Best practices for risk management

Position sizing for XABCD setups

Size each trade on the distance between entry and stop, and risk only a small, fixed share of the account. Extension patterns have wider zones, so the same loss per trade means a smaller position.

How to handle failed patterns

When price breaks through D and the stop, the trend may continue in the direction of CD. Major economic news can also push straight through D. Take the loss and continue with the next setup: do not move the stop, and do not redraw the pattern with new pivots to keep the trade alive.

Common mistakes to avoid

  • Forcing the ratios: calling a structure a Gartley when B is at 0.786. That is a Butterfly, with another D and another stop.
  • Entering before D: until price reaches the zone, the pattern is incomplete.
  • Ignoring scheduled news: a central bank decision or an earnings release can move the market far beyond any Fibonacci level.
  • Counting only the winners: looking back, the patterns that worked are easy to spot. Record every one you would have traded.

Tools to draw and scan the XABCD pattern

Drawing tools

  • TradingView XABCD pattern tool: a free drawing tool. You click X, A, B, C and D, and dashed lines between X and B, A and C, B and D, and X and D show each ratio as you draw. The line style, colors and labels can be changed in the settings.
  • Fibonacci tools: a retracement on XA and AB and an extension on BC are enough to check any setup by hand, on any trading platform. Draw each line from swing to swing.

Scanners and other products

  • Scripts and scanners: free community scripts and paid products (some with a free trial) detect XABCD setups automatically. Additionally, some products add alerts and practical applications such as backtests. Check the rules and tolerances each one uses, and test it on past data, for at least a month on a demo account, before relying on it or paying for one.

Further learning resources

Each pattern built on this frame has its own page with its rules, a worked case and trading plan: the Gartley, the Bat, the Butterfly, the Crab and the Cypher. These resources, and the ABCD page, are the next step if you want to learn each design in detail.

Frequently asked questions about the XABCD pattern

Is the XABCD pattern bullish or bearish?

Both. A bullish one ends at a trough after an initial rise, and traders buy at D; a bearish one ends at a peak after an initial fall, and traders sell.

Are XABCD patterns truly accurate?

Their simplicity on a chart can make them look more accurate than they are. Our own test found no edge on daily charts, all markets together: the Gartley, Bat, Butterfly and Crab, taken together or one by one, did not beat the same trade on random dates by a margin that survives our correction.

What is the difference between ABCD and XABCD patterns?

The ABCD has four points and three moves; the XABCD adds a first point, X, and measures D on the XA move.

Which XABCD pattern is the best?

None has an advantage on daily charts that survives our correction; the closest on direction, the bearish bat on daily US stocks, passes only a simple test on the direction 10 bars later. The only result that survives our correction for multiple testing is the bearish butterfly on 4-hour charts; the bullish bat and, for the combined figures, bearish setups on weekly charts pass a simple test only. All of them concern the direction 10 bars later rather than the 2:1 trade. Retracement patterns (Gartley, Bat) keep the stop near the entry; extension patterns (Butterfly, Crab) aim for deeper reversals with wider stops.

Which time frames are best for XABCD trading?

On the 2:1 trade, none stood out on our bench. All markets together, bullish setups reached the 2:1 target 27.8% of the time on hourly charts (random dates: 28.9%), 25.4% on 4-hour charts (27.9%) and 34.8% on daily charts (34.3%), but on no timeframe did the average result per trade differ measurably from the same trade on random dates; on direction, none of the combined rows survives our correction for multiple testing either. On crypto, tested on every timeframe, lower timeframes gave more patterns: our bench detected 12,988 bullish setups on hourly charts, 3,218 on 4-hour, 444 on daily and 11 on weekly. Its strict ratios miss some patterns, especially on choppy markets, so these are detections, not a full count. Where possible, check the trend on a higher timeframe first.

Do I need special software to trade these patterns?

No. A free trading platform with Fibonacci tools is enough to learn the rules. An XABCD drawing tool saves time, and scanners help when you follow many markets. Learn to draw the pattern by hand first: you will understand what the software does.

Summary

  • The XABCD pattern is a five-point, four-move frame; fixed proportions define the Gartley, Bat, Butterfly, Crab and Cypher on it.
  • B orients the reading and B and D together decide the pattern; D, the reversal zone, is calculated in advance from XA, BC and AB=CD.
  • Retracement patterns end inside X; extension patterns end beyond X and need a different stop.
  • Tested on our bench as the union of the Gartley, Bat, Butterfly and Crab: no measurable difference from chance on daily charts, all markets together. Only direction stood out, not the 2:1 trade: the bearish butterfly on 4-hour charts survives our correction, while the bullish bat and the combined bearish setups on weekly charts pass a simple test only.

This guide is general information about technical analysis, not financial advice. Trading carries a risk of loss: never trade money you cannot afford to lose.

About the author and the data. Written by Amaury, founder of PatternsWizard, who is passionate about finance, quantitative trading and data analysis. He built the PatternsWizard test bench, which detects each setup with fixed, published rules on full market history: crypto, forex, US stocks, ETFs, indices and commodities. Trades and win rates are compared with random bars on the same assets, excess returns with the rest of the market, with error margins and a correction for multiple testing, and the whole pipeline is checked on random-walk prices, where nothing can be predicted. The XABCD figures combine the Gartley, Bat, Butterfly and Crab rules (swings of 2, 4 or 8 times the average true range, ratios within 5%), never tuned on results. Statistics on this page were generated on November 5, 2026. The full methodology explains every step.

, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

Statistics on this page come from our open methodology: every occurrence our rule finds on full history, compared with chance. How we test patterns.

179 patterns testedRandom-walk self-test passed