What is Donchian Zig-Zag?

Donchian Zig-Zag draws stepped red and green boundaries together with a blue line connecting major swing highs and lows. The stepped levels help frame nearby resistance and support, while the ZigZag simplifies the broader sequence of market swings.
Seeing both elements together makes it easier to separate minor candle noise from the main path between important turning points.
How to use Donchian Zig-Zag

Use the blue line to identify rising or falling swing structure. Then watch the upper red/orange steps and lower green steps for potential reactions as price approaches them.
Do not trade every ZigZag turn in isolation: recent points may update as new extremes form. Look for candle confirmation near a stepped level and use the previous swing as a logical reference for invalidation or profit planning.
Where it helps
The blue line makes higher highs, lower lows, and reversals easier to follow.
Stepped upper and lower levels provide extra reaction context.
The combined display helps traders wait for price to return to an area of interest.
Best Settings & MT4 Parameters for Donchian Zig-Zag

- Length
- Controls the calculation period; the example uses 50.
- Source
- Selects the input price, shown as Close.
- Bounce Speed
- Adjusts the response of the bounce logic; the example uses 10.
- Maximum Extended Lines
- Limits the number of extended levels kept on the chart.
How to Install .ex4 Indicator in MetaTrader 4
- Download the ZIP file and extract it.
- In MT4, select File → Open Data Folder.
- Open MQL4 → Indicators and copy the EX4 or MQ4 file into it.
- If the package includes library files, copy them to MQL4 → Libraries. Copy TPL files to the top-level templates folder.
- Restart MT4, find the indicator in the Navigator, and drag it onto a chart.
Test the tool on a demo account first. File contents and required folders can vary between packages.


