HomeNewsBusinessMarketsTechnical Classroom: How to use simple moving average as an investment strategy?

Technical Classroom: How to use simple moving average as an investment strategy?

Shabbir Kayyumi of Narnolia Financial Advisors said moving averages is a strong indicator used in technical analysis

September 16, 2018 / 10:26 IST
Story continues below Advertisement
Representative image
Representative image

Shabbir Kayyumi Narnolia Financial Advisors

Moving averages is a strong indicator used in technical analysis. It is frequently used as a one of the popular indicators to determine the trend of underlying financial instrument. The 200-day simple moving average is considered a key indicator even by long term investors.

What is a moving average? The simplest form of a moving average, appropriately known as a simple moving average (SMA), is calculated by taking the arithmetic mean of a given set of values.

Moving averages are always represented on the price chart. Moving averages can be built for any period of time, whether 5 minutes, 1 minutes (on an intraday chart), days, weeks or months.

Story continues below Advertisement

Construction of simple moving average Simple moving average (SMA) is a moving average which is calculated by adding the closing price of security prices for the last n-periods and dividing it by the total number of time periods. SMA is a technical indicator that is represented by a line and it is directly plotted on the security price. As per the choice of the trader, the periods can be changed in the SMA indicator.

Example: Calculation of 5 day SMA for the Nifty 1) Sum total=Add the last 5 days closing price of the security
2) 5 day SMA= Divide sum total by the n period (n=5 in this example)

Calculation for 5 day SMA:
(C5+C4+C3+C2+C2+C1)/5; Where C=closing price of a scrip
C5= Closing prices 5 days ago.

If a trader wishes to see a 20-day average instead, the same type of calculation would be made, but it would include the prices over the past 20 days. 5 day simple moving average calculation for the Nifty

Different types of SMA In general, moving averages are constructed from closing data of stocks, but may be constructed from the following price data sessions:

1. Moving averages from closing prices: For its construction, chart is prepared by taken only the closing prices of the session whether daily, weekly, monthly, etc.

2. Moving averages from high prices: Taking into account the high prices of each session for its construction. Different types of simple moving averages (Nifty)