OPEN-SOURCE SCRIPT

EMAs 20/50/200 with Trend Coloring

274
It calculates EMA 20, 50, and 200.

For each EMA, it compares the current value with the previous bar (ema > ema[1]).

If rising → green, if falling → red.

All three EMAs are plotted with different colors dynamically changing by slope.

Clause de non-responsabilité

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