Home » Moving Average (MA): Purpose, Uses, Formula, and Examples

Moving Average (MA): Purpose, Uses, Formula, and Examples

« Back to Glossary Index

Moving averages is an effective technical indicator that connects price averages over different periods. It points out a possible trend’s direction.

What Is a Moving Average (MA)?

In finance, a moving average (MA) is a stock indicator commonly used in technical analysis. Calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price.

By calculating the moving average, the impacts of random, short-term fluctuations on the price of a stock over a specified time frame are mitigated. Simple moving averages (SMAs) use a simple arithmetic average of prices over some timespan, while exponential moving averages (EMAs) place greater weight on more recent prices than older ones over the period.

Understanding a Moving Average (MA)

Moving averages are calculated to identify the trend direction of a stock or to determine its support and resistance levels. It is a trend-following or lagging, indicator because it is based on past prices.

The longer the period for the moving average, the greater the lag. A 200-day moving average will have a much greater degree of lag than a 20-day MA because it contains prices for the past 200 days. 50-day and 200-day moving average figures are widely followed by investors and traders and are considered to be important trading signals.

Investors may choose different periods of varying lengths to calculate moving averages based on their trading objectives. Shorter moving averages are typically used for short-term trading, while longer-term moving averages are more suited for long-term investors.

While it is impossible to predict a specific stock’s future movement, technical analysis, and research can help make better predictions. A rising moving average indicates that the security is in an uptrend, while a declining moving average indicates that it is in a downtrend.

Similarly, upward momentum is confirmed with a bullish crossover, which occurs when a short-term moving average crosses above a longer-term moving average. Conversely, downward momentum is secured with a bearish crossover, which occurs when a short-term moving average crosses below a longer-term moving average.1

Types of Moving Averages

Simple Moving Average

A simple moving average (SMA), is calculated by taking the arithmetic mean of a given set of values over a specified period. A set of numbers, or prices of stocks, are added together and then divided by the number of prices in the set. The formula for calculating the simple moving average of security is as follows:

SMA= n A 1 ​ +A 2 ​ +…+ n

Trade on the Go. Anywhere, Anytime

One of the world's largest forex brokers is ready for you. Enjoy competitive fees and dedicated customer support while trading securely. You'll also have access to their tools that make it easier than ever to view your trade history, copy trades, manage investments from other traders, view price charts, and make conversions with zero fees. Make an account for free and join millions of traders and investors on the global forex market.