OPEN-SOURCE SCRIPT
MTF Dashboard 9 Timeframes + Signals

# MTF Dashboard Pro - Multi-Timeframe Confluence Analysis System
## WHAT THIS SCRIPT DOES
This script creates a comprehensive dashboard that simultaneously analyzes market conditions across 9 different timeframes (1m, 5m, 15m, 30m, 1H, 4H, Daily, Weekly, Monthly) using a proprietary confluence scoring methodology. Unlike simple multi-timeframe displays that show individual indicators separately, this script combines trend analysis, momentum, volatility signals, and volume analysis into unified confluence scores for each timeframe.
## WHY THIS COMBINATION IS ORIGINAL AND USEFUL
**The Problem Solved:** Most traders manually check multiple timeframes and struggle to quickly assess overall market bias when different timeframes show conflicting signals. Existing MTF scripts typically display individual indicators without synthesizing them into actionable intelligence.
**The Solution:** This script implements a mathematical confluence algorithm that:
- Weights each indicator's signal strength (trend direction, RSI momentum, MACD volatility, volume analysis)
- Calculates normalized scores across all active timeframes
- Determines overall market bias with statistical confidence levels
- Provides instant visual feedback through color-coded symbols and star ratings
**Unique Features:**
1. **Confluence Scoring Algorithm**: Mathematically combines multiple indicator signals into a single confidence rating per timeframe
2. **Market Bias Engine**: Automatically calculates overall directional bias with percentage strength across all selected timeframes
3. **Dynamic Display System**: Real-time updates with customizable layouts, color schemes, and selective timeframe activation
4. **Statistical Analysis**: Provides bullish/bearish vote counts and overall confluence percentages
## HOW THE SCRIPT WORKS TECHNICALLY
### Core Calculation Methodology:
**1. Trend Analysis (EMA-based):**
- Fast EMA (default: 9) vs Slow EMA (default: 21) crossover analysis
- Returns values: +1 (bullish), -1 (bearish), 0 (neutral)
**2. Momentum Analysis (RSI-based):**
- RSI levels: >70 (strong bullish +2), >50 (bullish +1), <30 (strong bearish -2), <50 (bearish -1)
- Provides overbought/oversold context for trend confirmation
**3. Volatility Analysis (MACD-based):**
- MACD line vs Signal line positioning
- Histogram strength comparison with previous bar
- Combined score considering both direction and momentum strength
**4. Volume Analysis:**
- Current volume vs 20-period moving average
- Thresholds: >150% MA (strong +2), >100% MA (bullish +1), <50% MA (weak -2)
**5. Confluence Calculation:**
```
Confluence Score = (Trend + RSI + MACD + Volume) / 4.0
```
**6. Market Bias Determination:**
- Counts bullish vs bearish signals across all active timeframes
- Calculates bias strength percentage: |Bullish Count - Bearish Count| / Total Active TFs * 100
- Determines overall market direction: BULLISH, BEARISH, or NEUTRAL
### Multi-Timeframe Implementation:
Uses `request.security()` calls to fetch data from each timeframe, ensuring all calculations are performed on the respective timeframe's data rather than current chart timeframe, providing accurate multi-timeframe analysis.
## HOW TO USE THIS SCRIPT
### Initial Setup:
1. **Timeframe Selection**: Enable/disable specific timeframes in "Timeframe Selection" group based on your trading style
2. **Indicator Configuration**: Adjust EMA periods (Fast: 9, Slow: 21), RSI length (14), and MACD settings (12/26/9) to match your analysis preferences
3. **Display Options**: Choose table position, text size, and color scheme for optimal visibility
### Reading the Dashboard:
**Symbol Interpretation:**
- ⬆⬆ = Strong bullish signal (score ≥ 2)
- ⬆ = Bullish signal (score > 0)
- ➡ = Neutral signal (score = 0)
- ⬇ = Bearish signal (score < 0)
- ⬇⬇ = Strong bearish signal (score ≤ -2)
**Confluence Stars:**
- ★★★★★ = Very high confidence (score > 0.75)
- ★★★★☆ = High confidence (score > 0.5)
- ★★★☆☆ = Medium confidence (score > 0.25)
- ★★☆☆☆ = Low confidence (score > 0)
- ★☆☆☆☆ = Very low confidence (score > -0.25)
**Market Bias Section:**
- Shows overall market direction across all active timeframes
- Strength percentage indicates conviction level
- Overall confluence score represents average agreement across timeframes
### Trading Applications:
**Entry Signals:**
- Look for high confluence (4-5 stars) across multiple timeframes in same direction
- Higher timeframe alignment provides stronger signal validation
- Use confluence percentage >75% for high-probability setups
**Risk Management:**
- Lower timeframe conflicts may indicate choppy conditions
- Neutral bias suggests ranging market - adjust position sizing
- Strong bias with high confluence supports larger position sizes
**Timeframe Harmony:**
- Short-term trades: Focus on 1m-1H alignment
- Swing trades: Emphasize 1H-Daily alignment
- Position trades: Prioritize Daily-Monthly confluence
## SCRIPT SETTINGS EXPLANATION
### Dashboard Settings:
- **Table Position**: Choose optimal location (Top Right recommended for most layouts)
- **Text Size**: Adjust based on screen resolution and preferences
- **Color Scheme**: Professional (default), Classic, Vibrant, or Dark themes
- **Background Color/Transparency**: Customize table appearance
### Timeframe Selection:
All timeframes optional - activate based on trading timeframe preference:
- **Lower Timeframes (1m-30m)**: Scalping and day trading
- **Medium Timeframes (1H-4H)**: Swing trading
- **Higher Timeframes (D-M)**: Position trading and long-term bias
### Indicator Parameters:
- **Fast EMA (Default: 9)**: Shorter period for trend sensitivity
- **Slow EMA (Default: 21)**: Longer period for trend confirmation
- **RSI Length (Default: 14)**: Standard momentum calculation period
- **MACD Settings (12/26/9)**: Standard MACD configuration for volatility analysis
### Alert Configuration:
- **Strong Signals**: Alerts when confluence >75% with clear directional bias
- **High Confluence**: Alerts when multiple timeframes strongly agree
- All alerts use `alert.freq_once_per_bar` to prevent spam
## VISUAL FEATURES
### Chart Elements:
- **Background Coloring**: Subtle background tint reflects overall market bias
- **Signal Labels**: Strong buy/sell labels appear on chart during high-confluence signals
- **Clean Presentation**: Dashboard overlays chart without interfering with price action
### Color Coding:
- **Green/Bullish**: Various green shades for positive signals
- **Red/Bearish**: Various red shades for negative signals
- **Gray/Neutral**: Neutral color for conflicting or weak signals
- **Transparency**: Configurable transparency maintains chart readability
## IMPORTANT USAGE NOTES
**Realistic Expectations:**
- This tool provides analysis framework, not trading signals
- Always combine with proper risk management
- Past performance does not guarantee future results
- Market conditions can change rapidly - use appropriate position sizing
**Best Practices:**
- Verify signals with additional analysis methods
- Consider fundamental factors affecting the instrument
- Use appropriate timeframes for your trading style
- Regular parameter optimization may be beneficial for different market conditions
**Limitations:**
- Effectiveness may vary across different instruments and market conditions
- Confluence scoring is mathematical model - not predictive guarantee
- Requires understanding of underlying indicators for optimal use
This script serves as a comprehensive analysis tool for traders who need quick, organized access to multi-timeframe market information with statistical confidence levels.
## WHAT THIS SCRIPT DOES
This script creates a comprehensive dashboard that simultaneously analyzes market conditions across 9 different timeframes (1m, 5m, 15m, 30m, 1H, 4H, Daily, Weekly, Monthly) using a proprietary confluence scoring methodology. Unlike simple multi-timeframe displays that show individual indicators separately, this script combines trend analysis, momentum, volatility signals, and volume analysis into unified confluence scores for each timeframe.
## WHY THIS COMBINATION IS ORIGINAL AND USEFUL
**The Problem Solved:** Most traders manually check multiple timeframes and struggle to quickly assess overall market bias when different timeframes show conflicting signals. Existing MTF scripts typically display individual indicators without synthesizing them into actionable intelligence.
**The Solution:** This script implements a mathematical confluence algorithm that:
- Weights each indicator's signal strength (trend direction, RSI momentum, MACD volatility, volume analysis)
- Calculates normalized scores across all active timeframes
- Determines overall market bias with statistical confidence levels
- Provides instant visual feedback through color-coded symbols and star ratings
**Unique Features:**
1. **Confluence Scoring Algorithm**: Mathematically combines multiple indicator signals into a single confidence rating per timeframe
2. **Market Bias Engine**: Automatically calculates overall directional bias with percentage strength across all selected timeframes
3. **Dynamic Display System**: Real-time updates with customizable layouts, color schemes, and selective timeframe activation
4. **Statistical Analysis**: Provides bullish/bearish vote counts and overall confluence percentages
## HOW THE SCRIPT WORKS TECHNICALLY
### Core Calculation Methodology:
**1. Trend Analysis (EMA-based):**
- Fast EMA (default: 9) vs Slow EMA (default: 21) crossover analysis
- Returns values: +1 (bullish), -1 (bearish), 0 (neutral)
**2. Momentum Analysis (RSI-based):**
- RSI levels: >70 (strong bullish +2), >50 (bullish +1), <30 (strong bearish -2), <50 (bearish -1)
- Provides overbought/oversold context for trend confirmation
**3. Volatility Analysis (MACD-based):**
- MACD line vs Signal line positioning
- Histogram strength comparison with previous bar
- Combined score considering both direction and momentum strength
**4. Volume Analysis:**
- Current volume vs 20-period moving average
- Thresholds: >150% MA (strong +2), >100% MA (bullish +1), <50% MA (weak -2)
**5. Confluence Calculation:**
```
Confluence Score = (Trend + RSI + MACD + Volume) / 4.0
```
**6. Market Bias Determination:**
- Counts bullish vs bearish signals across all active timeframes
- Calculates bias strength percentage: |Bullish Count - Bearish Count| / Total Active TFs * 100
- Determines overall market direction: BULLISH, BEARISH, or NEUTRAL
### Multi-Timeframe Implementation:
Uses `request.security()` calls to fetch data from each timeframe, ensuring all calculations are performed on the respective timeframe's data rather than current chart timeframe, providing accurate multi-timeframe analysis.
## HOW TO USE THIS SCRIPT
### Initial Setup:
1. **Timeframe Selection**: Enable/disable specific timeframes in "Timeframe Selection" group based on your trading style
2. **Indicator Configuration**: Adjust EMA periods (Fast: 9, Slow: 21), RSI length (14), and MACD settings (12/26/9) to match your analysis preferences
3. **Display Options**: Choose table position, text size, and color scheme for optimal visibility
### Reading the Dashboard:
**Symbol Interpretation:**
- ⬆⬆ = Strong bullish signal (score ≥ 2)
- ⬆ = Bullish signal (score > 0)
- ➡ = Neutral signal (score = 0)
- ⬇ = Bearish signal (score < 0)
- ⬇⬇ = Strong bearish signal (score ≤ -2)
**Confluence Stars:**
- ★★★★★ = Very high confidence (score > 0.75)
- ★★★★☆ = High confidence (score > 0.5)
- ★★★☆☆ = Medium confidence (score > 0.25)
- ★★☆☆☆ = Low confidence (score > 0)
- ★☆☆☆☆ = Very low confidence (score > -0.25)
**Market Bias Section:**
- Shows overall market direction across all active timeframes
- Strength percentage indicates conviction level
- Overall confluence score represents average agreement across timeframes
### Trading Applications:
**Entry Signals:**
- Look for high confluence (4-5 stars) across multiple timeframes in same direction
- Higher timeframe alignment provides stronger signal validation
- Use confluence percentage >75% for high-probability setups
**Risk Management:**
- Lower timeframe conflicts may indicate choppy conditions
- Neutral bias suggests ranging market - adjust position sizing
- Strong bias with high confluence supports larger position sizes
**Timeframe Harmony:**
- Short-term trades: Focus on 1m-1H alignment
- Swing trades: Emphasize 1H-Daily alignment
- Position trades: Prioritize Daily-Monthly confluence
## SCRIPT SETTINGS EXPLANATION
### Dashboard Settings:
- **Table Position**: Choose optimal location (Top Right recommended for most layouts)
- **Text Size**: Adjust based on screen resolution and preferences
- **Color Scheme**: Professional (default), Classic, Vibrant, or Dark themes
- **Background Color/Transparency**: Customize table appearance
### Timeframe Selection:
All timeframes optional - activate based on trading timeframe preference:
- **Lower Timeframes (1m-30m)**: Scalping and day trading
- **Medium Timeframes (1H-4H)**: Swing trading
- **Higher Timeframes (D-M)**: Position trading and long-term bias
### Indicator Parameters:
- **Fast EMA (Default: 9)**: Shorter period for trend sensitivity
- **Slow EMA (Default: 21)**: Longer period for trend confirmation
- **RSI Length (Default: 14)**: Standard momentum calculation period
- **MACD Settings (12/26/9)**: Standard MACD configuration for volatility analysis
### Alert Configuration:
- **Strong Signals**: Alerts when confluence >75% with clear directional bias
- **High Confluence**: Alerts when multiple timeframes strongly agree
- All alerts use `alert.freq_once_per_bar` to prevent spam
## VISUAL FEATURES
### Chart Elements:
- **Background Coloring**: Subtle background tint reflects overall market bias
- **Signal Labels**: Strong buy/sell labels appear on chart during high-confluence signals
- **Clean Presentation**: Dashboard overlays chart without interfering with price action
### Color Coding:
- **Green/Bullish**: Various green shades for positive signals
- **Red/Bearish**: Various red shades for negative signals
- **Gray/Neutral**: Neutral color for conflicting or weak signals
- **Transparency**: Configurable transparency maintains chart readability
## IMPORTANT USAGE NOTES
**Realistic Expectations:**
- This tool provides analysis framework, not trading signals
- Always combine with proper risk management
- Past performance does not guarantee future results
- Market conditions can change rapidly - use appropriate position sizing
**Best Practices:**
- Verify signals with additional analysis methods
- Consider fundamental factors affecting the instrument
- Use appropriate timeframes for your trading style
- Regular parameter optimization may be beneficial for different market conditions
**Limitations:**
- Effectiveness may vary across different instruments and market conditions
- Confluence scoring is mathematical model - not predictive guarantee
- Requires understanding of underlying indicators for optimal use
This script serves as a comprehensive analysis tool for traders who need quick, organized access to multi-timeframe market information with statistical confidence levels.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
📊 DeltaSpeedEdge | Customised Pine Script Solutions
📈 MTF Dashboards • AI Signals • Algo Tools
📩 Telegram: t.me/DeltaSpeedEdge
📷 Instagram: instagram.com/DeltaSpeedEdge
▶️ YouTube: youtube.com/@DeltaSpeedEdge
📈 MTF Dashboards • AI Signals • Algo Tools
📩 Telegram: t.me/DeltaSpeedEdge
📷 Instagram: instagram.com/DeltaSpeedEdge
▶️ YouTube: youtube.com/@DeltaSpeedEdge
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
📊 DeltaSpeedEdge | Customised Pine Script Solutions
📈 MTF Dashboards • AI Signals • Algo Tools
📩 Telegram: t.me/DeltaSpeedEdge
📷 Instagram: instagram.com/DeltaSpeedEdge
▶️ YouTube: youtube.com/@DeltaSpeedEdge
📈 MTF Dashboards • AI Signals • Algo Tools
📩 Telegram: t.me/DeltaSpeedEdge
📷 Instagram: instagram.com/DeltaSpeedEdge
▶️ YouTube: youtube.com/@DeltaSpeedEdge
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.