Exponential Moving Average
Moving average that weights recent bars more.
indicator("Exponential Moving Average", shorttitle="EMA", overlay=true)
len = input.int(20, "Length", minval=1, maxval=5000)
src = input.source(close, "Source")
plot(ta.ema(src, len), "EMA", linewidth=2)