Multi Time Frame EMA 8,13,21,55,100,200
May 30, 2018

The Multi Time Frame EMA 8,13,21,55,100,200 indicator provides a streamlined way to monitor six distinct exponential moving averages from various resolutions on a single chart to identify trend direction and dynamic support or resistance levels.
Usage
The Multi Time Frame EMA tool is designed for traders who follow multi-layered trend analysis. By plotting six different EMA lengths—typically 8, 13, 21, 55, 100, and 200—users can visualize short-term momentum alongside long-term trend structures.
For example, a trader might use the 8 and 13 EMAs to identify immediate price action shifts, while the 200 EMA serves as a primary baseline for the overall market bias. The inclusion of multi-timeframe functionality allows a trader on a 15-minute chart to visualize EMAs calculated based on a 240-minute (4-hour) timeframe, ensuring that intraday decisions remain aligned with higher-timeframe trends.
Common applications include:
- Trend Identification: When shorter EMAs are stacked above longer EMAs, the market is considered to be in an uptrend.
- Dynamic Support/Resistance: Prices often retraces to touch the 21 or 55 EMA before continuing in the direction of the trend.
- Crossover Signals: The script includes built-in logic for tracking crossovers between the fastest EMA (8) and a slower anchor (55) to signal potential trend shifts.
Details
This script is based on the original "Multi Time Frame Exponential Moving Average" by Jurij and incorporates default values popularized by Philakone. The execution utilizes the standard exponential moving average formula, which places a higher weight on recent price data compared to simple moving averages, making the output more responsive to recent volatility.
While the script is titled as a Multi Time Frame indicator, the provided calculation logic applies the EMAs directly to the current chart's data points. Users can manually adjust the "Resolution" settings for each EMA to fetch data from different timeframes, facilitating a comprehensive top-down analysis without switching tabs. Note that in the provided implementation, the 200 EMA (Length 6) shares the same source input as Length 5 by default.
Settings
- Length (1-6): Defines the lookback period for each of the six exponential moving averages.
- Source (1-6): Determines which price data (Close, Open, High, Low, etc.) is used for the EMA calculation.
- Offset (1-6): Shifts the EMA plot forward or backward on the horizontal axis.
- Resolution (1-6): Specifies the timeframe resolution from which the EMA data should be derived (e.g., 60 for 1 hour, 240 for 4 hours).
FAQ
How do I interpret the different colors in the indicator? By default, the script assigns specific colors to each length: Yellow (55), Orange (21), Purple (13), Aqua (8), Green (100), and Blue (200). These can be customized in the style settings to match your personal chart configuration.
Can I set alerts for when price crosses an EMA? Yes, the script is optimized for alerts and includes predefined conditions for when the 8 EMA crosses over or under the 55 EMA, which are often used as entry or exit triggers.
How do I access the Multi Time Frame EMA 8,13,21,55,100,200? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.