OPEN-SOURCE SCRIPT
The Trade Plan 9 & 15 EMA

⭐ What Are EMAs?
An Exponential Moving Average (EMA) gives more weight to recent prices, making it more responsive than a simple moving average.
9-EMA = very fast, reacts quickly to price changes
15-EMA = slightly slower, smooths short-term noise
Together they help identify momentum shifts.
📈 How the 9/15 EMA Strategy Works
1. Buy Signal (Bullish Crossover)
You enter a long (buy) trade when:
➡ 9 EMA crosses above the 15 EMA
This suggests momentum is shifting upward and a new uptrend may be forming.
2. Sell Signal (Bearish Crossover)
You enter a short (sell) trade or exit long positions when:
➡ 9 EMA crosses below the 15 EMA
This suggests momentum is turning downward.
🔧 How Traders Typically Use It
Entry
Wait for a clear crossover.
Confirm with price closing on the same side of EMAs.
Some traders add confirmation using RSI, MACD, or support/resistance.
Exit
Several options:
Exit when the opposite crossover occurs.
Exit at predetermined risk-reward levels (e.g., 1:2).
Use trailing stop below/above EMAs.
👍 Strengths
Easy to follow
Good for fast-moving markets
Works well on trending markets
Minimal indicators needed
👎 Weaknesses
Whipsaws in sideways markets
Many false signals on very low timeframes
Works best with additional filters
🕒 Common Timeframes
Scalping: 1m, 5m
Day trading: 5m, 15m
Swing trading: 1H, 4H
An Exponential Moving Average (EMA) gives more weight to recent prices, making it more responsive than a simple moving average.
9-EMA = very fast, reacts quickly to price changes
15-EMA = slightly slower, smooths short-term noise
Together they help identify momentum shifts.
📈 How the 9/15 EMA Strategy Works
1. Buy Signal (Bullish Crossover)
You enter a long (buy) trade when:
➡ 9 EMA crosses above the 15 EMA
This suggests momentum is shifting upward and a new uptrend may be forming.
2. Sell Signal (Bearish Crossover)
You enter a short (sell) trade or exit long positions when:
➡ 9 EMA crosses below the 15 EMA
This suggests momentum is turning downward.
🔧 How Traders Typically Use It
Entry
Wait for a clear crossover.
Confirm with price closing on the same side of EMAs.
Some traders add confirmation using RSI, MACD, or support/resistance.
Exit
Several options:
Exit when the opposite crossover occurs.
Exit at predetermined risk-reward levels (e.g., 1:2).
Use trailing stop below/above EMAs.
👍 Strengths
Easy to follow
Good for fast-moving markets
Works well on trending markets
Minimal indicators needed
👎 Weaknesses
Whipsaws in sideways markets
Many false signals on very low timeframes
Works best with additional filters
🕒 Common Timeframes
Scalping: 1m, 5m
Day trading: 5m, 15m
Swing trading: 1H, 4H
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 pretenden ser, ni constituyen, 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 pretenden ser, ni constituyen, 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.