OPEN-SOURCE SCRIPT
تم تحديثه

MTF Trend Dashboard

112
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.
ملاحظات الأخبار
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.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.