Hi PaigeMiller,
I got the definition of EMA in the link below. Should it be match with the concept of EWMA.
If so, is the parameter 0.3 in the below formula is [2: (N observation+1)] as in the investopedia link?
convert y = EWMA / transout=(ewma 0.3);
https://www.investopedia.com/terms/e/ema.asp#:~:text=Finally%2C%20the%20following%20formula%20is,)%20x%20(1%2Dmultiplier)
Next, you must calculate the multiplier for smoothing (weighting) the EMA, which typically follows the formula: [2 ÷ (number of observations + 1)]. For a 20-day moving average, the multiplier would be [2/(20+1)]= 0.0952.
Finally, the following formula is used to calculate the current EMA:
EMA = Closing price x multiplier + EMA (previous day) x (1-multiplier)
... View more