Skip to content
All library documents

A Smoothed High–Low Moving Average Channel for Trend Direction

Article MQL5 code base

Summary

This document describes a chart indicator built from two moving averages applied to smoothed high and low price series. Together, the averages form a channel around price. Candles outside the channel are colored to show whether they move with or against the indicated trend: trend-aligned candles receive a bright fill, while countertrend candles use a darker fill.

The description explains the visual convention but gives no entry or exit rules, parameter guidance, performance evidence, or risk controls. It should therefore be read as an account of how the indicator displays price relative to a smoothed range, rather than as a tested trading strategy. The implementation depends on an external smoothing library, and the document points to separate material for details about its averaging methods. It does not specify the averaging periods or establish that channel breaks predict future returns.

Key ideas

  • The channel is formed from averages of smoothed high and low price series.
  • Candles outside the channel are colored according to whether they agree with or oppose the trend.
  • The indicator describes a charting method and does not provide a complete trading strategy.
  • The implementation relies on an external library for its smoothing calculations.

Tags

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