Skip to content
All library documents

Using a Higher Timeframe Input in a Trend Indicator

Article MQL5 code base

Summary

This document introduces a higher-timeframe variant of the Begin_Trend_v02 indicator for MetaTrader 5. Its stated feature is a timeframe choice exposed as an input parameter, with a four-hour period shown as the default example. This lets a user select the chart period from which the indicator should draw its trend information, rather than relying only on the timeframe of the chart currently being viewed.

The note identifies a dependency on the original Begin_Trend_v02 indicator file and gives its expected Indicators-folder location. It does not describe the indicator’s signal calculation, entry or exit rules, or how the higher-timeframe values are synchronized with a lower-timeframe chart. No chart evidence, backtest, or performance results are included, so the document explains configuration and dependency only; it does not establish that the indicator predicts trends reliably or define a complete trading system.

Key ideas

  • The indicator exposes a timeframe input so users can select the period used for its trend display.
  • The example sets the selected period to four hours by default.
  • The higher-timeframe version depends on the original Begin_Trend_v02 indicator file.
  • The document explains installation and configuration but gives no signal rules or performance evidence.

Tags

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