Construction
Simple moving averages (SMA) and exponential ones (EMA) have a different construction given by the purely mathematical calculation that differentiates them.
The construction of the SMA happens in this way:
SMA = (Today’s closing price + Yesterday’s closing price + no. Closing prices taking past data) / number of observations
Assuming today’s closing price of $ 51 and yesterday’s closing price of $ 50, we can calculate the SMA
SMA = (51 + 50) / 2 = 50,5 $
EMAs attribute more influence to recent numbers and less influence to older data, due to a weighting variable in the calculation. This makes them more sensitive to price fluctuations and also ends up making the line uniform.
Exponential Moving Averages (EMA) need the following data:
- Today’s closing price (let’s assume $ 51)
- Yesterday’s closing price (let’s assume $ 50)
- n = Period observed (let’s assume 2 sessions)
- K = exponential multiplier
The multiplying factor K will be equal to : K = 2/ (1 + n ) = 2 / (1 + 2) = 0,667
Calculate EMA2 = (Today’s price x multiplier) + [Yesterday’s EMA x (1 – multiplier)]
EMA2 = (51 x 0,667) + (50 x 0,333) = 34,17 + 16,65
EMA2 = $ 50,667
We can see right away that the EMAs are closer to current prices than the SMAs. By increasing the number of observations, this difference is sometimes very large.
Length and time
The length of the moving average depends on the trader’s time horizon and on the analytical objectives derived from the graphical studies.
Short moving averages (5-20 periods) are best suited for short term trends and trading.
Traders interested in medium-term trends use longer moving averages which could extend 20-60 periods.
Long-term investors will prefer 100-period moving averages with a particular focus on 200-period moving averages.
Alcune medie mobili semplici (SMA) sono abbastanza popolari, tra cui la 20, la 50 e la 200 periodi, spesso utilizzate per gli studi grafici anche contemporaneamente.
For the EMAs, it is appropriate to refer to the Fibonacci sequence which sees 8, 13, 21, 34, 55, 89, 144 and 233 as frequently used values.
The use of the SMA or EMA depends on one’s trading method and style, therefore it is not unusual to see the same chart studied with one instrument rather than another. The trader uses the method most congenial to him.

The three most used moving averages represented on the same chart: SMA20, SMA50, SMA200