OPEN-SOURCE SCRIPT
Cập nhật

MTF Trend Dashboard

113
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.
Phát hành các Ghi chú
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.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.