The Donchian Zig-Zag Indicator for MetaTrader 5, developed by LuxAlgo, merges Donchian Channel breakout logic with a dynamic zig-zag structure. This hybrid model enhances traditional swing analysis by identifying true structural pivots based on price breakouts over a defined lookback period (50 candles by default).

Unlike standard zig-zag tools that rely purely on percentage deviation, this version adapts to time-based breakout behavior, offering a more objective and context-aware representation of Market Structure.
How It Works
1. Donchian-Based Pivot Detection
- Detects new highs and lows using Donchian breakout logic
- Registers turning points when price breaches recent boundaries
- Filters minor fluctuations for cleaner structural mapping
2. Dynamic Zig-Zag Structure
- Connects confirmed swing highs and lows with angular legs
- Highlights the most recent directional bias
- Updates as new structural breakouts occur
3. Trend & Reversal Clarity
- Identifies early trend reversals when new channel extremes form
- Highlights breakout continuation zones
- Assists in projecting possible price paths using extended legs
Trading Applications
- Trend Trading: Follow confirmed swing direction
- Breakout Strategies: Enter when price breaks Donchian boundaries
- Wave Analysis: Map price waves with clean, non-cluttered visuals
- Confluence Trading: Combine with support/resistance or momentum indicators for confirmation
The indicator’s clean zig-zag legs make it easy to visualize impulse waves, pullbacks, and structural shifts, which is especially helpful for traders analyzing market rhythm.
Why Traders Use It
- More objective than traditional percent-based zig-zag tools
- Combines breakout logic with structural mapping
- Simplifies swing high/low identification
- Ideal for trend-followers, breakout traders, and technical analysts
Conclusion
The Donchian Zig-Zag Indicator MT5 by LuxAlgo enhances traditional swing analysis by integrating Donchian breakout logic with dynamic zig-zag mapping. It delivers precise structural clarity, helping traders identify reversals, continuation zones, and evolving market waves with confidence.
Whether you're tracking swing structure or planning breakout entries, this indicator provides a clean and reliable framework for navigating Price Action.