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
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.