Moving average trading strategy – How to use moving averages effectively

Marc Aucamp

CONTENT WRITER

25 Aug 2025 - 18min Read

Share this article on social

Moving averages are among some of the more popular technical analysis indicators due to their simplicity. They work by smoothing out short-term price fluctuations, helping traders cut through the noise and focus on the bigger picture: the trend.

Regardless of the market you might be trading in – forex, indices, commodities, or stocks – moving averages could offer valuable insight into market direction and potential entry and exit points.

Throughout this article, we’ll break down how moving averages work, the key types you’ll encounter, and how to apply them to your trading. We’ll also cover various strategies you could incorporate into your trading arsenal.

Related Articles

TRADING STRATEGIES

What is price action trading? — A complete trading guide

TRADING STRATEGIES

TRADING STRATEGIES

Risk management in trading

Key takeaways

  • Moving averages (MAs) smooth out price data to help traders identify market trends, acting as dynamic support in uptrends and resistance in downtrends.
  • Simple, exponential, and weighted moving averages calculate price data differently. SMA treats all periods equally, EMA emphasises recent prices, and WMA applies linear weights.
  • Popular MA periods include the 10-, 20-, 50-, and 200-day settings, which are used to gauge short-, medium-, and long-term trends across different market timeframes.
  • Trend strategies using MAs include trading pullbacks in trending markets, as well as crossover signals like the golden cross (bullish) and death cross (bearish).
  • Envelope and ribbon strategies enhance traditional MAs by adding filters or multiple MAs to visualise trend strength, filter signals, and reduce noise in volatile markets.
  • MACD, built from EMAs, is often combined with longer MAs to confirm momentum and trend alignment, using its signal line and histogram to refine trading entries.

What is a moving average in trading?

A moving average (MA) is a widely used technical analysis indicator that helps traders identify the direction of a market trend or reversal. It works by adding up the price data of a financial instrument over a specific period and dividing it by the number of data points to calculate an average that helps to smooth out short-term price fluctuations, allowing traders to better interpret overall market direction.

This could be done in any market they decide to trade, whether that's forex, indices, commodities, or stocks

The “moving” part refers to the fact that the average is constantly recalculated using the most recent price data. Because the data is based on historical prices, the MA is considered a lagging indicator - it follows the price action rather than predicting it.

Traders often rely on MAs to evaluate key support and resistance levels, depending on whether an instrument is trending up or down.

In uptrends, the moving average can act as a dynamic support level – a base where prices tend to stabilise. During downtrends, it may function as a resistance level, capping upward price movements. This could make MAs particularly useful in spotting potential trend continuation or reversal zones.

Common settings like the 20-day, 50-day, and/or 200-day moving averages are frequently used to help assess the broader market trends. Whether using a simple moving average (SMA) or an exponential moving average (EMA), traders apply these tools to reduce market noise and assist in better understanding price behaviour across any timeframe.

How are moving averages calculated?

Averaging historical prices over a specified period reveals the general direction of an instrument’s movement - whether it’s rising, falling, or ranging. MAs can be applied over short or long timeframes, making them a flexible tool for analysing market trends.

The simple moving average (SMA) is the most basic type. It’s calculated by summing a set of prices and dividing the total by the number of periods. For example, to calculate a five-day SMA using closing prices of 1.9, 1.5, 1.4, 1.2, and 1.8, you’d get:

(1.9 + 1.5 + 1.4 + 1.2 + 1.8) / 5 = 1.56.

To update the SMA, drop the oldest price and include the latest closing price.

Each price in an SMA is equally weighted. This creates a smooth line that filters out noise but may lag behind sudden price movements.

The exponential moving average (EMA) addresses that lag by giving more weight to recent prices, making it quicker to react to market changes. Its calculation involves three steps:

Because the EMA responds faster, it’s often preferred in volatile or fast-moving markets, but this also means it could generate more false signals.

The weighted moving average (WMA) also emphasises recent prices, but in a linear fashion. The most recent data point has the highest weight, and each prior value gets progressively less.

While both EMA and WMA aim to be more responsive than the SMA, the WMA could give you more control over how influence is distributed. However, its sensitivity could make it prone to more noise in volatile markets.

Types of moving averages traders use

We looked at how to calculate three popular moving averages, but now we’ll take a closer look at each of those in more detail:

Simple moving average (SMA)

The simple moving average (SMA) is a popular indicator known for its simplicity and ability to smooth out price action. One key feature of the SMA is that it gives equal weight to all price points within the selected period. For example, in a 10-day SMA, each day’s closing price contributes equally to the final value.

The SMA is considered a lagging indicator because it relies on historical data. It responds to price changes only after they occur, which slows its ability to reflect possible market reversals. However, this also helps reduce the chances of false signals, making it somewhat more reliable for confirming established trends.

The SMA’s smoothing effect helps filter out short-term price noise, allowing traders to focus on the broader market direction. It generally works well in trending markets, where it could help identify whether an asset is in an uptrend or a downtrend. Common SMA settings include the 10, 20, 50, and 200-period, which we’ll cover in more detail later in the article.

Shorter SMAs are more responsive, while longer ones provide a clearer view of long-term trends.

In practice, SMAs could act as dynamic support or resistance levels either in trending markets or when reversals occur and as possible entry and exit points. In a later section, we’ll examine the different ways a trader could use moving averages in their trading.

Exponential moving average (EMA)

The exponential moving average is another variation of the moving average indicator that places greater emphasis on recent data. This weighting makes the EMA more responsive to short-term market movements compared to the simple moving average (SMA), which places equal importance on all data points.

The EMA is better positioned to reflect current market sentiment by prioritising newer prices through a smoothing factor.

Its increased responsiveness could allow traders to identify trend changes and momentum shifts quicker. However, this sensitivity also means the EMA is more likely to generate false signals during ranging or volatile market conditions.

Despite that risk, many traders still prefer the EMA for its ability to highlight emerging trends while still offering a broader view of price direction.

Like the SMA, the EMA has common settings, including the 10, 20, 50, and 200 periods. Shorter EMA periods are often used in fast-paced markets to assist when looking for quicker signals, while longer EMA periods could help confirm longer trends. Like the SMA, the EMA could also be used as dynamic support and resistance in trending markets or when reversals occur and as potential entry or exit points.

Weighted moving average (WMA)

Another type of moving average, the weighted moving average (WMA), assigns different weights to each price point within the selected period, placing greater importance on more recent data. 

Unlike the SMA, which treats all prices equally, or the EMA, which uses a smoothing factor, the WMA applies a linear weighting system. This means the most recent price received the highest weight, with each earlier price receiving progressively less.

This structure makes the WMA more responsive than the SMA and, in some cases, even more reactive than the EMA. Because of its sensitivity, the WMA could especially be useful in fast-moving markets where quick decision-making is essential. It could help traders spot short-term and potential reversals with increased precision.

That said, the WMA’s quick reaction to price changes could also lead to more false signals in sideways or volatile markets. In such conditions, its responsiveness may work against traders by amplifying market noise.

Traders typically apply WMAs over 10, 20, or 50 periods, depending on their trading style. Shorter WMAs could be used in momentum-based strategies, while longer WMAs could help confirm trend direction.

Like other moving averages, traders could also use the WMA as dynamic support and resistance levels to help identify potential turning points or trends, as well as for possible entry and exit points.

The markets are moving.

Start trading now.

Create an accountarrow-icon

What are the most common moving average periods?

Traders could use different moving average periods to spot trends over various timeframes. Depending on the number of days selected for the average, each timeframe offers insight into the market’s short-, medium-, or long-term direction.

  • Long-term trend: The 200-day moving average is commonly used to assess long-term market direction. It roughly reflects the number of trading days in a year and helps traders identify the broader trend.
  • Medium-term trend: The 50-day moving average represents approximately two months of trading. It’s often used to track intermediate movements within a longer trend.
  • Short-term trend: A 10-day or 20-day moving average is typically applied to gauge short-term price action. These periods capture around two to four weeks of trading activity, offering a closer view of immediate market shifts.

By applying these standard timeframes, traders could assess market momentum across multiple timeframes and align their strategies accordingly.

How to trade using moving averages

Now that we have a better understanding of moving average dynamics, it’s time to look at the various strategies traders could use with this indicator.

Trend trading strategy

The trend trading strategy is typically used with either of the three moving averages – simple moving average (SMA), exponential moving average (EMA), or weighted moving average (WMA) - mentioned in the previous section.

But that’s not all. The number of moving averages traders apply to their charts could also differ. Some might prefer to use only one period moving average, such as the 20-day or 50-day MA, while others might prefer to use two or three, the 20, 50, and/or 200-day MA, for example.

Now, when a market is trending upwards, it’s generally categorised by the price of an instrument making consecutive higher highs and higher lows. The moving average/s will then move below the price, acting as a support level. 

Conversely, when the market is in a downtrend, it makes consecutive lower highs and lower lows, and the MA will move above the price, acting as a resistance level.

When traders look for possible opportunities, they might do so by looking at those pullbacks (lower highs or higher lows) when the price retraces back towards the MA.

Below are two examples of GBP/USD when we see the price retracing back towards the 50-day MA before moving back up, continuing the uptrend. And EUR/USD retracing back towards the 50-day MA before continuing the downtrend.

Golden cross strategy

The golden cross occurs when the short-term (20-day) MA crosses above the medium or long-term (50-day or 200-day) moving average, signalling a potential reversal towards an uptrend. This shift indicates that current price movement is stronger than the historical trend, often hinting that the market might move into a bullish phase.

Traders generally see this crossover as an opportunity to enter a long (buy) position, expecting the price to move into an uptrend. However, the strength of the movement could vary depending on the timeframes used and the overall market conditions.

Depending on their personal preference, traders could use either the simple moving average (SMA), exponential moving average (EMA), or weighted moving average (WMA) for the golden cross strategy.

Death cross strategy

The death cross is the opposite of the golden cross, where the short-term (20-day) moving average crosses below the medium or long-term (50-day or 200-day) MA, signalling a potential reversal towards a downtrend. Again, this shift indicates that the current price movement is stronger than the historical trend, hinting at a possible bearish market phase.

Traders generally see this crossover as an opportunity to open a short (sell) position, expecting the price to move into a downtrend. However, as with the golden cross, the strength of the movement could depend on the timeframes used and the overall market condition.

The death cross could also be used with either moving averages - simple, exponential, or weighted - depending on a trader’s personal preference.

The envelope strategy

While crossover strategies are widely used, they could be vulnerable in a fast-moving and volatile market, where trends may reverse quickly. The moving average envelope strategy aims to reduce this risk by adding filters – known as envelopes – above and below the central moving average line.

This strategy consists of three components: a central moving average, typically a simple moving average (SMA), and two parallel lines set at a fixed percentage distance above and below it. For example, filters may be placed 1% or 5% away from the MA, depending on the asset and market conditions. These envelopes act as dynamic support and resistance levels, helping traders assess whether a trend has sufficient strength to continue.

Many traders might choose to confirm a bullish movement and an opportunity to open a long (buy) position only if the price breaks out above the upper envelope. Similarly, they might wait for the price to break below the lower envelope to confirm a possible opportunity to open a short (sell) position. This added filter could help avoid premature entries in volatile or indecisive markets.

Unlike the Bollinger Bands indicator, which adjusts based on volatility, moving average envelopes use fixed percentage distances. These could be customised based on historical price movement or adjusted through testing. When the price reaches the upper envelope, it may suggest overbought conditions; a move toward the lower envelope could indicate oversold levels, helping traders make more informed decisions.

Ribbon strategy

The moving average ribbon strategy builds on the envelope concept by using multiple moving averages - typically around five - on a single chart. These lines, often a mix of EMAs or SMAs with varying timeframes, create a ribbon-like appearance that provides a more detailed view of market trend strength and direction.

This approach allows traders to analyse how short-term, medium-term, and long-term averages interact. Shorter-period MAs may react first to emerging trends, while longer-term lines could serve as confirmation or contradiction. 

The alignment and spacing of the lines offer insight into trend quality: a consistent upward sequence from shortest to longest could suggest a strong uptrend, while a descending order could signal a downtrend.

The strategy is highly customisable. Traders could choose the number of lines, the types of moving averages, and the specific timeframes based on their strategy and market focus. Common periods include 10, 20, 30, 50, and 60 days (as seen in the image above), but traders often adjust these according to personal preference.

Crossovers remain an essential signal in ribbon trading, though the number of moving averages could lead to frequent crossovers, which may overwhelm less experienced traders. As the lines converge, diverge, or shift spacing, these changes may signal trend reversals, continuations, or periods of consolidation.

How to use MACD with moving averages

The Moving Average Convergence Divergence (MACD) is a popular momentum oscillator used to identify potential market trends and price movements. Traders often use it to spot possible market entry or exit points.

When placed on a chart, the MACD displays two lines moving across a histogram:

  • The MACD line (typically blue) is calculated by subtracting the 12-period exponential moving average (EMA) from the 26-period EMA. These two EMAs represent different timeframes, with the 12 EMA reflecting short-term momentum and the 26 EMA capturing longer-term trends.
  • The signal line (usually orange) is a 9-period EMA of the MACD line. It helps smooth the MACD values and provides potential trade signals.
  • The histogram serves as a visual representation of market sentiment. It illustrates the difference between the MACD and signal lines. When the MACD line is above the signal line, the histogram usually appears green, indicating bullish sentiment. When the MACD line is below the signal line, the histogram generally turns red, suggesting bearish sentiment.

The height of the histogram bars reflects the strength of market momentum - taller bars could signal stronger momentum in the direction of the prevailing trend.

Some traders interpret a bullish crossover - the MACD line crossing above the signal line with the moving average below the price - as a potential opportunity to open a long (buy) position, while a bearish crossover - the MACD line crossing below the signal line with the MA above the price - as a potential opportunity to open a short (sell) position.

What are the limitations of moving averages in trading

While moving averages are valuable tools for identifying trends, they have several limitations that traders should be aware of:

  • Lagging indicator: Moving averages rely on historical price data, so they respond to market changes after they happen. This delay could result in missed or late entries, especially during sharp reversals.
  • Whipsaw effect in volatile markets: Prices may frequently cross the MA in volatile or sideways conditions, generating false buy/sell signals. This could lead to poor trade entries unless confirmed with other tools.
  • Limited use in trendless markets: When the market lacks a clear direction, MAs tend to flatten, producing conflicting signals that make it difficult to identify reliable trade setups.
  • No consideration for fundamentals: Moving averages don’t account for earnings reports, economic events, or company news. These factors could shift market sentiment independently of price trends.
  • Conflicting trends across time frames: The trend indicated by a 50-day MA may differ from a 200-day MA. The same asset could appear bullish or bearish depending on your chosen time frame.
  • Debate over weighting methods: Some traders argue that recent data should be emphasised (as in EMAs), while others believe equal weighting (as in SMAs) provides a more balanced view. There’s no consensus on which is more effective.
  • No predictive power: Critics argue that technical tools like MAs don’t forecast future prices, since past performance isn’t always a reliable guide for what’s ahead.
  • Poor at capturing cyclical patterns: MAs may smooth out noise in markets that move up and down frequently but fail to reflect shorter-term cyclical behaviours or reversals.

People also asked

/

Rather than a single ‘best’ moving average, CFD traders choose based on what aligns with their strategy - whether it’s short-term momentum or longer-term trend analysis.
Traders typically use 5-, 10-, or 20-period moving averages for short-term strategies. These respond quickly to price changes and are well-suited for capturing short bursts of momentum or quick trend shifts.
The 50-, 100-, and 200-period moving averages are preferred for longer-term trades. These offer a broader view of market direction and help filter out short-term noise, making them useful for identifying sustained trends.

/

Traders use moving averages for various reasons, such as helping identify the prevailing trend, highlighting key support and resistance levels, and generating potential buy or sell signals. By smoothing out price fluctuations, MAs could reduce market noise and make it more convenient to see the underlying direction of the market.
This clarity is especially valuable in fast-moving markets, where real-time decisions are critical, whether short- or long-term. Moving averages could give traders a clearer framework for evaluating price action and planning trades.

/

Both Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) are widely used, but each serves a different purpose depending on the trading strategy.
EMAs are often preferred for short-term trading because they react more quickly to price changes. By giving more weight to recent data, EMAs help traders capture momentum shifts and spot entry points sooner.
SMAs, in contrast, are typically used for long-term trend analysis. Their equal weighting across the time period results in a smoother, more stable line that filters out short-term volatility, making SMAs useful for confirming broader market direction.
Ultimately, the choice depends on the trader’s timeframe and need for responsiveness versus stability.

/

The Volume Weighted Average Price (VWAP) is a trading indicator that shows the average price of a security over a specific period, weighted by trading volume. Unlike simple price averages, VWAP accounts for both price and volume, offering a more accurate reflection of where most trading has occurred.
Traders use VWAP to assess intraday trend direction and identify potential support and resistance levels. It’s beneficial for evaluating whether the current price is trading above or below the day’s average, which could help inform entry and exit decisions.
By combining price and volume, VWAP provides a deeper view of market activity, making it a valuable tool for both institutional and retail traders.

/

The 9 and 21 EMA strategy is a trend-following approach that generates trading signals by using two Exponential Moving Averages - one short-term (9-period) and one medium-term (21-period).
A potential buy signal occurs when the 9 EMA crosses above the 21 EMA, indicating potential upward momentum and the start of an uptrend. Conversely, a potential sell signal is triggered when the 9 EMA crosses below the 21 EMA, suggesting a possible shift into a downtrend.
This crossover method helps traders identify trend direction and momentum shifts more quickly and clearly, particularly in trending markets.

/

The Moving Average Convergence Divergence (MACD) indicator is built using Exponential Moving Averages (EMAs). It measures the difference between a 12-period EMA and a 26-period EMA, which forms the MACD line.
The MACD line is then smoothed using a 9-period EMA, known as the signal line, to generate clearer signals. This setup helps traders identify changes in momentum and potential trend reversals.

Suggested articles

See allarrow-icon
Forex vs stocks — which is right for you?

Gain the edge

Sign up and unlock early
access to exclusive trading
insights and educational tips.

I confirm I am 18 years old or above.

By signing up to hear from us, you agree to our terms and privacy policy.

Please keep me updated on Trade Nation’s sponsorships, news, events and offers.

The markets are moving.

Start trading now.

Get startedarrow-icon

Trade on our
award-winning
platform


en-sc

Payment methods

Trade on

Regulatory bodies

UK - FCA

Australia - ASIC

Seychelles - FSA

Bahamas - SCB

South Africa - FSCA

Customer support

Sponsors of your favourite teams

The legal stuff

Trading CFDs carries a high level of risk to your capital, and you should only trade with money you can afford to lose. Refer to our legal documents.

Trade Nation is a trading name of Trade Nation Financial UK Ltd, a financial services company registered in England & Wales under company number 07073413, is authorised and regulated by the Financial Conduct Authority under firm reference number 525164. Our registered office is 14 Bonhill Street, London, EC2A 4BX, United Kingdom.

Trade Nation is a trading name of Trade Nation Australia Pty Ltd, a financial services company registered in Australia under number ACN 158 065 635, is authorised and regulated by the Australian Securities and Investments Commission (ASIC), with licence number AFSL 422661. Our registered office is Level 17, 123 Pitt Street, Sydney, NSW 2000, Australia.

Trade Nation is a trading name of Trade Nation Ltd., a financial services company registered in the Bahamas under number 203493 B, is authorised and regulated by the Securities Commission of the Bahamas (SCB), with licence number SIA-F216. Our registered office is No. 3 Bayside Executive Park, West Bay Street & Blake Road, Nassau, New Providence, The Bahamas.

Trade Nation is a trading name of Trade Nation Financial Markets Ltd, a financial services company registered in the Seychelles under number 810589-1, is authorised and regulated by the Financial Services Authority of Seychelles (FSA) with licence number SD150. Our registered office is CT House, Office 6B, Providence, Mahe, Seychelles.

Trade Nation is a trading name of Trade Nation Financial (Pty) Ltd, a financial services company registered in South Africa under number 2018 / 418755 / 07, is authorised and regulated by the Financial Sector Conduct Authority (FSCA), with licence number 49846. Our registered office is 19 9th Street, Houghton Estate, Johannesburg, Gauteng, 2198 South Africa. 

The information on this site is not directed at residents of the United States or any particular country outside the UK, Australia, South Africa, The Bahamas or Seychelles and is not intended for distribution to, or use by, any person in any country or jurisdiction where such distribution or use would be contrary to local law or regulation.

© 2019-2025 Trade Nation. All Rights Reserved