OPEN-SOURCE SCRIPT
Astro's EMA

Script Description – "Astro's EMA fill"
This TradingView indicator plots four Exponential Moving Averages (EMAs) and uses shaded fill areas to visually highlight bullish or bearish crossovers between two EMA pairs.
🔍 Key Features:
4 EMAs plotted:
EMA 1 (default 14) — Fast
EMA 2 (default 50) — Slow
EMA 3 (default 100) — Medium-Term
EMA 4 (default 200) — Long-Term
Shaded Fill Areas:
Area between EMA 1 & EMA 2 is filled green when EMA 1 is above EMA 2 (bullish), red when below (bearish).
Area between EMA 3 & EMA 4 is filled with the same logic, representing longer-term momentum.
Customizable Settings:
All EMA lengths and the price source are user-editable.
Transparent shading helps keep the chart clean while showing trend strength/direction.
📈 Use Case:
This tool helps you visually confirm:
Short-term vs long-term trend alignment
Trend strength and crossover points
Potential support/resistance zones formed by EMAs
Perfect for traders using multi-timeframe moving average confluence strategies or trend-based systems.
Let me know if you want to add:
Alerts when crossovers happen
Background color changes based on trend alignment
Toggle checkboxes for hiding individual EMAs or fills
This TradingView indicator plots four Exponential Moving Averages (EMAs) and uses shaded fill areas to visually highlight bullish or bearish crossovers between two EMA pairs.
🔍 Key Features:
4 EMAs plotted:
EMA 1 (default 14) — Fast
EMA 2 (default 50) — Slow
EMA 3 (default 100) — Medium-Term
EMA 4 (default 200) — Long-Term
Shaded Fill Areas:
Area between EMA 1 & EMA 2 is filled green when EMA 1 is above EMA 2 (bullish), red when below (bearish).
Area between EMA 3 & EMA 4 is filled with the same logic, representing longer-term momentum.
Customizable Settings:
All EMA lengths and the price source are user-editable.
Transparent shading helps keep the chart clean while showing trend strength/direction.
📈 Use Case:
This tool helps you visually confirm:
Short-term vs long-term trend alignment
Trend strength and crossover points
Potential support/resistance zones formed by EMAs
Perfect for traders using multi-timeframe moving average confluence strategies or trend-based systems.
Let me know if you want to add:
Alerts when crossovers happen
Background color changes based on trend alignment
Toggle checkboxes for hiding individual EMAs or fills
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。