Skip to content
All library documents

Using a Higher Timeframe with the MaByMa Indicator

Article MQL5 code base

Summary

This brief note describes a higher-timeframe version of the MaByMa indicator for MetaTrader 5. Its distinguishing feature is a timeframe input, allowing the indicator to use a chart period selected by the user rather than relying only on the currently displayed chart interval. The example sets that input to a four-hour period, illustrating how a trader can request indicator calculations from a different timeframe.

The document gives no formula for MaByMa, trading rules, entry or exit logic, test results, or performance evidence. It is therefore a narrow indicator configuration note rather than a complete strategy. It also says the compiled base indicator must be installed in the platform’s indicators folder for this version to work. Readers would need the original indicator and further documentation to assess what the signal measures or whether using another timeframe is suitable for a particular market or trading approach.

Key ideas

  • The indicator exposes a timeframe setting so it can reference data from a selected chart period.
  • The example selects a four-hour period.
  • The higher-timeframe version depends on the compiled base indicator being installed in MetaTrader 5.
  • The document provides no signal definition, 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.