Trading Knowledge

The Zig Zag Indicator in Forex

Zig Zag joins swing highs and lows to reveal wave structure. What Depth, Deviation and Backstep mean, adding it in MT4/MT5 and pairing it with patterns and MAs.

Among the indicators that ship with MT4, Zig Zag is one that few people notice. It does not produce buy or sell signals. Instead, it serves traders who follow price action, specifically those who read the market through price patterns rather than through fundamental analysis or conventional technical indicators. For that group of traders, Zig Zag makes the skeleton of the market far easier to see.

The sections that follow explain what Zig Zag is, which price data it draws from, what the three settings Depth, Deviation and Backstep mean, how to add the indicator in MetaTrader, and two ways to combine Zig Zag with other tools in live trading.

What Zig Zag is

Zig Zag is a technical tool that marks the peaks and troughs of price on a chart. Its working principle is easy to grasp: the indicator ignores small, unimportant fluctuations, keeps only the significant turning points and joins them with straight lines. The result is that traders see only simple waves, each made of one peak and one trough. As a result, the market looks much cleaner and easier to read than a chart packed with candles.

Zig Zag comes built into MT4, yet fewer and fewer traders use it. The likely reason is that it differs sharply from most other indicators. Rather than standing on its own, Zig Zag usually acts as a base layer for other tools, and it mainly suits price action traders. In other words, to obtain a trading signal, traders need to combine it with other technical analysis tools.

Specifically, Zig Zag does not point out entries the way momentum indicators do. Nor is it like Bollinger Bands, a tool that gauges the state and volatility of the market. Even so, used properly, Zig Zag gives real support to scalpers taking quick profits on low timeframes, to traders who work with price patterns, and to those who use Harmonic Patterns.

How Zig Zag works with other tools

The main job of Zig Zag is to strip noise out of price action, leaving only the pure wave structure of peaks and troughs. On a Zig Zag line, every downswing is followed by an upswing and vice versa. Each time the indicator changes direction, both the signal and the trend it reflects change with it.

From that wave framework, traders can pair Zig Zag with many other analysis techniques. Common choices include support and resistance lines, the double top pattern and parallel channels. In addition, traders can use Zig Zag on its own to view the current trend in a smoother, broader way, without being distracted by every single candle.

Which prices Zig Zag uses

Zig Zag runs on several chart types: candlestick, bar or line. When traders use a candlestick or bar chart, the indicator connects the highest and lowest prices. By contrast, on a line chart, Zig Zag uses closing prices as its reference points.

However, this rule also depends on the charting software. For example, in MetaTrader, Zig Zag always relies on highs and lows, regardless of which chart type the trader has selected. Therefore, switching from candles to a line chart in MT4 or MT5 does not change the Zig Zag line.

The MT5 desktop toolbar with buttons for changing chart type, zooming in and out, and timeframe buttons from M1 to MN
The MT5 desktop toolbar with buttons for changing chart type, zooming in and out, and timeframe buttons from M1 to MN

Once attached to a forex chart, the indicator appears as a chain of angled straight lines, running from peak to trough and from trough to peak in turn. That jagged shape is what gave the tool its name. Readers who are not yet comfortable identifying peaks and troughs on candles can start with how to read Japanese candlesticks.

The three settings Depth, Deviation and Backstep

Zig Zag has three main settings that traders can adjust directly in their trading software. Each one governs a different aspect of how the indicator decides which point counts as a peak and which as a trough:

  • Depth: the minimum number of candles between a Zig Zag peak and trough when there is no deviation between those two points.
  • Deviation: the minimum distance between a wave peak and a wave trough, measured in pips or points. In MT4, the unit is pips.
  • Backstep: the range of candle change allowed between the indicator's peak and trough points.

In most trading software, the default Zig Zag settings are 12, 5 and 3, in the order Depth, Deviation, Backstep. These numbers are not fixed, since every trader has different goals and styles. For instance, price action traders usually count shorter waves, so they often lower the settings to 3, 2, 2 so that the indicator catches even small swings.

On the other hand, traders who use Harmonic patterns should set the values higher than the defaults. The reason is that the wave structures of those patterns usually stretch across many candles, so small settings would chop the waves into fragments.

Before changing the three settings, traders should weigh three factors:

  • Price symmetry: a good set of values produces harmonious, balanced waves, such as the AB = CD harmonic pattern.
  • Wave depth: the distance between the highest peak and the lowest trough of each wave must be clear enough to read.
  • Price step: the step size needs to be large enough that the trader can still recognise the trend.

Put simply, there is no single correct set of numbers for everyone. The right settings are the ones that make the Zig Zag line match the way each trader counts waves.

Adding Zig Zag in MT4 and MT5

Zig Zag is included in both MT4 and MT5, so traders do not need to download any extra file. To use it, a trader opens the indicator list in the Navigator window, finds Zig Zag in the Custom group and drags it onto the chart. Anyone who has not installed the software yet can follow MT4 Exness download and setup.

As soon as the indicator is dropped onto the chart, a settings box appears with the Depth, Deviation and Backstep fields described in the previous section. By default, those fields hold 12, 5 and 3. Traders can leave them as they are, lower them to 3, 2, 2 when counting short price action waves, or raise them when tracking longer Harmonic structures.

Overall, Zig Zag helps traders see wave structure more clearly and more quickly. It also makes chart markup more accurate than hunting for each peak and trough by eye and by hand.

Method 1: Zig Zag with price patterns

Understanding an indicator is one thing; using it in a live market is another. For beginners, the most popular use is to let Zig Zag help identify price patterns within a price action approach.

Typical patterns include head and shoulders, triangles, and rising and falling wedges. Normally, traders have to locate each peak and trough themselves to spot these patterns. With Zig Zag, the straight lines already connect the turning points, so the shape of the pattern appears almost instantly.

Take the head and shoulders pattern as an example. On a chart with Zig Zag, the three peaks of the pattern, namely the left shoulder, the head and the right shoulder, are drawn as very clear strokes. From there, traders can also easily see the moment price breaks through the neckline, and in this example the break opens a fairly strong move down.

Method 2: Zig Zag with moving averages

Although price action traders use it most, Zig Zag also combines well with other technical analysis tools. This is the second application, and the following example uses a pair of 20- and 50-period moving averages (MAs).

In the example, the Zig Zag line oscillates in step with the two MAs, which are aligned in an uptrend. The key question is: within an uptrend like this, when is a sensible time to buy at the bottom of a pullback? Zig Zag helps traders answer that question by clearly marking each turning point.

The sequence runs as follows. First, a swing high forms near a resistance zone, marked by the first red arrow. Next comes a low, matching the first black arrow. Price then breaks above the horizontal resistance and turns back down in a pullback. At this point, traders can see that the next Zig Zag low almost coincides with the previous high, meaning the area that used to be resistance is now acting as support.

In this example, traders could open a long position right after the indicator finishes drawing that low. To be more confident, traders should look for extra evidence from candlestick patterns or other price action clues before placing the order, for example a hammer candle at the support zone.

At the second black arrow, where a higher low forms, price bounces off support and climbs more strongly. For this long trade, the stop loss sits below the nearest swing low, while the take-profit target sits at the nearest swing high. In this way, the entry and both exit levels all come straight from the points Zig Zag has marked.

The MT5 Order window with Type set to Pending Order, a Buy Limit order, the Price, Stop Loss, Take Profit and Expiration fields, and the Place button
The MT5 Order window with Type set to Pending Order, a Buy Limit order, the Price, Stop Loss, Take Profit and Expiration fields, and the Place button

Limitations of Zig Zag

Zig Zag is one of the few indicators that is genuinely useful for price action, but it still has weaknesses. Because it is drawn from the peaks and troughs of the chart, the indicator only sees what forms a clear turning point. As a result, many price patterns, such as pennants, go undetected by Zig Zag.

Of course, no tool is perfect. Price action itself is simply trading on an almost blank chart, and the most effective indicator in the end remains the trader's own eyes and analytical knowledge. That view is discussed further in minimalist forex trading. Even so, Zig Zag is built into MetaTrader and free, so traders lose nothing by attaching it to a chart and seeing how the wave structure emerges.

Sources

  • DCtoptrade (screenshots): https://dctoptrade.vn/

More in Trading Knowledge

View all →

Jesse Livermore's 20 Rules of Speculation

Jesse Livermore grew rich short-selling the crashes of 1907 and 1929. Twenty rules drawn from how he traded, grouped by market, entries, capital and psychology.

BackcomHub · · 4 min read

Four Swing Trading Strategies

Swing trades last from a few days to a few weeks. Four strategies covering trends, ranges, counter-momentum and pullbacks, plus money rules and stop placement.

BackcomHub · · 11 min read

Four Ways to Find Better Trade Entries

A better entry allows a tighter stop-loss and a stronger risk/reward ratio. Four methods: limit orders, end-of-day planning, the TLS checklist and a clear plan.

BackcomHub · · 5 min read