Skip to content
All library documents

Drawing a Higher-Timeframe Moving Average in ZigZag Style

Article MQL5 code base

Summary

This short indicator description explains that a moving average can be calculated on a selectable time frame and drawn with a section-based plotting style commonly used to display ZigZag lines. Its main practical point is that the calculation interval is configurable, allowing the plotted average to reflect a higher time frame than the chart on which it appears.

The document supplies no parameter examples, implementation details, chart evidence beyond a figure reference, or trading rules for interpreting the line. It does not describe how the indicator behaves when higher-timeframe values update, nor does it assess lag, repainting, or performance. The material is therefore a brief explanation of a charting technique rather than a tested signal or standalone strategy; users would need further documentation to reproduce or evaluate its use.

Key ideas

  • The indicator plots a moving average using a section-based drawing style associated with ZigZag displays.
  • The time frame used for the moving average can be set through input parameters.
  • The description gives no evidence that the display provides a profitable trading signal.
  • Implementation behavior and potential lag are not explained.

Tags

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