Skip to content
All library documents

DEMA Trend Indicator with High-Low Average Envelopes

Article MQL5 code base

Summary

This indicator combines a trend direction signal with a price envelope. Trend direction and color are determined by the slope of the Double Exponential Moving Average (DEMA). Separately, the displayed upper and lower values use high and low prices processed through a selected average type: simple, exponential, smoothed, or weighted.

The design lets a trader view the DEMA slope alongside an envelope that may help identify potential price entry areas near its boundaries. The description does not define entry or exit rules, specify parameter settings, or provide performance tests. An envelope touch is therefore only a possible signal for further analysis; the text does not establish that it predicts reversals or profitable trades. The indicator’s behavior will depend on the selected averaging method and market data.

Key ideas

  • DEMA slope determines the indicator’s displayed trend direction and color.
  • The envelope values are built from high and low prices using a selectable moving-average type.
  • The combined display may help traders inspect trend direction and potential channel entry areas.
  • The description supplies no trading rules, parameter guidance, or performance evidence.

Tags

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