OPEN-SOURCE SCRIPT
Actualizado

MTF Trend Dashboard

116
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.
Notas de prensa
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.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.