OPEN-SOURCE SCRIPT
EMA Ribbon [Proozac]

A 5-period EMA ribbon designed for fast visual trend identification, with end-of-line labels so each moving average is instantly recognizable without hovering over the chart.
How it works
Plots five exponential moving averages (9, 15, 30, 65, 200 by default) color-coded for quick reference. When all 5 EMAs align in perfect ascending or descending order, the chart background shades green or red to confirm a clean trend structure — the same "ribbon alignment" signal experienced traders use to filter entries.
Cyan — EMA 9 (fastest)
Orange — EMA 15
Green — EMA 30
Yellow — EMA 65
White — EMA 200 (slowest)
Right-edge labels
Each EMA line has a label pinned to the current price level on the right edge of the chart, color-matched to its line. Labels move dynamically with both horizontal scroll and vertical price scaling, so you always know which line is which at a glance.
Crossover signals
Triangle markers flag crossovers between the fast (EMA 9) and mid (EMA 30) average — the most relevant short-term trend shift in the ribbon.
Background shading
🟢 Green tint — all 5 EMAs in bullish order (9 > 15 > 30 > 65 > 200)
🔴 Red tint — all 5 EMAs in bearish order (9 < 15 < 30 < 65 < 200)
Configurable parameters
All 5 EMA periods individually adjustable
Fully customizable colors
Toggle right-edge labels on/off
Alerts for EMA 9/30 crossovers and full ribbon alignment
Recommended use
Built for intraday trend-following setups on indices and futures, particularly effective alongside VWAP and volume-based confirmation tools.
How it works
Plots five exponential moving averages (9, 15, 30, 65, 200 by default) color-coded for quick reference. When all 5 EMAs align in perfect ascending or descending order, the chart background shades green or red to confirm a clean trend structure — the same "ribbon alignment" signal experienced traders use to filter entries.
Cyan — EMA 9 (fastest)
Orange — EMA 15
Green — EMA 30
Yellow — EMA 65
White — EMA 200 (slowest)
Right-edge labels
Each EMA line has a label pinned to the current price level on the right edge of the chart, color-matched to its line. Labels move dynamically with both horizontal scroll and vertical price scaling, so you always know which line is which at a glance.
Crossover signals
Triangle markers flag crossovers between the fast (EMA 9) and mid (EMA 30) average — the most relevant short-term trend shift in the ribbon.
Background shading
🟢 Green tint — all 5 EMAs in bullish order (9 > 15 > 30 > 65 > 200)
🔴 Red tint — all 5 EMAs in bearish order (9 < 15 < 30 < 65 < 200)
Configurable parameters
All 5 EMA periods individually adjustable
Fully customizable colors
Toggle right-edge labels on/off
Alerts for EMA 9/30 crossovers and full ribbon alignment
Recommended use
Built for intraday trend-following setups on indices and futures, particularly effective alongside VWAP and volume-based confirmation tools.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。