PROTECTED SOURCE SCRIPT

CakeProfits-SMA+EMA G

20
SMA & EMA Cross Ribbon V6

This indicator plots a dynamic color coded ribbon that visually highlights the relationship between a Simple Moving Average (SMA) and an Exponential Moving Average (EMA). The ribbon changes color based on bullish or bearish crossovers:

Bullish – EMA crosses above the SMA, indicating upward momentum.

Bearish – EMA crosses below the SMA, signaling potential downward pressure.

The SMA smooths out long-term price trends, while the EMA responds faster to recent price action. Together, they help traders identify shifts in market direction and momentum strength. The ribbon provides a clear, at-a-glance view of trend changes and can be used on any timeframe or market.
There is also the option to display a 200 SMA that is also color coded.

Common Uses:

Confirming trend direction.

Identifying early entry/exit points.

Filtering trades for trend-following strategies.

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.