Finally the red line is the Exponential Moving Average (EMA).
In this image, the EMA is being measured over a 20 day period.
Using the formula above to calculate the smoothing factor, this leaves us with2/21 ~ .095.
To give a feel of the smoothing factor,
I’ve also included another graph which takes place over a 60 day period: