Navarro 200 Harmonic Pattern Indicator for MT4 and MT5

Written by Dominic Walsh · Published · Last updated

A harmonic pattern sets four ratios across five points. The navarro 200 harmonic pattern indicator finds those points, works out each ratio, then checks them against the textbook figures. The tolerance decides everything, and here it starts wide.

This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.

Platforms MT4 (.ex4) + MT5 (.ex5)
Chart window Main price chart
Plots 2: Navarro BUY, Navarro SELL
Alerts popup, push notification, email, sound
Inputs 17

Plots, colours and placement

Two arrow plots plus drawn legs.

`Navarro BUY` prints lime at width 3.

`Navarro SELL` prints red at the same width.

`ShowLegs` joins the five pivots in silver.

`ShowReversalLine` draws where the shape ends.

`BullColor` and `BearColor` set the tint.

  • Navarro BUY: arrow, lime, width 3, arrow code 233
  • Navarro SELL: arrow, red, width 3, arrow code 234
navarro 200 harmonic pattern indicator: A completed pattern with its legs drawn, EURUSD H1.
A completed pattern with its legs drawn, EURUSD H1.

The computation

Five pivots

A fractal rule finds them. `SwingDepth` `4` bars either side, with `SwingDevPoints` `0`. That zero means the code sizes the swing itself rather than holding to a fixed minimum.

Four ratios

Each leg gets divided by another. The second against the first, the third against the second, the fourth against the third, and the whole span against the first.

How close is close

`RatioTolerance` `0.25` decides a match. A quarter is wide. A ratio can sit well away from the textbook figure and still pass as that pattern.

Putting it to work

Marks land on the final pivot of the pattern.

The drawn legs show which five points the match used.

A reversal line marks where completion sits.

`LookbackBars` `200` bounds how far back it searches.

Tightening the tolerance cuts the count sharply.

Every pattern confirms four bars after its last pivot.

Alert channels in this build: popup, push notification, email and sound, one message per closed bar.

A finished pattern is what speaks here. `EnableAlerts` governs it, with `EnablePopup` and `EnableSound` already on. The clip is `alert2.wav`, not the usual one. Push and mail stay closed.

Every Navarro 200 Harmonic Pattern Indicator input

Core settings

Setting What it does Default
LookbackBars History the search covers, `200`. 200
SwingDepth bars each side for fractal pivot. Bars either side defining a pivot, `4`. 4
SwingDevPoints 0 = auto (5*Point). Minimum swing size, auto at `0`. 0
RatioTolerance How far a ratio may stray, `0.25`. 0.25
ObjPrefix Prefix on every object name, `”NAV200_”`. NAV200_

Display settings

Setting What it does Default
ShowLegs Join the five pivots, `true`. on
ShowReversalLine Mark the completion level, `true`. on
ShowDiag Print the measured ratios, `true`. on
BullColor (see inputs panel) dodger blue
BearColor (see inputs panel) orange red
LegColor (see inputs panel) silver

Alert settings

Setting What it does Default
EnableAlerts Whether a completed pattern speaks, `true`. on
EnablePopup (see inputs panel) on
EnablePushNotify (see inputs panel) off
EnableEmail (see inputs panel) off
EnableSound (see inputs panel) on
SoundFile The clip that plays, `”alert2.wav”`. alert2.wav
navarro 200 harmonic pattern indicator: Inputs panel, RatioTolerance among the swing settings.
Inputs panel, RatioTolerance among the swing settings.

Home chart

Two hundred bars has to hold five pivots for anything to be found. EURUSD H1 is the reference chart, covering about eight days. Go faster and the pivots become noise. Go slower and patterns span a quarter.

Where the logic runs out

A quarter of tolerance accepts loose matches.

Four pivots confirm late by construction.

Five points fit most price histories.

The pattern completes where the arrow prints, not before.

Copy the compiled Navarro 200 Harmonic Pattern Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.

Background reading on the method behind the Navarro 200 Harmonic Pattern Indicator: Harmonic Price Patterns at BabyPips, Fibonacci retracement on Wikipedia.

Download the Navarro 200 Harmonic Pattern Indicator for MT4 and MT5

The zip holds the compiled Navarro 200 Harmonic Pattern Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.

Download this indicator free

Enter your email and the file is yours. You also get the full MT4 and MT5 library.

  • 1,380+ indicators
  • MT4 and MT5 files
  • No spam, unsubscribe any time

FAQ

How far can a ratio stray at RatioTolerance 0.25?

A quarter either way. That is generous: a leg meant to sit at 0.618 would pass anywhere from roughly 0.37 to 0.87, so tightening this is the first change worth making.

What does SwingDevPoints 0 mean?

Automatic sizing. Rather than demanding a fixed minimum swing in points, the code works one out itself, which keeps the pivot rule usable across symbols with very different ranges.

Which four ratios does RatioTolerance judge?

Each leg against the one before it, plus the full span against the first leg. Those four numbers together separate one named harmonic pattern from another, and the tolerance decides how close each has to come.

What does ShowDiag add to the chart?

The measured ratios as text. Since the tolerance is wide, seeing how close each leg actually came to its target is the only way to judge whether a given match deserves attention.

Are results guaranteed?

No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Navarro 200 Harmonic Pattern Indicator as one input. Always backtest before trading live.

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

External references

Dominic Walsh - Forex trader and MT4/MT5 developer

About the author

Written by Dominic Walsh, a Forex trader and MT4/MT5 indicator, Expert Advisor and script developer. Every tool on forexmt4systems.com is tested on live charts 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.

How we build, test and correct every tool: Editorial & Testing Policy. Trading carries risk; see the disclaimer.

Leave a Comment