OPEN-SOURCE SCRIPT

EMAs 20/50/200 with Trend Coloring

175
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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.