Multi-Timeframe Trend Table

Overview
Multi-Timeframe Trend Table V1 is a Pine Script v6 indicator for TradingView that displays trend direction across multiple timeframes in a compact table. It compares a short-term moving average to a long-term moving average on timeframes from 30 seconds to 1 week and color-codes each row (green/red) for quick reading. A lightweight 30-second approximation covers ultra-short intervals.
How It Works
For each selected timeframe, the script evaluates a short-term MA (default 50) versus a long-term MA (default 200) using the user-chosen method (SMA, EMA, WMA, or HMA (Hull)). If the short-term MA is above the long-term MA, the cell shows “Up”; otherwise “Down.” Cross-timeframe values are computed with request.security. The 30-second row is an approximation that uses the midpoint of the previous 1-minute bar’s high/low as a simple proxy for ultra-short data. Results are presented in a table with configurable position and colors.
Key Features
• Multi-timeframe coverage: Up to 15 TFs (30s → 1W).
• Flexible MA methods: SMA, EMA, WMA, or HMA (Hull).
• Customizable table: Position, background, text, and trend colors.
• Selectable rows: Toggle individual timeframes.
• 30-second proxy: Uses 1-minute data midpoint for display on ultra-short TFs.
What It Displays
A single, color-coded table showing whether short-term vs. long-term MA is Up or Down on each selected timeframe—useful for checking trend alignment at a glance.
Originality
This indicator is an original Pine v6 implementation using TradingView’s built-in ta.sma, ta.ema, ta.wma, ta.hma, and request.security functions.
Common Uses
• Day traders aligning entries with higher-timeframe trend.
• Swing traders checking broader trend context.
• Analysts monitoring trend alignment across markets.
Configuration Notes
Choose MA type (default: EMA) and set short-term (default: 50) and long-term (default: 200) lengths. Select which timeframes to display and customize table position and colors to fit your chart layout.
Legal Disclaimer
This indicator is for informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves risk of loss. Provided “as is” without warranties. Consult a qualified professional before making decisions.
Skript nur auf Einladung
Ausschließlich Nutzer mit einer Erlaubnis des Autors können Zugriff auf dieses Script erhalten. Sie müssen diese Genehmigung bei dem Autor beantragen. Dies umfasst üblicherweise auch eine Zahlung. Wenn Sie mehr erfahren möchten, dann sehen Sie sich unten die Anweisungen des Autors an oder kontaktieren Sie TradingScriptSolutions direkt.
TradingView empfiehlt NICHT, für die Nutzung eines Scripts zu bezahlen, wenn Sie den Autor nicht als vertrauenswürdig halten und verstehen, wie das Script funktioniert. Sie können außerdem auch kostenlose Open-Source-Alternativen in unseren Community-Scripts finden.
Hinweise des Autors
Haftungsausschluss
Skript nur auf Einladung
Ausschließlich Nutzer mit einer Erlaubnis des Autors können Zugriff auf dieses Script erhalten. Sie müssen diese Genehmigung bei dem Autor beantragen. Dies umfasst üblicherweise auch eine Zahlung. Wenn Sie mehr erfahren möchten, dann sehen Sie sich unten die Anweisungen des Autors an oder kontaktieren Sie TradingScriptSolutions direkt.
TradingView empfiehlt NICHT, für die Nutzung eines Scripts zu bezahlen, wenn Sie den Autor nicht als vertrauenswürdig halten und verstehen, wie das Script funktioniert. Sie können außerdem auch kostenlose Open-Source-Alternativen in unseren Community-Scripts finden.