OPEN-SOURCE SCRIPT
DANGHIEU EMA 34/89/200 Ribbon (Scaled HTF)

📘 Indicator Description – EMA 34/89/200 Ribbon (Scaled HTF)
The EMA 34/89/200 Ribbon (Scaled HTF) indicator is designed to replicate higher-timeframe EMAs directly on your current chart without switching timeframes.
Using a precise HTF Scaling Algorithm, the script converts EMAs from 1H, 2H, 4H, 6H, 12H, 1D, and even 1W into equivalent lengths on lower timeframes—allowing traders to perform true multi-timeframe trend analysis on a single chart.
The 34-EMA and 89-EMA form a dynamic trend ribbon that changes color based on the relationship between the two moving averages. This helps traders quickly identify trend direction, momentum strength, and potential market reversals. The indicator also includes optional crossover markers (X symbols) to highlight bullish and bearish crossovers for cleaner signal recognition. EMA200 is included as the long-term trend anchor.
This tool is ideal for scalpers, day traders, and swing traders who require higher-timeframe context while trading lower-timeframe entries.
🟦 How to Use the Indicator
1. Choose the Higher Timeframe to Simulate
Use the “HTF to Simulate” dropdown to select the timeframe you want to emulate (e.g., 4H, 2H, 1D, 1W).
The script automatically scales the EMA lengths so they match the selected HTF.
2. Read the Ribbon for Trend Direction
Green Ribbon → EMA34 above EMA89 → Bullish momentum
Red Ribbon → EMA34 below EMA89 → Bearish momentum
The ribbon expands when momentum strengthens and contracts during consolidation.
3. Use EMA Crossovers as Signal Zones
Optional X markers highlight crossover points:
Bullish Crossover → EMA34 crosses above EMA89
Bearish Crossover → EMA34 crosses below EMA89
These crossovers often align with trend shifts or early momentum changes.
4. EMA200 as Trend Filter
The EMA200 acts as the macro trend filter:
Price above EMA200 → only consider long setups
Price below EMA200 → only consider short setups
Combining ribbon trend + EMA200 alignment improves signal accuracy.
5. Multi-Timeframe Trading Strategy
This indicator is powerful for:
Scalping with HTF bias
Pullback entry on lower timeframe during HTF trend
Identifying trend exhaustion when the ribbon flips
Confirming wave structure (Elliott Wave, Dow Theory)
Spotting strong momentum phases and squeeze zones
Example workflow:
Select 4H as HTF simulation.
Trade on 15m or 5m chart.
Enter only when price aligns with the HTF ribbon + EMA200 trend.
Use EMA crossovers as confirmation signals.
The EMA 34/89/200 Ribbon (Scaled HTF) indicator is designed to replicate higher-timeframe EMAs directly on your current chart without switching timeframes.
Using a precise HTF Scaling Algorithm, the script converts EMAs from 1H, 2H, 4H, 6H, 12H, 1D, and even 1W into equivalent lengths on lower timeframes—allowing traders to perform true multi-timeframe trend analysis on a single chart.
The 34-EMA and 89-EMA form a dynamic trend ribbon that changes color based on the relationship between the two moving averages. This helps traders quickly identify trend direction, momentum strength, and potential market reversals. The indicator also includes optional crossover markers (X symbols) to highlight bullish and bearish crossovers for cleaner signal recognition. EMA200 is included as the long-term trend anchor.
This tool is ideal for scalpers, day traders, and swing traders who require higher-timeframe context while trading lower-timeframe entries.
🟦 How to Use the Indicator
1. Choose the Higher Timeframe to Simulate
Use the “HTF to Simulate” dropdown to select the timeframe you want to emulate (e.g., 4H, 2H, 1D, 1W).
The script automatically scales the EMA lengths so they match the selected HTF.
2. Read the Ribbon for Trend Direction
Green Ribbon → EMA34 above EMA89 → Bullish momentum
Red Ribbon → EMA34 below EMA89 → Bearish momentum
The ribbon expands when momentum strengthens and contracts during consolidation.
3. Use EMA Crossovers as Signal Zones
Optional X markers highlight crossover points:
Bullish Crossover → EMA34 crosses above EMA89
Bearish Crossover → EMA34 crosses below EMA89
These crossovers often align with trend shifts or early momentum changes.
4. EMA200 as Trend Filter
The EMA200 acts as the macro trend filter:
Price above EMA200 → only consider long setups
Price below EMA200 → only consider short setups
Combining ribbon trend + EMA200 alignment improves signal accuracy.
5. Multi-Timeframe Trading Strategy
This indicator is powerful for:
Scalping with HTF bias
Pullback entry on lower timeframe during HTF trend
Identifying trend exhaustion when the ribbon flips
Confirming wave structure (Elliott Wave, Dow Theory)
Spotting strong momentum phases and squeeze zones
Example workflow:
Select 4H as HTF simulation.
Trade on 15m or 5m chart.
Enter only when price aligns with the HTF ribbon + EMA200 trend.
Use EMA crossovers as confirmation signals.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.