Exponential Moving Average
The Exponential Moving Average (EMA) is a popular alternative to the SMA. This method uses exponentially decreasing weights. The weights for points in the past decrease exponentially but never reach zero. We will learn about the exp()
and linspace()
functions while calculating the weights.