OPEN-SOURCE SCRIPT

CakeProfits-SMA+EMA G

69
This indicator plots a dynamic color coded MA 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.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.