BESTMT4EA

Forex Trading Strategies

What Are Harmonic Patterns in Forex Trading?

What harmonic patterns are, how to measure an XABCD swing with Fibonacci ratios, why the potential reversal zone matters, and how to test the idea honestly.

BESTMT4EA Trading Desk
Updated 2 November 202616 min read

Quick answer

Harmonic patterns are five-point price structures, labelled XABCD, whose swings match specific Fibonacci ratios. Traders use them to mark a potential reversal zone, called the PRZ, and to define where a trade would be invalid. Because the ratios are approximate and the patterns are judged by eye, harmonic trading needs a written measurement procedure and a demo test before any real money is used.

Key takeaways

  • A harmonic pattern is an XABCD swing structure whose legs are measured against Fibonacci ratios.
  • The potential reversal zone is the area where the final leg is expected to end, based on the ratios.
  • Ratio tolerances differ between sources, so write your own tolerance before you measure any pattern.
  • Every pattern needs an invalidation level, a point where the idea is wrong and the trade is closed.
  • Log every pattern you see, including the ones you reject, before you judge the method.
Free companion resourcev1.0Free for personal and educational use

Harmonic ratio checker (Excel)

A free companion resource for this article, built in-house: a practical worksheet or checklist to use alongside what you have just read. It is not the product, EA or indicator this article discusses, and nothing in it installs on your terminal.

Version
1.0
Licence
Free for personal and educational use

Licence:Free for personal and educational use · updated 2 November 2026

BESTMT4EA Trading Desk

MQL4/MQL5 developers and traders. We publish the live track record for everything we review.

Ask us on Telegram
On this page
  1. Why do harmonic patterns attract so much attention?
  2. What does an XABCD pattern look like?
  3. How do Fibonacci ratios define each leg?
  4. Why do the tolerances matter so much?
  5. What is the potential reversal zone?
  6. How do you define invalidation before you enter?
  7. How do you measure a pattern with the ratio checker?
  8. What does a fair demo test of harmonic patterns involve?
  9. How often do patterns fail, and what does that mean?
  10. What are the common mistakes with harmonic patterns?
  11. How does harmonic trading compare with simpler methods?
  12. What does a worked measurement look like?
  13. How do you keep a log of rejected patterns?
  14. How do you read the trend before measuring a pattern?
  15. In what order should a beginner learn this method?
  16. What does a month of harmonic testing look like?
  17. What does a losing run teach about harmonic patterns?
  18. What does this guide not promise?
  19. What is the offer in this guide?
  20. How do you start this week?

Why do harmonic patterns attract so much attention?

Harmonic patterns attract attention because they look precise. A chart with five swings labelled X, A, B, C and D, and a set of Fibonacci lines fitted neatly to each leg, appears to show a structure that the market has organised by a mathematical rule. Traders who see such a diagram often feel they have found a hidden order, and that feeling is a strong reason to examine the method carefully before using it.

The attraction has a downside. Harmonic patterns are easy to draw after the fact, and the rules that define them leave room for interpretation. A swing that is almost right can be called a pattern, and a pattern that fails can be explained away. The method therefore needs a stricter procedure than the diagrams suggest, and the procedure is what this guide is about.

This guide describes what a harmonic pattern is, how to measure one, what the potential reversal zone means, and how to test the idea on a demo account. It does not promise that any pattern will reverse price, and it does not present the ratios as a law of markets. It presents them as measurements that you can write down, check and test.

What does an XABCD pattern look like?

An XABCD pattern is a sequence of five swing points, labelled X, A, B, C and D, alternating between highs and lows. The leg from X to A is the first move. The leg from A to B moves back against it, the leg from B to C moves forward again, and the final leg from C to D moves back once more toward the start of the structure.

In a bullish pattern, X is a low, A is a high, B is a low, C is a high and D is a low. In a bearish pattern the sequence is reversed. The labels matter because each leg is measured against the one before it, and a mistake in labelling produces a different set of ratios and a different pattern.

Before you measure anything, check that the sequence alternates correctly and that each point is a clear swing. A point that is only slightly higher than its neighbours is not a reliable swing, and a pattern built on such points is fragile. Many traders use a swing indicator with a fixed lookback to find candidate points, and then confirm each one by eye.

How do Fibonacci ratios define each leg?

Harmonic patterns measure the legs against the Fibonacci ratios, most commonly 0.382, 0.618, 0.786, 0.886, 1.27 and 1.618. A retracement ratio describes how far a later leg moves back toward an earlier one. An extension ratio describes how far a later leg goes beyond the starting point of the earlier one.

The Gartley is the pattern most often taught. It typically requires the AB leg to retrace about 61.8% of XA, the BC leg to retrace between 38.2% and 88.6% of AB, and the D point to sit near a 78.6% retracement of XA. The CD leg is commonly measured as an extension of BC between 127% and 161.8%.

The Bat, Butterfly and Crab use different ratios, mainly for the point D. A Bat places D near 88.6% of XA, which is deeper than the Gartley. A Butterfly places D beyond X, at an extension of about 127% to 161.8% of XA. A Crab places D at about 161.8% of XA, which is the deepest extension of the four. These are the commonly published ranges, and sources vary, so check the definitions you use.

Why do the tolerances matter so much?

A tolerance is the allowed difference between the measured ratio and the target ratio. If the target for the AB leg is 61.8%, a tolerance of plus or minus two percentage points means any measurement between 59.8% and 63.8% counts as a match. Without a tolerance, a pattern can be defined as anything you like.

The tolerance you choose changes the result of every test. A narrow tolerance produces few patterns, most of them clean, and few trades. A wide tolerance produces many patterns, most of them marginal, and many trades. Neither is automatically better. What matters is that you choose one tolerance before the test, write it down and keep it for the whole sample.

A practical method is to decide the tolerance for each ratio in advance, then measure every pattern you see against that table. If a swing meets all the ratios within the tolerance, log it as a valid pattern. If it fails even one ratio, log it as rejected and note which ratio failed. The rejected list is valuable, because it shows whether you are drifting toward looser and looser definitions.

What is the potential reversal zone?

The potential reversal zone, usually written as PRZ, is the price area where the final leg of the pattern is expected to end. It is calculated from the ratios that define point D. For a Gartley, the PRZ is the area around the 78.6% retracement of XA, and it may also use a projection of the CD leg from point C.

The PRZ is a region, not a single price. Because each ratio has a tolerance, the zone is a band of prices. The band is usually drawn between two levels, and the method treats any reaction inside that band as a candidate for a reversal.

A common mistake is to treat the PRZ as a fixed turning point. It is not. A price can enter the zone, fail to react, and continue to move in the original direction. The PRZ is only a place to look for evidence, such as a candle pattern, a rejection at a level or a shift in momentum. Without that evidence, the zone has no value.

How do you define invalidation before you enter?

Every harmonic idea needs an invalidation level, which is the price at which the pattern is judged wrong. For a bullish pattern, the invalidation is usually a break below the X point, because a move below X breaks the structure the pattern depends on. Some traders use a tighter level just beyond the PRZ, which gives a closer stop but more false invalidations.

Set the invalidation before you enter the trade, and write it in your journal alongside the entry, the target and the lot size. The invalidation sets the stop distance, and the stop distance sets the lot size for the risk you have chosen. The trade is then sized from the invalidation, not from the margin you want to use.

The risk-reward guide explains how to compare the stop distance with the target, and that comparison should be made before any harmonic trade is taken. A pattern with a stop of 80 pips and a target of 30 pips needs a very high success rate to be worth taking, and most traders will not achieve it.

How do you measure a pattern with the ratio checker?

Exness

The included ratio checker is a spreadsheet with a column for each of the five points and a table of the ratios with their target values and tolerances. Enter the price and the bar number of each point, and the sheet calculates each leg, each retracement or extension, and whether it falls within the tolerance you have set.

Start with the swing points on a clean chart. Use the same swing definition for every pattern in the sample, and note it in the journal. Enter the five points, read the ratio results, and log the pattern as valid or rejected. If the pattern is valid, enter the PRZ band and the invalidation level, and record the lot size you would use.

The checker does not decide which patterns are valuable. It only measures what you enter. The judgement about which swing points are real remains yours, and the quality of the test depends on that judgement being consistent and recorded.

What does a fair demo test of harmonic patterns involve?

A fair test records every valid pattern and every rejected pattern over a long period, using a fixed definition of a swing, fixed tolerances and a fixed rule for when to enter. It should include patterns that appear in both trending and ranging conditions, because a method that works only in one may be a sign of luck.

For each valid pattern that you trade on the demo account, record the entry, the invalidation, the target and the exit. Include the spread, the swap if the trade is held overnight, and the R-multiple of the result. Use the same spread and lot size you plan to trade live, so the demo reflects the cost of the strategy.

Judge the sample only after it is large enough. A few patterns can produce a good or bad result by chance. A sample of at least thirty closed trades is a sensible starting point, and the sample should be checked for consistency across time, not only for the overall total.

How often do patterns fail, and what does that mean?

Patterns fail often. A pattern that looks clean can be overrun by a news release, a trend that ignores the PRZ, or a level that the market simply passes through. A trader who expects every pattern to work will be surprised and may abandon a method that was reasonable, or continue with one that is not.

The failures are part of the record. If a method has a poor win rate but a good average R-multiple, it may still be viable if the winners are large enough. If it has a good win rate but a negative average, the few losses are larger than the wins, and the method is losing money after costs. The summary sheet in the test sheet makes these relationships visible.

Do not attempt to rescue a failed pattern by moving the invalidation after entry, by adding a second entry or by changing the tolerance halfway through. Each of those changes makes the record meaningless. A failed trade is information, and it should be recorded exactly as it happened.

What are the common mistakes with harmonic patterns?

The most common mistake is forcing a pattern onto a chart. A trader sees a swing that is almost a Gartley and calls it one, because the diagram looks promising. The fix is to accept only swings that meet the tolerance for every ratio, and to log the near-misses separately so you can see how often you stretch the rules.

The second mistake is using a fixed target without measuring the reward against the stop. Many harmonic traders aim for a retracement of the CD leg, but the distance to that target may be smaller than the distance to the invalidation. The third mistake is entering before the price reacts at the PRZ, which turns a method built on confirmation into a guess.

The fourth mistake is ignoring the trend. A bullish pattern inside a strong downtrend faces a headwind, and the PRZ may be reached in a fast move that does not reverse. Record the trend condition for each pattern, so you can see whether the method performs differently with and against the prevailing move.

How does harmonic trading compare with simpler methods?

Harmonic trading is more demanding than simpler methods. It needs careful swing identification, measurement against several ratios, and judgement about which patterns count. A method based on a moving-average crossover or a horizontal support level is easier to define and to test, and it leaves less room for interpretation.

That does not make the simpler method better. It means the simpler method is easier to measure. A beginner should understand the simpler methods first, because harmonic patterns use the same ideas of support, resistance and risk. The support and resistance guide covers the reference levels that a PRZ often overlaps.

Advertisement

Fibonacci time analysis is a related but different method, which uses the same numbers to predict when a move may end rather than where. The Fibonacci time zones guide describes that approach, and it has the same weakness: the numbers are easy to fit to any chart after the event.

What does a worked measurement look like?

Imagine a bullish candidate on the four-hour chart. Point X is a low at 1.0800. Point A is a high at 1.0950, so the XA leg is 150 pips. Point B is a low at 1.0857, which retraces 57 pips of the XA leg, or about 38% of it. Point C is a high at 1.0920, so the BC leg is 63 pips, which is about 110% of the AB leg of 93 pips.

Now check the ratios against a Gartley table with a tolerance of two percentage points for each target. The AB retracement should be near 61.8%, but the measured figure is 38%, so the pattern fails on the first ratio. The trader does not move the point B to make it fit. The candidate is logged as rejected, with the reason written beside it: AB retracement 38% against a target of 61.8%.

The same swing might match a different pattern. A Bat requires AB between 38.2% and 50%, and the measured 38% sits at the edge of that range. The trader then checks the D point and the remaining ratios for the Bat. If D is at 88.6% of XA, the pattern is valid for that definition. If not, it is rejected for the Bat as well.

This example shows why the procedure matters more than the name. The same five points can be read differently under different definitions, and the honest record names the definition used. A trader who labels every swing as whichever pattern they hoped to see has no test at all.

How do you keep a log of rejected patterns?

A rejected-pattern log is a simple table with five columns: the date, the pair, the timeframe, the pattern you were checking for, and the ratio that failed with its measured value. Keep one row for every candidate you examine, even if the candidate is clearly wrong. The discipline of writing down the rejection is what keeps the definition honest.

Review the log every two weeks. Count how many candidates were rejected for each ratio. If one ratio fails most of the time, the tolerance may be too narrow for the instrument, or the swing definition may be picking the wrong points. If the rejections are spread evenly, the procedure is probably working as intended.

Watch for the reverse problem too. If almost no candidates are rejected, the definition may be too loose, and the method is accepting shapes that do not meet the rules. A healthy log usually shows a large number of rejections, because most swings in a market are not clean structures.

How do you read the trend before measuring a pattern?

Before you measure any pattern, note the direction of the larger trend on a higher timeframe. A bullish pattern that forms during a clear downtrend on the daily chart faces a different environment from one that forms during an uptrend. The method does not require a trend filter, but a filter is a useful way to split the sample later.

A simple filter is the slope of a moving average on the higher timeframe. If the average is rising and price is above it, the trend is up. If it is falling and price is below it, the trend is down. Anything in between is a range. Tag every pattern with the trend at the time it completed, and record the tag in the journal.

The tag does not change the measurement. It changes how you read the results. A method that performs well only with the trend and poorly against it has a clear condition, and the condition belongs in the strategy description. A method that performs the same in every condition is more robust, but that finding needs a large sample to be trusted.

In what order should a beginner learn this method?

A sensible order starts with the tools that harmonic patterns depend on. First learn to read a clean swing high and swing low, then learn to draw support and resistance, then learn to measure a stop and a target in pips. Only when those are routine does the Fibonacci measurement make sense as a tool rather than as a decoration on the chart.

The second stage is measurement practice without any trading. Take a chart with clear swings, identify five points by hand, measure each leg with a ruler or the checker, and write the result. Repeat this for twenty charts. The goal is to learn how much the answer changes when a point moves by a few bars, because that sensitivity is the central weakness of the method.

Only at the third stage should a beginner place demo trades on the pattern. By then, the trader knows how the measurement behaves, has a tolerance table that feels reasonable, and has a log of rejected candidates. Starting earlier means the trader is learning the chart and the arithmetic at the same time, and it is difficult to tell which lesson produced a result.

RoboForex

What does a month of harmonic testing look like?

In week one, write the swing definition, the tolerance table and the invalidation rule, and measure twenty historical charts without trading. Log every candidate, valid or rejected, and check the log at the end of the week for any ratio that fails too often.

In week two, begin the demo test on one pair and one timeframe. Trade only the valid patterns, using the invalidation as the stop and a fixed lot size from your plan. Record every trade. Do not change the tolerance or the swing definition during the week, even if the results are poor, because a change in mid-test removes the value of the record.

In week three, extend the sample and split it by trend tag. In week four, review the full sample against the summary sheet, read every losing trade, and write what you learned. Decide whether the method deserves a longer test, or whether it should be set aside. Either decision is a good result if it is made from the record rather than from a feeling.

What does a losing run teach about harmonic patterns?

A losing run of five or six trades is common in any method, and it is especially painful with patterns, because each trade feels like a clear and reasoned decision. The temptation is to conclude that the method is broken, or to change the tolerance to recover the losses. Both responses are usually wrong, because a short run says more about chance than about the method.

The useful response is to review each trade against the written rules. Did the pattern meet every ratio within the tolerance? Was the entry taken only after a reaction inside the PRZ? Was the stop placed at the invalidation, and was the lot size the one in your plan? If the answer to any of these is no, the problem is execution, and the fix is discipline. If all of them are yes, the problem may be the method, and that question should be answered with a larger sample.

What does this guide not promise?

This guide does not promise that harmonic patterns will improve your results, and it does not claim that the ratios reflect a hidden law of price. The ratios are a convention that many traders use, and the market does not need to respect them. A method built on them can work or fail for reasons that have nothing to do with the numbers.

The guide also does not describe a complete trading plan. A plan for harmonic trading needs the swing definition, the tolerance table, the rule for entry, the invalidation, the position-size rule, the maximum daily loss, the news rule and the review routine. Missing any one of those makes the method hard to judge.

What is the offer in this guide?

The offer is the harmonic ratio checker, a free spreadsheet for measuring five-point patterns against their Fibonacci ratios. It lets you enter the five points, calculates each leg, and shows whether each ratio falls within the tolerance you set. It also keeps a record of the potential reversal zone and the invalidation for each pattern.

Use the checker for every pattern you consider, including those you reject. Keep the file with your demo journal, and review it weekly. The pattern of rejected swings often tells you more than the valid ones, because it shows how strictly you are applying your own definition.

The checker is educational. It measures the points you enter and cannot tell you whether a pattern will reverse price. Confirm each calculation against your own arithmetic the first time you use it.

How do you start this week?

Start by writing your swing definition and your tolerance table on paper. Choose a number of bars on each side of a swing high or low that you will use for every pattern, and write a tolerance for each ratio. Keep the definitions unchanged for the whole test.

Next, scan a chart for candidate patterns and measure each one with the checker. Log every candidate, valid or rejected, and note the ratio that failed for the rejected ones. Do not trade anything yet. After two weeks of logging, review how many candidates you found and how many you rejected for each reason.

Only then open a demo account and trade the valid patterns, with a stop at the invalidation level and a size that matches your plan. Record every trade, and judge the method after at least thirty trades. For a broader view of how the market moves before you measure any pattern, read the pip guide, and keep your sizing consistent with the principles in this guide.

For more free tools and checklists, visit the resource library.

Frequently asked questions

What is a harmonic pattern in forex?

A harmonic pattern is a five-point structure of swings, labelled X, A, B, C and D, where the leg lengths match Fibonacci ratios. Traders use the structure to identify a zone where a reversal might begin, and to define an invalidation point.

Which harmonic patterns are most common?

The Gartley, Bat, Butterfly and Crab are the patterns most often described. They differ in the ratios they require, especially the point D retracement. The names matter less than the measurements you write down for each one.

What is the potential reversal zone?

The potential reversal zone, or PRZ, is the price area where the final leg of the pattern is expected to finish, based on the Fibonacci ratios. It is a region to watch, not a guaranteed turning point, and a trade is only considered when price reacts there.

Do harmonic patterns always work?

No. A pattern can look perfect and still fail. The method only has value if a demo test shows that the rules, applied consistently, produce results you can measure after costs. Many patterns fail, and the failures are part of the record.

How do I stop myself from seeing patterns everywhere?

Write a tolerance for each ratio, mark only the swings that meet every ratio within that tolerance, and log the patterns you reject. A rule that rejects most swings is more useful than one that accepts every shape you can draw.

Is harmonic trading suitable for beginners?

It is a more advanced method, because it depends on careful measurement and on judgement about which swings count. A beginner should first understand support, resistance, risk-reward and position sizing, and then test harmonic rules on a demo account.

Sources

Risk warning

Past performance is not indicative of future results. Trading forex and CFDs carries a high level of risk and can result in the loss of all of your capital. The results shown are specific to the broker, account type and settings used on the tracked account and will differ elsewhere. Nothing on this site is financial advice.

Keep learning

Hand-picked next reads on the same topic.

Featured EA · Myfxbook tracked

Obsidian Aether EURUSD EA

AI-powered grid scalper for MetaTrader 5 — adaptive ATR spacing, range & trend dual detection, and institutional-grade risk management.

+94.78% GainPF 1.51414 Trades
View Full Review