MACD MultiTimeFrame 1h4h1D
Apr 18, 2016

The MACD MultiTimeFrame 1h4h1D indicator displays three different MACD calculations simultaneously to help traders identify major market tops and bottoms through multi-timeframe confluence and divergence analysis.
Usage
The indicator is primarily designed for use on the 1-hour chart to visualize higher-timeframe trends (4-hour and 1-day) without switching timeframes.
- Major Tops/Bottoms: Look for instances where at least two of the MACD lines form peaks or troughs in close proximity to one another. When these lines align vertically (stacked closely without necessarily crossing), it often signals a "Major Top" or "Major Bottom" for the security.
- Divergence: By observing multiple timeframes at once, traders can more easily identify multi-timeframe divergences, which may indicate a slowing trend or potential reversal.
- Elliott Wave & Impulse Signals: The tool can assist in identifying Elliott Wave structures and confirming the start of a new impulse wave following a correction or retracement.
Details
The indicator calculates the Moving Average Convergence Divergence (MACD) using three sets of lengths that correspond to the 1-hour, 4-hour, and 1-day intervals when viewed on a 1-hour chart. Unlike traditional MTF indicators that use security calls, this script achieves the multi-timeframe effect by scaling the EMA lengths (e.g., multiplying the standard 12/26/9 parameters by 4 for the 4H view and by 24 for the 1D view). This approach ensures smooth lines and avoids the "staircase" effect often seen with standard MTF data.
Settings
- Fast Length 1H: The period for the short-term EMA used in the 1-hour MACD calculation.
- Slow Length 1H: The period for the long-term EMA used in the 1-hour MACD calculation.
- Signal Length 1H: The period for the SMA of the 1-hour MACD line used for crossover signals.
- Fast Length 4H: The period for the short-term EMA representing the 4-hour timeframe.
- Slow Length 4H: The period for the long-term EMA representing the 4-hour timeframe.
- Signal Length 4H: The period for the signal line of the 4-hour representation.
- Fast Length 1D: The period for the short-term EMA representing the Daily timeframe.
- Slow Length 1D: The period for the long-term EMA representing the Daily timeframe.
- Signal Length 1D: The period for the signal line of the Daily representation.
FAQ
Which timeframe should I use this on?
The default settings are optimized for the 1-hour timeframe. If you use it on different timeframes, you will need to adjust the length inputs to maintain the desired 1H/4H/1D ratios.
What does it mean when the lines are close to each other?
When the MACD lines from different timeframes converge at extreme highs or lows, it suggests a high-probability reversal zone where momentum is peaking across multiple horizons simultaneously.
How do I access MACD MultiTimeFrame 1h4h1D?
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.