0% found this document useful (0 votes)
146 views5 pages

Moving Average Formula Excel Template

This document provides an example of calculating different types of moving averages - simple, weighted, and exponential - using stock price data over 13 days. It explains the formulas used to calculate each type of moving average and provides a table showing the stock prices and corresponding moving average values on each day. The goal is to predict the stock price on the 13th day using the different moving average methods.

Uploaded by

Viji Sambasivam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
146 views5 pages

Moving Average Formula Excel Template

This document provides an example of calculating different types of moving averages - simple, weighted, and exponential - using stock price data over 13 days. It explains the formulas used to calculate each type of moving average and provides a table showing the stock prices and corresponding moving average values on each day. The goal is to predict the stock price on the 13th day using the different moving average methods.

Uploaded by

Viji Sambasivam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Moving Average Excel Template

Visit: www.educba.com
Email: [email protected]
y to explain the concept of moving average. The stock prices for the last 12 days are as follows:

Periodicity 5

Moving Average is calculated using the formula given below


Simple Moving Average = (A1 + A2 + …… + An) / n

Day Stock Price 5-Day Moving Average


1 30.5 -
2 30.6 -
3 30.35 -
4 29.7 -
5 28.1 24.23
6 29.25 23.75
7 30.25 23.48
8 30.9 23.46
9 31.05 23.70
10 32.15 24.29
11 32 24.87
12 31.5 25.22
13 25.34
Let us take the above example to predict the stock price on the 13 th day using 4- day weighted
moving average such that most recent to last weightages are 0.50, 0.30, 0.15 and 0.05.

W1 0.05
W2 0.15
W3 0.30
W4 0.50

Moving Average is calculated using the formula given below


Weightage Moving Average = (A1*W1 + A2*W2 + …… + An*Wn)

Day Stock Price 4-Day Moving Average


1 30.50 -
2 30.60 -
3 30.35 -
4 29.70 -
5 28.10 30.07
6 29.25 29.04
7 30.25 29.03
8 30.90 29.60
9 31.05 30.32
10 32.15 30.80
11 32.00 31.54
12 31.50 31.85
13 31.73
Let us take the above example to predict the stock price on the 13 th day using a 4-day exponential moving average.

Periodicity 5
Multiplying Factor 0.33

Moving Average is calculated using the formula given below


Exponential Moving Average = (C – P) * 2 / (n + 1) + P

Day Stock Price 4-Day Moving Average


1 30.50 -
2 30.60 -
3 30.35 -
4 29.70 -
5 28.10 26.05
6 29.25 26.74
7 30.25 27.57
8 30.90 28.47
9 31.05 29.28
10 32.15 29.87
11 32.00 30.63
12 31.50 31.09
13 31.22
ential moving average.

You might also like