How do you find Simple Moving Average (SMA)?
Simple moving average is a simple or arithmetic moving average that is calculated by adding all the closing prices for a number of time periods and then dividing it by the total number of periods. Learn how to calculate simple moving average in this tutorial.
Formula :
SMA = (Pm + Pm-1 + .......Pm-(n-1)) / n
Where,
(Pm, Pm-1,......, Pm-(n-1)) - Closing Prices of m Periods
n - Total Number of Items.
Step 1 :Consider the closing prices of 5 items as 10, 15, 20, 25, and 30 for 5 days. What is the SMA?
Given,
Closing Prices (P1, P2, P3, P4, P5) = 10, 15, 20, 25,30
n = 5
m = 5
Step 2 :Applying the values in the formula,
Simple / Arithmetic Moving average = (10 + 15 + 20 + 25 + 30) / 5
= 100 / 5
= 20
Calculate SMA online using Simple moving average calculator