OPEN-SOURCE SCRIPT

EMA 20–55 + SMMA50 (20↔55 Band, Alerts, Color Controls)

205
This script plots a customizable EMA ribbon and a smoothed moving average (SMMA).

Key features:

EMA 20 (blue) and EMA 55 (yellow) highlighted with a green/red background ribbon depending on trend.

Optional middle EMAs (25, 30, 35, 40, 45, 50) can be shown or hidden.

SMMA (50) plotted in white as a trend smoother.

Customizable line colors, band colors, and transparency.

Alerts for EMA20/EMA55 bullish or bearish crossovers.

Optional candle bar coloring based on trend.

This is useful for quickly spotting medium-term trend shifts when EMA20 crosses EMA55, while still tracking the broader EMA ribbon context.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.