OPEN-SOURCE SCRIPT
Updated MTF Trend Dashboard

This indicator aggregates trend conditions from four user-selected timeframes into a single table, so you can read higher-timeframe context without switching charts.
How it works
Each timeframe is evaluated with three independent checks:
EMA trend — fast EMA above/below slow EMA (default 20/50)
RSI — above/below the 50 midline (default length 14)
MACD — MACD line above/below its signal line (12/26/9)
The three checks are combined into a simple score from -3 to +3. A score of +2 or higher is shown as BULL, -2 or lower as BEAR, and anything in between as FLAT. The table shows the raw RSI value and the state of each check per timeframe, so you can always see why a timeframe is rated the way it is.
Chart plots (all optional)
Fast/slow EMA of the current chart timeframe
Background highlight while all four timeframes are aligned in the same direction
A small marker on the bar where full alignment begins
Alerts
Two alert conditions are included: all timeframes aligned bullish, and all timeframes aligned bearish.
Repainting
By default, higher-timeframe values are taken from confirmed bars only ("Use confirmed bars only" setting), so the table does not change retroactively. If you disable this setting, the current (unclosed) higher-timeframe bar is used and its values can update until that bar closes.
Notes and limitations
This is a context/confluence tool, not a trading system. Alignment across timeframes describes current conditions only and implies nothing about future price movement. Test any idea thoroughly before using it in live trading.
How it works
Each timeframe is evaluated with three independent checks:
EMA trend — fast EMA above/below slow EMA (default 20/50)
RSI — above/below the 50 midline (default length 14)
MACD — MACD line above/below its signal line (12/26/9)
The three checks are combined into a simple score from -3 to +3. A score of +2 or higher is shown as BULL, -2 or lower as BEAR, and anything in between as FLAT. The table shows the raw RSI value and the state of each check per timeframe, so you can always see why a timeframe is rated the way it is.
Chart plots (all optional)
Fast/slow EMA of the current chart timeframe
Background highlight while all four timeframes are aligned in the same direction
A small marker on the bar where full alignment begins
Alerts
Two alert conditions are included: all timeframes aligned bullish, and all timeframes aligned bearish.
Repainting
By default, higher-timeframe values are taken from confirmed bars only ("Use confirmed bars only" setting), so the table does not change retroactively. If you disable this setting, the current (unclosed) higher-timeframe bar is used and its values can update until that bar closes.
Notes and limitations
This is a context/confluence tool, not a trading system. Alignment across timeframes describes current conditions only and implies nothing about future price movement. Test any idea thoroughly before using it in live trading.
Release Notes
Update: improved higher-timeframe value handling- Higher-timeframe values now always reference the last completed HTF bar. Historical bars and realtime now behave identically — previously, historical bars could reflect HTF values slightly earlier than they would have been available in realtime.
- As a result, the alignment background/markers on historical bars may shift slightly compared to the previous version. Realtime behavior going forward is unaffected.
- No settings changes are required.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.