The first technical indicator used in trading was the simple moving average (MAV). It is still one of the most popular. An MAV shows the average value of a security's price over a period of time. For example, the 20-day MAV would normally be calculated by adding up the prices from the past 20 days and dividing them by 20. Since prices are constantly changing, this MAV will also change (or "move"). Each day, the price for the newest day (or period) is added and the price for the oldest day (or period) is dropped in the calculation. Usually the closing - or last - price is used to calculate the moving average.
MAVs are lagging indicators. They are used to emphasise the direction of a trend and to smooth out price and volume fluctuations ("noise") that can confuse interpretation. The most commonly used moving averages are the 20, 30, 50, 100, and 200 day.