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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.