AB=CD Harmonic Pattern Indicator MT4 + MT5

The AB=CD Harmonic Pattern Indicator scans swing structure for the classic AB=CD pattern, where the CD leg mirrors the length of the AB leg. Also, it identifies the A, B, C and D pivots from fractals, draws the pattern as a zigzag, and prints a BUY or SELL arrow at point D – the potential reversal zone where the original move is expected to run out of steam.

For more like this, browse the more support-resistance indicators for forex or jump to the full MetaTrader indicator hub.

What the Ab=cd Harmonic Pattern Indicator does on the chart

The AB=CD Harmonic Pattern Indicator scans swing structure for the classic AB=CD pattern. Also, using fractal pivots it identifies four turning points – A, B, C and D – and connects them with a zigzag. The pattern qualifies when the CD leg is approximately equal in length to the AB leg, which is the defining symmetry of an AB=CD.

When a valid pattern completes at point D the indicator prints a BUY arrow (if D is a swing low) or a SELL arrow (if D is a swing high). Also, still, point D is the potential reversal zone where the move that started at A is expected to run out of steam.

Key features and settings

  • Detects the AB=CD harmonic pattern from fractal swing pivots
  • Draws the A-B-C-D structure as a zigzag
  • BUY arrow when the pattern completes at a swing low
  • SELL arrow when the pattern completes at a swing high
  • Configurable swing depth and length tolerance
  • Full alert system: popup, push notification to mobile MetaTrader, email, and sound — all four channels toggle independently from the inputs panel. Alerts fire once per closed bar so you never get spammed mid-tick.
  • Built for both MT4 and MT5; works on every timeframe and every symbol your broker offers.
  • Lightweight code that does not slow down the chart.
Setting Description Default
Depth Fractal depth used to detect the A/B/C/D swing pivots 5
Tolerance Allowed difference between the AB and CD leg lengths (0.20 = 20%) 0.20
ArrowOffsetPoints Arrow offset from the D-point wick 45
EnableAlerts Master toggle for the alert system true
EnablePopup MT4/MT5 popup dialog on signal true
EnablePushNotify Mobile push notification (configure MetaQuotes ID first) false
EnableEmail SMTP email (configure Tools -> Options -> Email) false
EnableSound Play .wav from MT4/Sounds on signal false

How to read signals from the Ab=cd Harmonic Pattern Indicator

Abcd Harmonic Pattern - buy and sell signals example chart
Buy/sell signals example

The arrow marks point D, the completion of the pattern. In practice, treat it as a reversal zone, not a guaranteed turn.

Entry idea (long). Wait for a BUY arrow at D (a swing low). Thus, stop below D; target the C or B level.

Entry idea (short). Wait for a SELL arrow at D (a swing high). Stop above D.

As a result, Exit idea. Conservative traders take the B-point retracement; others trail through the prior swings.

Tuning the AB=CD Harmonic Pattern Indicator inputs

This indicator keeps a short, readable input list: a calculation period that sets how reactive it is, a signal-sensitivity control, and independent toggles for pop-up, sound, email and mobile push alerts. Also, still, hence, start with the defaults, then shorten the period on fast charts or lengthen it on higher timeframes. Alerts fire once per closed bar.

Recommended timeframes and instruments

The tool needs room for structure to form, so favour the higher timeframes.

  • H1 and H4 for reliable, tradable structures.
  • Daily for the cleanest patterns and levels.

Below H1 you get frequent, lower-quality structures. Next, it works best on the majors and XAUUSD where swings are well defined.

How to install on MT4 and MT5

Abcd Harmonic Pattern - indicator inputs and settings panel
Indicator inputs and settings

Installation is the same for every indicator on this site. Then, unzip the download, copy the compiled .ex4 into your MT4 MQL4/Indicators folder (or the .ex5 into MT5 MQL5/Indicators), refresh the Navigator, then drag it onto the chart. For the full step-by-step with alert setup and troubleshooting, see our guide to installing MT4 and MT5 indicators.

Best practices and tips

  • Wait for the pattern to complete and confirm with price action before acting.
  • Add a momentum check so you are not catching a falling knife.
  • Wait for the bar to close before acting on a signal.
  • Backtest your configuration on at least 200 closed bars before trading live.
  • Keep position sizing small while you learn how the tool behaves on your instrument.
  • Review your results weekly and prune settings that underperform.

Get the AB=CD Harmonic Pattern for MT4 and MT5

One email unlocks the full library. This It plus the other 1,382 free MT4, MT5 and TradingView indicators we publish and maintain. Thus, yet, no paywall, no upsell, same opt-in for all of them – you give an email once and you can grab every tool we ship.

Enter your email to receive the indicator file. We send it once and add you to free updates.

No spam. Unsubscribe anytime. We never share your address.

Enter your email and the file lands in your inbox right after. The download is free.

Built by forexmt4systems.com

Typically, this The indicator is one of 1,383 free MT4, MT5 and TradingView indicators we publish and maintain. Also, hence, truly, every tool ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files, a 4-channel alert system (popup + mobile push + email + sound), and is loaded on EURUSD H1 before release to confirm it draws cleanly without repainting. The same one-step email opt-in below unlocks the entire library – not just this one indicator.

FAQ

What does the AB=CD Harmonic Pattern measure?

It plots a clear signal layer that the AB=CD Harmonic Pattern computes from recent price and volume on the chart.

Is this indicator non-repaint?

By default the indicator only confirms a signal on the bar close, so the printed signal locks in once that bar closes. Next, plainly, some users prefer the early intra-bar mode for faster signals — both options are in the inputs.

Which timeframe should I use?

There is no single best timeframe. Also, m15 to H1 is a common starting point for intraday traders, and H4 to D1 works for swing traders. Backtest the configuration on the timeframe you actually trade.

Does it work on instruments other than forex?

It works on any instrument MT4 and MT5 supports — forex majors, gold (XAUUSD), indices like US30 and NAS100, and major cryptos. In addition, fast-moving instruments may need a smaller period setting.

Can I add alerts?

Yes. Then, Pop-up, sound, push, and email alerts live in the inputs panel. On MT4 and MT5 the alert plays on the bar close that triggers the signal. Also, still, yet, still, the tool ships with full alert functionality built in: popup alerts on the chart, push notifications to mobile MetaTrader, email alerts, and a sound alert with a configurable .wav file. Thus, you toggle each channel independently from the inputs panel (EnableAlerts, EnablePopup, EnablePushNotify, EnableEmail, EnableSound). Thus, truly, hence, alerts trigger once per closed bar.

For external background reading, see the support and resistance basics. Are results guaranteed?
No. Trading involves risk. Results are not guaranteed. Past performance is not indicative of future results. Use it as one input. Always backtest before trading live.

Category: this is part of our Support and Resistance collection. Next, browse more Support and Resistance for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.

About the author

Dominic Walsh built and documented this indicator. Then, the author is Dominic Walsh, a Forex trader and MT4/MT5 indicator developer. Every tool on forexmt4systems.com goes through live-chart testing before release, and ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

External references

Leave a Comment