Skip to content
All library documents

Programming Moving Equidistant Channels from Fractal Points

Article MQL5 articles

Summary

The article presents a method for constructing moving equidistant price channels from three time-ordered points, typically local fractal extrema. It classifies five arrangements according to the sequence and timing of the channel’s minimum and maximum points. It then describes MQL5 object-oriented structures for storing individual fractal points and sets, and for drawing channel objects automatically in an Expert Advisor.

The examples compare channels built from standard fractals with channels based on an alternative fractal definition using a configurable number of adjacent bars. The author observes that standard fractals can make channels flicker, while using more bars to identify extrema can reduce chart noise. This is a programming and visualization method framed around an existing channel strategy; the article defers analysis of trading signals to a later installment and provides no performance evidence for trades generated by the channels.

Key ideas

  • Equidistant channels are constructed from three price and time points.
  • The ordering of local highs and lows determines the channel configuration.
  • Fractal point and set classes can organize extrema for automated channel plotting.
  • Using more adjacent bars to define a fractal can reduce channel noise.
  • The article explains channel construction but does not evaluate trading performance.

Tags

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