Skip to content
All library documents

Using a DEMA High-Low Channel to Color Trend-Aligned Candles

Article MQL5 code base

Summary

The document briefly describes an indicator built from two Double Exponential Moving Averages applied to averaged high and low price series. Together, these averages form a channel. Candles that move beyond the channel receive a color associated with the direction of the move, while candles aligned with the indicated trend are shown brightly and countertrend candles darkly.

This makes the indicator a visual aid for identifying channel breaks and distinguishing with-trend from against-trend price action. The description does not specify the averaging periods, exact candle-color rules, entry or exit conditions, or risk controls. It gives no backtest, market examples, or performance evidence, so the method should be understood as a chart visualization concept rather than a validated standalone trading strategy.

Key ideas

  • The indicator forms a price channel from two Double Exponential Moving Averages of averaged highs and lows.
  • Candles outside the channel are assigned a trend-related color.
  • Bright and dark candle colors distinguish trend-aligned moves from countertrend moves.
  • The description supplies no parameters, trading rules, or evidence of performance.

Tags

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