OPEN-SOURCE SCRIPT
EMA xPair [crlmx]

EMA indicator pair with smooth gradient fill.
Timeframe adjustable to fixed value or follow the chats.
Key Features
- Two configurable EMAs (default 8 / 24 on day TF)
- 15 reference timeframes from 1min to Monthly
- Gradient fill between EMAs - colour tracks the dominant line
- Midline between the two EMAs - acts as a dynamic centre reference
- Streamlined inputs / UI brought to you by crlmx
Trading Applications
- Use as trend filter, not entry trigger
- Gradient fill enhances visual read on trend bias
- Midline acts as support/resistance between the two EMAs
- Daily 8/24 works across all instruments and timeframes
- Daily 30/50 gives a very solid HTF trend signal across assets for swing / position trading
- Recommended Settings
Scalping (fast): EMA1: 8 | EMA2: 24 | TF: 1min | Chart: 1m–5m
Scalping: EMA1: 8 | EMA2: 24 | TF: 3–5min | Chart: 1m–5m
Day Trading: EMA1: 8 | EMA2: 24 | TF: Day | Chart: 15m–1H
Swing Trading: EMA1: 30 | EMA2: 50 | TF: Day | Chart: 4H–1D
Version History
v1.21 (Latest - 23 Feb 2026)
- Gradient fill between EMAs with transparency control
- 15 reference timeframes (1min to Monthly)
- Midline defaults to off
Timeframe adjustable to fixed value or follow the chats.
Key Features
- Two configurable EMAs (default 8 / 24 on day TF)
- 15 reference timeframes from 1min to Monthly
- Gradient fill between EMAs - colour tracks the dominant line
- Midline between the two EMAs - acts as a dynamic centre reference
- Streamlined inputs / UI brought to you by crlmx
Trading Applications
- Use as trend filter, not entry trigger
- Gradient fill enhances visual read on trend bias
- Midline acts as support/resistance between the two EMAs
- Daily 8/24 works across all instruments and timeframes
- Daily 30/50 gives a very solid HTF trend signal across assets for swing / position trading
- Recommended Settings
Scalping (fast): EMA1: 8 | EMA2: 24 | TF: 1min | Chart: 1m–5m
Scalping: EMA1: 8 | EMA2: 24 | TF: 3–5min | Chart: 1m–5m
Day Trading: EMA1: 8 | EMA2: 24 | TF: Day | Chart: 15m–1H
Swing Trading: EMA1: 30 | EMA2: 50 | TF: Day | Chart: 4H–1D
Version History
v1.21 (Latest - 23 Feb 2026)
- Gradient fill between EMAs with transparency control
- 15 reference timeframes (1min to Monthly)
- Midline defaults to off
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 cualquier 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 u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga 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 cualquier 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 u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.