**Moving averages** are a common way for technical traders to begin the process of price analysis. It is often one of the first indicators that traders will add to their charts and will serve as a measure on its own or in comparison with other indicators. Moving averages are very useful at all time frames, so it doesn’t matter if you prefer scalping, day trading, swing trading or long term speculating – they will always be helpful. **MA** is a simple technical analysis tool that smooths out price data by creating a constantly updated average price. Because of it, it forms a trend following indicator. Traders can add just one **moving average** or have many different time frames on one chart. How does the **moving average method in technical analysis** work? What are the types of **moving averages in technical analysis**? How to use them in Forex, stock or commodity markets? Let’s find out below:

## Moving Average in technical analysis – definition

In statistics, a **moving average** is a calculation used to analyze data points by creating a series of averages of different subsets of the full data set. In finance, a moving average (MA) is a stock indicator that is commonly used in technical analysis. The reason for 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.

That said, **moving average** is a simple, technical analysis tool. MAs are usually 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 time period for the moving average, the greater the lag. So, 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. The 50-day and 200-day moving average figures for stocks are widely followed by investors and traders and are considered to be important trading signals.

**Moving averages** are a totally customizable indicator, which means that an investor can freely choose whatever time frame they want when calculating an average. The most common time periods used in moving averages are 15, 20, 30, 50, 100, and 200 days. The shorter the time span used to create the average, the more sensitive it will be to price changes. The longer the time span, the less sensitive the average will be. Investors may choose different time 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.

## Technical analysis with moving average

Aw we have already explained the **moving average meaning**, let’s move on to the **technical analysis with MA**. There is no correct time frame to use when setting up your moving averages. The best way to figure out which one works best for you is to experiment with a number of different time periods until you find one that fits your strategy. Predicting trends in the stock market is not a simple process. While it is impossible to predict the future movement of a specific stock, using technical analysis and research can help you 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 confirmed with a bearish crossover, which occurs when a short-term moving average crosses below a longer-term moving average. While calculating moving averages are useful in their own right, the calculation can also form the basis for other technical analysis indicators.

## Types of moving averages in technical analysis

The simplest form of a **moving average** is known as a **Simple Moving Average (SMA)**. It is calculated by taking the arithmetic mean of a given set of values. In other words, a set of numbers (or prices in the case of financial instruments) are added together and then divided by the number of prices in the set. The **formula for calculating the simple moving average** of a security is as follows:

**SMA = (A1 + A2 + An) / n, when:**

A = Average in period n

n = Number of time periods

The second very popular form of a moving average is known as an **Exponential Moving Average (EMA)**. It gives more weight to recent prices in an attempt to make it more responsive to new information. To calculate an EMA, you must first compute the simple moving average (SMA) over a particular time period. Next, you must calculate the multiplier for weighting the EMA (referred to as the “smoothing factor”), which typically follows the formula: [2 / (selected time period + 1)]. So, for a 20-day moving average, the multiplier would be [2 / (20+1)] = 0.0952. Then you use the smoothing factor combined with the previous EMA to arrive at the current value. The EMA thus gives a higher weighting to recent prices, while the SMA assigns equal weighting to all values. So, the **Exponential Moving Average formula** is a bit complicated:

**EMAX = [V * (2 / (selected time period + 1)) + EMAX-1 * (1 – (selected time period + 1))], when**

V = current value

## Simple Moving Average vs Exponential Moving Average

As we have already explained how to use **moving averages in technical analysis**, let’s move on to the question which type of the MA is better in trading. The calculation for EMA puts more emphasis on the recent data points. Because of this, EMA is considered a weighted average calculation. In consequence, the EMA responds more quickly to the changing prices than the SMA. So, when the price is rising, the EMA has a higher value than the SMA, but the Exponential Moving Average also falls faster than the SMA when the price is declining. This responsiveness to price changes is the main reason why many traders prefer to use the EMA over the SMA.

## Disadvantages of using moving average

**Moving averages** are calculated based on historical data, and nothing about the calculation is predictive in nature. Therefore, results using moving averages can be random. At times, the market seems to respect **MA support/resistance** and trade signals, and at other times, it shows these indicators no respect. One major problem is that, if the price action becomes choppy, the price may swing back and forth, generating multiple trend reversal or trade signals. When this occurs, it’s best to step aside or utilize another indicator to help clarify the trend. The same thing can occur with MA crossovers when the MAs get tangled up for a period of time, triggering multiple losing trades.

**Moving averages** usually work well in strong trending conditions but poorly in choppy or ranging conditions. Adjusting the time frame can remedy this problem temporarily, although at some point, these issues are likely to occur regardless of the time frame chosen for the **moving average**.