Using ZigZag Swings to Build Trend Lines and Support Levels
Summary
The article describes a chart analyzer that uses ZigZag swing points as anchors for trend lines and support or resistance levels. ZigZag filters smaller fluctuations according to its settings, leaving selected highs and lows that can be connected to show potential trend direction. The tool exposes the analysis timeframe, ZigZag depth, deviation, backstep, lookback period, and line extension as configurable parameters, and updates chart objects when a new bar appears.
The explanation outlines indicator initialization, retrieval of ZigZag data, pivot storage, and drawing or cleanup of chart objects. It frames the resulting lines as aids to technical analysis rather than validated trading signals. The article provides an implementation approach and chart illustrations, but the supplied text is incomplete and includes no quantified performance test. ZigZag settings affect which turns are detected, so the method's output depends on parameter choices and should be assessed for the instrument and timeframe in use.
Key ideas
- ZigZag filters smaller price fluctuations and marks selected swing highs and lows.
- Trend lines can be drawn between swing lows in rising markets or swing highs in falling markets.
- Timeframe and ZigZag sensitivity parameters control which pivots the analyzer uses.
- The tool refreshes its chart analysis on new bars and manages its drawing objects.
- The article offers a technical analysis tool, not evidence that its lines predict profitable trades.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.