Skip to content
All library documents

Using a Higher-Timeframe PEMA Indicator

Article MQL5 code base

Summary

This brief indicator note describes a PEMA chart indicator with a selectable calculation timeframe. Its example sets the indicator timeframe to four hours, allowing the chosen higher-timeframe setting to differ from the chart’s timeframe. This can be useful when a trader wants an indicator view based on a slower aggregation while viewing or analyzing another chart period.

The page identifies a dependency on a separate PEMA indicator file and says it must be placed in the platform’s indicator directory. It does not define the PEMA calculation, explain how higher-timeframe values are synchronized with lower-timeframe bars, or provide signal rules, settings comparisons, or performance evidence. As a result, it documents the timeframe option and setup requirement, but gives too little detail to assess the indicator’s trading value or reproduce a strategy from the description alone.

Key ideas

  • PEMA is presented with a selectable indicator timeframe.
  • The example uses a four-hour calculation period.
  • The indicator depends on a separate PEMA component being installed.
  • No calculation details, signal rules, or empirical results are supplied.

Tags

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