Moving Average is a simple average of the closing stock prices for selected time period.Moving Average “smooth” price data by creating a single flowing line. The line represents the average price over a period of time. Here we have used an average of 21 days.