OPEN-SOURCE SCRIPT
EMA 9/20/50/100/200

This script plots the five most commonly used Exponential Moving Averages (EMAs): 9, 20, 50, 100, and 200. These EMAs help traders quickly identify short-term momentum, medium-term trends, and long-term market direction.
It is useful for:
Trend identification
Momentum confirmation
Pullback entries
Reversal detection
Multi-timeframe confluence trading
What’s Included
EMA 9 → short-term momentum
EMA 20 → near-term trend guide
EMA 50 → medium-term trend
EMA 100 → broad trend structure
EMA 200 → long-term direction
Each EMA is color-coded for clarity, making it easy to read and visually track trend shifts.
How to Use
When shorter EMAs cross above longer EMAs → bullish trend strengthening
When shorter EMAs cross below longer EMAs → bearish trend strengthening
Wide spacing between EMAs indicates a strong trend
Compression or clustering often signals potential reversals or breakout conditions
This indicator is simple, clean, and effective for all timeframes and asset classes.
It is useful for:
Trend identification
Momentum confirmation
Pullback entries
Reversal detection
Multi-timeframe confluence trading
What’s Included
EMA 9 → short-term momentum
EMA 20 → near-term trend guide
EMA 50 → medium-term trend
EMA 100 → broad trend structure
EMA 200 → long-term direction
Each EMA is color-coded for clarity, making it easy to read and visually track trend shifts.
How to Use
When shorter EMAs cross above longer EMAs → bullish trend strengthening
When shorter EMAs cross below longer EMAs → bearish trend strengthening
Wide spacing between EMAs indicates a strong trend
Compression or clustering often signals potential reversals or breakout conditions
This indicator is simple, clean, and effective for all timeframes and asset classes.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.