What is Exponentially Smoothed Moving Average?
Based on Simple Moving Average, Exponentially Smoothed Moving Average is an exponentially weighted (as opposed to linearly weighted) moving average that assigns greater weight to the more recent action.
For the first value:
For all other values after the first:
Where Ct is the close price on day t and w is the weighting factor between 0 and 1.