Multi-timeframe analysis is widely used by traders who want to understand whether short-term price movement is supported by the broader market trend. However, reviewing multiple charts manually can be time-consuming and makes it difficult to quickly identify when different timeframes are aligned or conflicting.
To solve this problem, we used Xen AI to build the cTrader Multi Timeframe Trend Matrix, a dashboard indicator that analyses trend direction across nine timeframes from M1 to Monthly. The completed indicator combines trend direction, strength measurement, weighted scoring, and alignment analysis into one compact dashboard displayed directly on the chart.
The result is a practical market-analysis tool that helps traders quickly understand whether current price direction is supported by short-term and higher-timeframe trends.
Starting with the Trading Idea
The original concept was to create a simple dashboard that could answer a common trading question: are the different market timeframes moving in the same direction?
Instead of opening separate charts for M1, M5, H1, H4, Daily, and higher timeframes, the indicator would display the information in one location. Each timeframe would show its current trend direction and strength, allowing traders to compare short-term momentum with the larger market structure.
The development process was divided into stages using Xen AI. This allowed each part of the indicator to be built and tested independently rather than attempting to create a complex trading tool in one large request.
Developing the Dashboard Structure
The first development stage focused on creating the dashboard interface and loading the required timeframe data. Xen AI created the visual framework, including the timeframe rows, trend column, strength column, and summary area.
At this stage, the focus was not on calculations but on ensuring that the dashboard layout worked correctly and could display information from multiple cTrader timeframes.
This staged approach is important when creating larger cTrader projects because it allows problems to be identified early and keeps each development step manageable.
Adding Trend Detection with EMA Analysis
The next stage introduced the trend calculation logic. The indicator uses a fast EMA and slow EMA to determine the direction of each timeframe. The default settings use a 50-period EMA and a 200-period EMA, although traders can adjust these values.
When the fast EMA is above the slow EMA, the timeframe is classified as bullish. When the fast EMA is below the slow EMA, it is classified as bearish. A configurable neutral threshold prevents small EMA differences from being interpreted as meaningful trends.
The calculation uses completed candles from each timeframe, helping to keep the displayed results stable while the current candle is still forming.
Adding Trend Strength and Market Alignment
Trend direction alone does not show how strong the current movement is. The indicator therefore measures the percentage separation between the fast and slow EMAs to indicate trend strength.
The individual timeframe results are then combined using configurable weighting. Higher timeframes receive greater influence because they generally represent broader market structure compared with short-term price movement.
This creates the Weighted Trend Score, which provides a single measurement between -100 and +100. Positive values indicate stronger bullish conditions, while negative values indicate stronger bearish conditions.
The Alignment Percentage provides additional context by showing how much of the weighted timeframe information supports the dominant trend direction. This helps identify whether the market is broadly aligned or whether different timeframes are conflicting.
How Traders Can Use the Trend Matrix
The Multi Timeframe Trend Matrix is designed as a market analysis and confirmation tool rather than a standalone trading system.
For example, a trader analysing an intraday setup may want to see whether the shorter timeframes are supported by the H4 or Daily trend. A swing trader may place more importance on Daily, Weekly, and Monthly direction when evaluating the overall market environment.
The dashboard can also help traders identify periods where the market is unclear. When alignment is low and different timeframes are showing opposing directions, traders may decide that additional confirmation is required before entering a position.
Built with Xen AI
This indicator demonstrates how Xen AI can be used to create advanced cTrader tools from structured requirements. Instead of manually writing every component, the project was developed through a sequence of prompts that gradually added new functionality.
The process started with the dashboard foundation, then added multi-timeframe calculations, EMA trend detection, weighted scoring, and alignment analysis. Each stage built upon the previous working version.
Xen AI helps traders and developers create cTrader indicators, cBots, dashboards, and custom trading tools using natural language descriptions.
Download the Free Indicator
The Multi Timeframe Trend Matrix is available as a free cTrader indicator from ClickAlgo.

