Skip to content
All library documents

Multi-Timeframe Trend Dashboard Using Fast and Slow Moving Averages

Article MQL5 code base

Summary

This document explains an indicator that displays trend direction across selected chart timeframes in one panel. For each timeframe, it independently compares a fast moving average with a slow moving average: the fast average above the slow one is bullish, below is bearish, and near equality is neutral. Users can choose which timeframes to show, the moving average settings and price input, whether to display the values, and how often the panel refreshes.

The description says each row uses the trading platform’s indicator engine to obtain data for its own timeframe, rather than estimating higher-timeframe values from the chart timeframe. It recommends treating the output as a regime filter, not a standalone entry signal, because moving-average comparisons lag. Rows can be unavailable while price history loads, especially for higher timeframes or instruments with limited history. The indicator reads market data and does not submit or manage orders; the document provides no performance tests or evidence that the signals are profitable.

Key ideas

  • Each enabled timeframe gets its own fast and slow moving-average comparison.
  • The panel labels each timeframe bullish, bearish, neutral, or unavailable while history loads.
  • Optional settings control the timeframes, moving-average inputs, displayed values, colors, and refresh frequency.
  • Moving-average direction is a lagging regime filter and does not by itself identify an entry.
  • The description provides no backtest or evidence of profitability.

Tags

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