Skip to content
All library documents

Automatic Fibonacci Levels Anchored to Selected ZigZag Swings

Article MQL5 code base

Summary

This indicator modifies a ZigZag tool by automatically drawing Fibonacci retracement and projection levels from detected swing highs and lows. The user can choose which swing in the ZigZag sequence supplies the anchor points, such as the first, second, or third swing. The stated purpose is to reduce manual chart annotation and provide a repeatable way to place Fibonacci levels around selected price movements.

The description does not specify the ZigZag settings, the exact retracement or projection ratios, or how the indicator handles changing swing points as new prices arrive. It offers no trading rules, examples, or performance evidence, so the plotted levels should be treated as charting aids rather than validated entry or exit signals. Since ZigZag swing identification can change with subsequent price data, users should inspect the indicator’s behavior and test any strategy built around its levels before relying on them.

Key ideas

  • The indicator automatically plots Fibonacci retracement and projection levels from ZigZag swings.
  • Users can select which swing index provides the Fibonacci anchor.
  • The stated benefit is reducing manual drawing during technical analysis.
  • The document does not provide trading rules or evidence of profitability.
  • The behavior of changing ZigZag swings should be assessed before using the levels in a strategy.

Tags

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