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.
Yalnızca davetli komut dosyası
Bu komut dosyasına yalnızca yazar tarafından onaylanan kullanıcılar erişebilir. Kullanmak için izin istemeniz ve almanız gerekir. Bu izin genellikle ödeme yapıldıktan sonra verilir. Daha fazla ayrıntı için aşağıdaki yazarın talimatlarını izleyin veya doğrudan TradingScriptSolutions ile iletişime geçin.
TradingView, yazarına tam olarak güvenmediğiniz ve nasıl çalıştığını anlamadığınız sürece bir komut dosyası için ödeme yapmanızı veya kullanmanızı ÖNERMEZ. Ayrıca topluluk komut dosyaları bölümümüzde ücretsiz, açık kaynaklı alternatifler bulabilirsiniz.
Yazarın talimatları
Feragatname
Yalnızca davetli komut dosyası
Bu komut dosyasına yalnızca yazar tarafından onaylanan kullanıcılar erişebilir. Kullanmak için izin istemeniz ve almanız gerekir. Bu izin genellikle ödeme yapıldıktan sonra verilir. Daha fazla ayrıntı için aşağıdaki yazarın talimatlarını izleyin veya doğrudan TradingScriptSolutions ile iletişime geçin.
TradingView, yazarına tam olarak güvenmediğiniz ve nasıl çalıştığını anlamadığınız sürece bir komut dosyası için ödeme yapmanızı veya kullanmanızı ÖNERMEZ. Ayrıca topluluk komut dosyaları bölümümüzde ücretsiz, açık kaynaklı alternatifler bulabilirsiniz.