Skip to content
All library documents

Zigzag Pivot Methods, Pattern Labels, and Statistical Projections

Article TradingView scripts

Summary

This indicator constructs a zigzag using one of several pivot rules: a manual percentage move, a move scaled by average true range or maximum true range, high/low pivots, or price action. Users can adjust the method parameters and display pivot prices, volume, slope or rate information, and experimental angle labels. The script also checks recent pivots for patterns and can draw projected ranges based on zigzag statistics.

The code describes a charting and analysis tool rather than a complete trading strategy. Its projections use weighted averages and deviations of observed zigzag data, while pattern recognition relies on a configurable error margin. The supplied document omits substantial portions of the implementation, including details needed to assess the statistical calculations and projection behavior. It offers no performance results, out-of-sample evidence, or guidance for trading projected levels, so the forecasts and detected patterns should be treated as visual analysis aids rather than validated signals.

Key ideas

  • The indicator offers five alternative rules for identifying zigzag reversals.
  • Pivot labels can include price, volume, pattern names, rate information, and experimental angle data.
  • Projection bounds are derived from statistics of previously observed zigzag movements.
  • The document provides no evidence that the projections or pattern labels predict profitable trades.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.