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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。