MTF Trend Matrix: Your Watchlist Trend Overview
Info
The MTF Trend Matrix: Your Watchlist Trend Overview is a Indicator for MetaTrader 5 that mtf trend matrix displays the trend status of your entire watchlist in a compact table, allowing for immediate identification of trending and ranging symbols across different timeframes. Each row represents a trading symbol, and each column represents a timeframe.
Usage
This tool is typically used for trend following strategies across multiple currency pairs.
Platform
This Indicator works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Indicators folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use MTF Trend Matrix: Your Watchlist Trend Overview
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
What this tool does
MTF Trend Matrix displays the trend status of your entire watchlist in a compact table, allowing for immediate identification of trending and ranging symbols across different timeframes.
Typical Use Case
This Indicator excels in trend following on MetaTrader 5.
Compatible Platform & Setup
This Indicator works on MetaTrader 5. Place the file in the MQL5/Indicators folder and restart the terminal.
Description & Settings
Related: Exponential Trend Channel Indicator for MT5 - another powerful indicator for MetaTrader 5 traders.
MTF Trend Matrix displays the trend status of your entire watchlist in a compact table, allowing for immediate identification of trending and ranging symbols across different timeframes.Also recommended: Trend Regime Indicator: Identify Market Trends on Every Bar - similar indicator with strong performance on MetaTrader 5.
Each row represents a trading symbol, and each column represents a timeframe. Every cell indicates the trend direction and the current ADX value, with color intensity signifying trend strength.
By default, it monitors XAUUSD, EURUSD, GBPUSD, USDJPY, and AUDUSD across M5, M15, H1, H4, and D1 timeframes. You can easily add other instruments like oil (e.g., UKOIL, USOIL, XBRUSD, or XTIUSD) or any other desired symbol.
Cell Determination Logic
Direction: The trend is determined by the position of the fast EMA (20) relative to the slow EMA (50). If the fast EMA is above the slow EMA, the direction is considered Up; if below, it is Down.
Trend Strength:
Strong (bright color): The closing price is on the same side of the fast EMA as the prevailing trend.
Weak (dim color): The EMAs indicate a trend, but the price has pulled back across the fast EMA.
Ranging (grey, "Rng"): The ADX value is below the specified threshold (default 20), indicating that the EMA direction is not considered reliable.
"..." indicates that data for that symbol and timeframe is still loading.
The Bias column provides a count of how many timeframes are in agreement, ranging from +N (all timeframes indicate an uptrend) to -N (all timeframes indicate a downtrend). This column turns green or red when all or all but one timeframe are in agreement.
Key Features
Customizable Symbols and Timeframes: Configure any list of symbols (up to 12) and timeframes (up to 9) using comma-separated input.
Current Chart Symbol: The symbol of the current chart is always recognized as "CURRENT" and is highlighted in gold.
Broker Suffix Handling: The indicator automatically accommodates broker-specific suffixes. For example, if your chart symbol is EURUSD.m, the indicator will also attempt to find data for XAUUSD.m.
Chart Switching: Click on a symbol name in the table to instantly switch the main chart to that symbol.
Stable Display: By default, the indicator uses the last closed bar's data, preventing flickering on the current, forming candle.
User Interface: The panel can be positioned in any corner of the chart. Customizable settings include colors, font size, and refresh rate.
Performance: Indicator handles are generated only once at startup, ensuring the indicator remains lightweight even when monitoring numerous cells.
Non-Trading Aid: The indicator solely reads price data and displays information on a panel. It does not open, modify, or close trades, serving strictly as a visual aid and not a signal service.
Input Parameters
Symbols: Comma-separated list of symbols to monitor (default: CURRENT,XAUUSD,EURUSD,GBPUSD,USDJPY,AUDUSD). Missing symbols will be skipped.
Timeframes: Comma-separated list of timeframes (default: M5,M15,H1,H4,D1). Supported timeframes include M1, M5, M15, M30, H1, H4, D1, W1, MN1.
Fast EMA Period: Period for the faster Exponential Moving Average (default: 20).
Slow EMA Period: Period for the slower Exponential Moving Average (default: 50). Must be greater than the Fast EMA Period.
ADX Period: Period for the Average Directional Index calculation (default: 14).
ADX Ranging Threshold: The ADX value below which the trend is considered ranging (default: 20).
Use Last Closed Bar: Set to true to use data from the last completed bar, preventing flickering (default: true). Set to false to use the current, live bar.
Panel Corner: Specifies the corner of the chart where the table will be displayed (default: Top left). Options include Top left, Top right, Bottom left, Bottom right.
X / Y Offset: Pixel offset from the selected corner for the panel's position (default: 10 / 25).
Font Size: Adjusts the size of the text within the table. The table scales accordingly (default: 9).
Refresh Interval: Determines how frequently the cells update, specified in seconds (default: 2 s).
Colors: Allows customization of the background, text, and the five cell colors, with a default dark theme option available.
You may also like: ADX Auto Range: Automated Trend Strength and Consolidation Detection - excellent alternative for indicator users on MetaTrader 5.
Source Code
#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version "1.00"
#property description "This code is educational. Feel free to use, modify and upgrade as you wish. Visit ROBOTFX.ORG for professional trading tools"
#property indicator_chart_window
#property indicator_buffers 0
#property indicator_plots 0
enum ENUM_PANEL_CORNER
{
PANEL_TOP_LEFT = 0,
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.