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 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.