OPEN-SOURCE SCRIPT
EMA 9/20 Ribbon

A simple visual indicator that turns the 9 EMA and 20 EMA relationship into an easy-to-read ribbon, helping traders see short-term momentum and directional changes at a glance.
The ribbon changes color based on the relationship between the two EMAs:
- 🟢 Fluorescent Green — EMA 9 is above EMA 20, indicating bullish short-term momentum.
- 🔴 Fluorescent Red — EMA 9 is below EMA 20, indicating bearish short-term momentum.
Rather than adding more lines to an already busy chart, the ribbon makes the fast EMA structure visually clear while leaving price action easy to read.
How I use it
I primarily use the ribbon to observe how the fast EMA structure interacts with slower EMAs, support/resistance, and other important price levels.
For example, traders can watch for the ribbon:
- approaching a key level
- compressing around a level
- crossing through a slower EMA
- establishing itself on the other side
- being rejected and reversing direction
The indicator itself does not generate buy or sell signals. It is intended as a visual tool for reading short-term market structure and should be combined with your own price-action, risk-management, and trading framework.
Default settings: EMA 9 / EMA 20
Works on: Any market and timeframe
Style: Fluorescent green/red momentum ribbon
The ribbon changes color based on the relationship between the two EMAs:
- 🟢 Fluorescent Green — EMA 9 is above EMA 20, indicating bullish short-term momentum.
- 🔴 Fluorescent Red — EMA 9 is below EMA 20, indicating bearish short-term momentum.
Rather than adding more lines to an already busy chart, the ribbon makes the fast EMA structure visually clear while leaving price action easy to read.
How I use it
I primarily use the ribbon to observe how the fast EMA structure interacts with slower EMAs, support/resistance, and other important price levels.
For example, traders can watch for the ribbon:
- approaching a key level
- compressing around a level
- crossing through a slower EMA
- establishing itself on the other side
- being rejected and reversing direction
The indicator itself does not generate buy or sell signals. It is intended as a visual tool for reading short-term market structure and should be combined with your own price-action, risk-management, and trading framework.
Default settings: EMA 9 / EMA 20
Works on: Any market and timeframe
Style: Fluorescent green/red momentum ribbon
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。