OPEN-SOURCE SCRIPT
Multi-Timeframe Trend Table

📊 Indicator Overview:
This is a Multi-Timeframe Trend Analyzer based on:
Short EMA (fast trend)
Long EMA (slow trend)
Across 3 customizable timeframes
It summarizes market direction into a simple table + chart overlay, so you instantly know the market bias.
🧠 Core Logic
The trend is defined using a very clear rule:
📌 Bullish (UP ↗)
Price > Short EMA
Price > Long EMA
📌 Bearish (DOWN ↘)
Price < Short EMA
Price < Long EMA
👉 So you’re basically measuring:
Is price above both momentum layers? → strong bullish
Below both? → strong bearish
⏱️ Multi-Timeframe Analysis
You can choose any 3 timeframes, for example:
15M (entry timing)
1H (intraday trend)
4H (macro bias)
Each timeframe is analyzed independently and displayed in the table.
📋 Trend Table
The indicator draws a table on your chart showing:
🔹 If EMA values are enabled:
| Timeframe | Trend | EMA Short | EMA Long |
🔹 If disabled:
| Timeframe | Trend |
🎯 Signal Meaning
🟢 UP ↗
Price is above both EMAs
Strong bullish bias
🔴 DOWN ↘
Price is below both EMAs
Strong bearish bias
📈 Current Timeframe EMAs
The indicator also plots on your chart:
Short EMA
Long EMA
⚙️ You can enable/disable this from inputs.
👉 This gives you visual confirmation directly on price.
⚙️ Inputs & Customization
🔹 Timeframes
1st TF
2nd TF
3rd TF
(fully customizable)
🔹 EMA Settings
Short EMA length
Long EMA length
🔹 Display Options
Show/hide EMA values in table
Show/hide EMAs on chart
Table position
💡 Practical Trading Use
1️⃣ Trend Filtering (Bias Tool)
All 3 TFs = UP → strong bullish environment
All 3 TFs = DOWN → strong bearish environment
👉 Use it to define market bias before entering
2️⃣ Entry Timing
Example:
4H → UP
1H → UP
15M → Pullback
👉 Look for buy entries on lower timeframe
3️⃣ Avoid Bad Trades
Example:
4H → UP
1H → DOWN
👉 Market is conflicting → stay out
⚠️ Important Notes
- This is not a standalone entry system
- It’s a trend/bias confirmation tool
- EMAs are lagging → signals are slightly delayed
🧩 Final Summary
This indicator simplifies a complex question:
“Is the market aligned across multiple timeframes?”
This is a Multi-Timeframe Trend Analyzer based on:
Short EMA (fast trend)
Long EMA (slow trend)
Across 3 customizable timeframes
It summarizes market direction into a simple table + chart overlay, so you instantly know the market bias.
🧠 Core Logic
The trend is defined using a very clear rule:
📌 Bullish (UP ↗)
Price > Short EMA
Price > Long EMA
📌 Bearish (DOWN ↘)
Price < Short EMA
Price < Long EMA
👉 So you’re basically measuring:
Is price above both momentum layers? → strong bullish
Below both? → strong bearish
⏱️ Multi-Timeframe Analysis
You can choose any 3 timeframes, for example:
15M (entry timing)
1H (intraday trend)
4H (macro bias)
Each timeframe is analyzed independently and displayed in the table.
📋 Trend Table
The indicator draws a table on your chart showing:
🔹 If EMA values are enabled:
| Timeframe | Trend | EMA Short | EMA Long |
🔹 If disabled:
| Timeframe | Trend |
🎯 Signal Meaning
🟢 UP ↗
Price is above both EMAs
Strong bullish bias
🔴 DOWN ↘
Price is below both EMAs
Strong bearish bias
📈 Current Timeframe EMAs
The indicator also plots on your chart:
Short EMA
Long EMA
⚙️ You can enable/disable this from inputs.
👉 This gives you visual confirmation directly on price.
⚙️ Inputs & Customization
🔹 Timeframes
1st TF
2nd TF
3rd TF
(fully customizable)
🔹 EMA Settings
Short EMA length
Long EMA length
🔹 Display Options
Show/hide EMA values in table
Show/hide EMAs on chart
Table position
💡 Practical Trading Use
1️⃣ Trend Filtering (Bias Tool)
All 3 TFs = UP → strong bullish environment
All 3 TFs = DOWN → strong bearish environment
👉 Use it to define market bias before entering
2️⃣ Entry Timing
Example:
4H → UP
1H → UP
15M → Pullback
👉 Look for buy entries on lower timeframe
3️⃣ Avoid Bad Trades
Example:
4H → UP
1H → DOWN
👉 Market is conflicting → stay out
⚠️ Important Notes
- This is not a standalone entry system
- It’s a trend/bias confirmation tool
- EMAs are lagging → signals are slightly delayed
🧩 Final Summary
This indicator simplifies a complex question:
“Is the market aligned across multiple timeframes?”
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.