Skip to content
All library documents

Using a Double Exponential Moving Average on a Selected Timeframe

Article MQL5 code base

Summary

The document describes a Double Exponential Moving Average indicator with a user-selectable chart timeframe. Its example setting uses a higher timeframe than the chart’s default interval, allowing the indicator to display a DEMA calculated from that selected period. This provides a basic way to view a smoothed price measure from another timeframe alongside the current chart.

No calculation details, trading rules, parameter selection method, market examples, or performance results are included. The note therefore explains a configurable indicator feature rather than a complete strategy. A DEMA reading may be used as a trend or smoothing reference, but this source does not establish how it should generate entries or exits, how it behaves across assets, or whether it improves trading results. Any practical use would require independent specification and testing.

Key ideas

  • The indicator applies a Double Exponential Moving Average to a selectable timeframe.
  • A higher timeframe can be chosen for display alongside the current chart.
  • The document gives no trading rules, examples, or performance evidence.
  • The indicator description alone does not establish a profitable strategy.

Tags

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