What is moving average indicator and how to trade with it?

What is a moving average?

A Moving Average (MA) is a trend-following forex trading indicator, widely used in technical analysis to determine the current trend of the market. The biggest reason behind its popularity is its simplicity of use. The method of its signal demonstration is so easy that traders with any level of experience can read it. Currently, there are numerous trading indicators, systems, and Expert Advisors (EAs) which are built based on moving averages.

How to set up a moving average on the TradingView chart?

  1. Click on the ‘Indicator & Strategies’ icon and find the Indicator lists:

How to set up a moving average on the TradingView chart? 1

  1. Select your favorite style of moving average from the indicator list: Select your favorite style of moving average from the indicator list
  2. Click on the ‘settings’ button of the indicator and find the setup table. Select the length of the moving average and the method of calculation. Once you’re done, click on the ‘OK’ button: How to set up a moving average on the TradingView chart? 3
  3. After setup is done, your chart will appear like the following image: How to set up a moving average on the TradingView chart? 4


A Moving Average (MA) can be interpreted in multiple ways:

Single Moving Average

Single Moving Average

A single moving average can be used alone in order to define the possible direction of the market trends. Price intercepts and stays above the MA line signals the bullish trend and if intercepts and stays below the SMA line then signals the bearish trend of the market.



MA crossovers are plotted by adding two or more MAs with different parameters in a single chart. If a smaller period MA crosses the longer period MA from down to upwards, it signals the bullish crossover confirming the bullish trend of the market. On the other hand, smaller period MA crosses over the longer period MA from up to downwards represents the bearish crossover thus expresses the validity of the bearish trend of the market.

Dynamic Support or Resistance

It is often observed that Moving Average lines work as dynamic support and resistance in collaboration with price actions. Therefore, its level indicates the stop-level for the current market trend and can also be treated as trailing stops for any open trade position. Experts advise using the MA levels as dynamic support or resistance only in a trendy market.

Dynamic Support or Resistance

This is an hourly USD/JPY (US Dollar vs Japanese Yen) chart. We’ve applied a 50-day Exponential Moving Average (EMA) here as a trend indicator. Initially, the price went above the EMA level giving the bullish trend of USD/JPY. After the confirmation of the bullish trend, price returned to the EMA level several times but used it as a support level bounced back to rejoin the bullish rally.

The Difference Between SMA and EMA

Simple Moving Average (SMA) and Exponential Moving Average (EMA) are the most popular formats of moving averages among the technical traders. Both are used commonly for identifying market trends and are also interpreted in the same way. However, there are significant differences between these two in terms of the calculation methods.

SMA equally averages the price data over the selected period of time. On the other hand, EMA weights more on the recent price data. Thus, it reacts more to the latest changes in price action than the SMA does. This is why SMA lags more than EMA. However, a simple moving average represents a true average of prices for the selected period of time and provides better confirmation of market trends.

The Difference Between SMA and EMA

The chart above shows USD/JPY with the 50-day SMA in blue and the 50-day EMA in red. Both moved downwards along with the price during August, but the decline in the EMA was sharper than the decline in the SMA. The EMA turned up in mid-September, but the SMA continued to remain lower until mid-October.

Trade examples

Single MA buy setup:

Price getting closer to the MA means it’s time to look for trend signals. For buy setup, first, you need to be confirmed about the status of the current market trend. In such a case, the price must hold its position above the MA level. Price using the MA level as support and moving up represents a greater confirmation of the bullish trend.

Single MA buy setup

The image above represents an hourly chart of Gold against USD with a 100-day simple moving average, showing how to spot buy opportunities to use a single moving average. Initially, price broke above the 100-MA and managed to plot a couple of bullish price candles right above the MA level. According to the moving average rules, it is a bullish trend signal for Gold and a buy can be triggered at the break of the respective bullish bar’s high above the MA line. The stop loss should be set below the MA level. You may decide to take profit once price hits the potential resistance levels.

Single MA sell setup:

Single MA sell setup

This is an hourly GBP/USD chart with a 50-day Exponential Moving Average (EMA). For sell setups, there should be at least one bearish candle closed below the EMA line that confirms the bearish trend of the market. You may trigger a sell at the break of the respective bearish candle’s low with stop loss limit above the EMA level. For profit taking or exiting the sell entry, wait until the price hits the nearest support level.

Crossover buy setup:

Crossover buy setup

This is an hourly AUD/USD chart with 9 and 21-day Exponential Moving Average (EMA). When 9 EMA moves above 20 EMA means the bullish crossover signal of the market trend which represents buy opportunities as well. When 9 EMA moves below 20 EMA means it is time to take profit and exit the buy entry.

Crossover sell setup:

Crossover sell setup

For bearish crossovers, 9 EMA should be moved below the 20 EMA. Sell triggers right after the confirmation of bearish crossover with stop loss above the EMA levels. Take profit or exit the sell entry once the EMAs give a bullish crossover signal.


Moving average keeps traders in line with the direction of the market trends. It can be applied to trade all kinds of financial instruments including, currency pairs, CFDs, stocks. Moreover, it suits well with all sorts of timeframe charts and can be customized easily according to trading styles. From scalpers to long-term traders, anybody can be benefited from using moving averages as reliable trend definers.

Leave a Comment