ema function

Add Exponentially-Weighted Moving Average (EMA) to the chart