OPEN-SOURCE SCRIPT

EMA 20/25/50/150

59
//version=6
indicator(title="EMA 20/25/50/150", overlay=true)

shorter = ta.ema(close, 20)
short = ta.ema(close, 25)
longer = ta.ema(close, 50)
longest = ta.ema(close, 150)

plot(shorter, color = color.red)
plot(short, color = color.yellow)
plot(longer, color = color.orange)
plot(longest, color = color.blue)

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.