OPEN-SOURCE SCRIPT
MTF Ultimate Market State Dashboard

Overview
The MTF Ultimate Market State Dashboard is a comprehensive visual tool designed to provide a bird's-eye view of market conditions across multiple timeframes (Current, 1H, 4H, and Daily). Instead of flipping through charts, this dashboard aggregates trend, momentum, and volatility data into a single, clean interface.
Why this Mashup?
Trading in isolation on a single timeframe often leads to "noise" traps. This script combines four core technical pillars to confirm high-probability setups:
RSI & MA Synergy: Detects if the relative strength is trending above its average.
Stochastic RSI: Identifies momentum shifts and overbought/oversold exhaustion.
Money Flow Index (MFI): Integrates volume-weighted momentum to ensure price moves are backed by liquidity.
ATR Volatility: Monitors if the current price action is expanding or contracting relative to historical norms.
How it Works (The Logic)
The dashboard calculates data from higher timeframes using request.security.
RSI MA Trend: Signals a 'BUY' if the RSI Moving Average is below 50 but sloping upwards (recovery phase), and 'SELL' if above 50 but sloping downwards (distribution phase).
RSI vs MA: A direct comparison. If RSI > MA and rising, it indicates bullish dominance.
Final Signal: This is a confluence logic. A 'BUY' signal is triggered only when the RSI Trend, RSI vs MA, and Stoch RSI are all bullish AND the Money Flow Index is above 50.
Repaint Protection: Users can toggle Allow Repaint. When off, it uses closed-bar data (lookahead_off) to ensure signals are stable and reliable for live trading.
How to Use
Trend Alignment: Look for columns where multiple timeframes show the same color (Confluence).
Scalping: Use the 'Current TF' row for quick entries while ensuring the '4H' or '1D' trend is in your favor.
Volatility Filter: Use the 'Volatility' row to avoid trading in "dead" markets where ATR is significantly below its average.
The MTF Ultimate Market State Dashboard is a comprehensive visual tool designed to provide a bird's-eye view of market conditions across multiple timeframes (Current, 1H, 4H, and Daily). Instead of flipping through charts, this dashboard aggregates trend, momentum, and volatility data into a single, clean interface.
Why this Mashup?
Trading in isolation on a single timeframe often leads to "noise" traps. This script combines four core technical pillars to confirm high-probability setups:
RSI & MA Synergy: Detects if the relative strength is trending above its average.
Stochastic RSI: Identifies momentum shifts and overbought/oversold exhaustion.
Money Flow Index (MFI): Integrates volume-weighted momentum to ensure price moves are backed by liquidity.
ATR Volatility: Monitors if the current price action is expanding or contracting relative to historical norms.
How it Works (The Logic)
The dashboard calculates data from higher timeframes using request.security.
RSI MA Trend: Signals a 'BUY' if the RSI Moving Average is below 50 but sloping upwards (recovery phase), and 'SELL' if above 50 but sloping downwards (distribution phase).
RSI vs MA: A direct comparison. If RSI > MA and rising, it indicates bullish dominance.
Final Signal: This is a confluence logic. A 'BUY' signal is triggered only when the RSI Trend, RSI vs MA, and Stoch RSI are all bullish AND the Money Flow Index is above 50.
Repaint Protection: Users can toggle Allow Repaint. When off, it uses closed-bar data (lookahead_off) to ensure signals are stable and reliable for live trading.
How to Use
Trend Alignment: Look for columns where multiple timeframes show the same color (Confluence).
Scalping: Use the 'Current TF' row for quick entries while ensuring the '4H' or '1D' trend is in your favor.
Volatility Filter: Use the 'Volatility' row to avoid trading in "dead" markets where ATR is significantly below its average.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.