Skip to content
All library documents

A Faster Donchian Channel Class for High and Low Bands

Article MQL5 code base

Summary

This brief description concerns a software class implementing the classical Donchian channel, a technical indicator based on channel highs and lows. It says the class initializes its arrays and then constructs two output arrays, one for the upper channel and one for the lower channel. It also describes an implementation choice intended to improve speed: a single while loop replaces two for loops.

The note points readers to an example indicator that uses the class, but it does not include the source code, define the lookback calculation, or show how to interpret or trade channel breaks. It provides no timing comparison, market data, backtest, or performance evidence, so the speed claim cannot be evaluated from this description alone. The material is about indicator implementation rather than a complete trading strategy.

Key ideas

  • The class implements a classical Donchian channel with high and low output series.
  • Its arrays must be initialized before the main calculation is run.
  • The described implementation uses one while loop in place of two for loops.
  • The note supplies no performance measurements or evidence about trading outcomes.

Tags

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