OPEN-SOURCE SCRIPT
Roy AI Matrix MTF EMA

ROY AI MATRIX MTF EMA – MOBILE FIX
Roy AI Matrix MTF EMA is an advanced multi-timeframe trend analysis indicator designed to combine EMA structure, timeframe strength, and market direction into a single mathematical trend engine.
This indicator was specially optimized for TradingView mobile users with a lightweight and cleaner matrix dashboard that remains responsive even on lower-powered devices.
Unlike traditional EMA indicators that only analyze one timeframe, Roy AI Matrix MTF EMA combines multiple timeframes and multiple EMA layers simultaneously to calculate overall market bias and trend pressure.
The indicator transforms market structure into a weighted mathematical score system where:
• Higher timeframes carry stronger influence
• Larger EMAs represent stronger market structure
• Bullish conditions generate positive values
• Bearish conditions generate negative values
The final score helps traders quickly identify whether the market is dominated by buyers or sellers.
FEATURES
• Multi-Timeframe EMA Matrix
• EMA 10 / 20 / 50 / 100 / 200 Analysis
• Bullish & Bearish Matrix Heatmap
• AI Trend Score Calculation
• Market Bias Detection
• Buy & Sell Signal Detection
• Mobile-Friendly Compact Table
• Lightweight Optimized Version
• M15 Intraday Trading Optimization
• Trend Gravity Concept
TIMEFRAMES INCLUDED
• M1
• M5
• M15
• M30
• H1
• H4
• Daily
HOW IT WORKS
Each timeframe and EMA combination is converted into a weighted mathematical score.
Bullish conditions produce positive values.
Bearish conditions produce negative values.
Higher timeframes such as H4 and Daily carry significantly stronger weight compared to lower timeframes like M1 and M5.
This allows traders to identify:
• True dominant trend direction
• Pullbacks against major trend
• Momentum continuation
• Trend strength
• Market phase
SIGNAL LOGIC
BUY Signal:
• Overall score is bullish
• M15 EMA momentum turns bullish
• M5 confirms momentum continuation
SELL Signal:
• Overall score is bearish
• M15 EMA momentum turns bearish
• M5 confirms downside continuation
BEST USED FOR
• Intraday Trading
• Scalping
• Trend Following
• Momentum Trading
• Multi-Timeframe Analysis
• Gold (XAUUSD)
• Forex
• Crypto
• Indices
This indicator is designed to help traders visualize market structure and trend alignment in a cleaner and more mathematical way.
Optimized especially for traders who trade primarily on the M15 timeframe while still respecting higher timeframe market gravity.
Roy AI Matrix MTF EMA is an advanced multi-timeframe trend analysis indicator designed to combine EMA structure, timeframe strength, and market direction into a single mathematical trend engine.
This indicator was specially optimized for TradingView mobile users with a lightweight and cleaner matrix dashboard that remains responsive even on lower-powered devices.
Unlike traditional EMA indicators that only analyze one timeframe, Roy AI Matrix MTF EMA combines multiple timeframes and multiple EMA layers simultaneously to calculate overall market bias and trend pressure.
The indicator transforms market structure into a weighted mathematical score system where:
• Higher timeframes carry stronger influence
• Larger EMAs represent stronger market structure
• Bullish conditions generate positive values
• Bearish conditions generate negative values
The final score helps traders quickly identify whether the market is dominated by buyers or sellers.
FEATURES
• Multi-Timeframe EMA Matrix
• EMA 10 / 20 / 50 / 100 / 200 Analysis
• Bullish & Bearish Matrix Heatmap
• AI Trend Score Calculation
• Market Bias Detection
• Buy & Sell Signal Detection
• Mobile-Friendly Compact Table
• Lightweight Optimized Version
• M15 Intraday Trading Optimization
• Trend Gravity Concept
TIMEFRAMES INCLUDED
• M1
• M5
• M15
• M30
• H1
• H4
• Daily
HOW IT WORKS
Each timeframe and EMA combination is converted into a weighted mathematical score.
Bullish conditions produce positive values.
Bearish conditions produce negative values.
Higher timeframes such as H4 and Daily carry significantly stronger weight compared to lower timeframes like M1 and M5.
This allows traders to identify:
• True dominant trend direction
• Pullbacks against major trend
• Momentum continuation
• Trend strength
• Market phase
SIGNAL LOGIC
BUY Signal:
• Overall score is bullish
• M15 EMA momentum turns bullish
• M5 confirms momentum continuation
SELL Signal:
• Overall score is bearish
• M15 EMA momentum turns bearish
• M5 confirms downside continuation
BEST USED FOR
• Intraday Trading
• Scalping
• Trend Following
• Momentum Trading
• Multi-Timeframe Analysis
• Gold (XAUUSD)
• Forex
• Crypto
• Indices
This indicator is designed to help traders visualize market structure and trend alignment in a cleaner and more mathematical way.
Optimized especially for traders who trade primarily on the M15 timeframe while still respecting higher timeframe market gravity.
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.