Skip to content
On this page
  1. Key Takeaways
  2. What It Is
  3. The Intuition
  4. How It Works
  5. Worked Example
  6. Common Mistakes
  7. Frequently Asked Questions
  8. Sources
  9. Disclaimer
← All concepts
Technical AnalysisAdvanced5 min read

Displaced MA: Shifting the Average for Cleaner Signals

The **displaced moving average** is any moving average that has been shifted forward or backward on the chart by a chosen number of bars. The math of the average does not change; only its alignment with current price changes, which alters how signals from crossovers and support lines play out.

Key Takeaways

  • A displaced moving average shifts a normal MA by N bars, with positive N moving it forward and negative N moving it backward.
  • The Ichimoku Cloud uses displaced moving averages: the senkou spans are plotted 26 periods ahead of price.
  • Investors often forget that forward displacement is purely visual; the underlying values still use only past data.
  • A small forward shift can cut whipsaws on a moving average crossover system in choppy markets.

Key Takeaways

  • A displaced moving average shifts a normal MA by N bars, with positive N moving it forward and negative N moving it backward.
  • The Ichimoku Cloud uses displaced moving averages: the senkou spans are plotted 26 periods ahead of price.
  • Investors often forget that forward displacement is purely visual; the underlying values still use only past data.
  • A small forward shift can cut whipsaws on a moving average crossover system in choppy markets.

What It Is

A standard moving average plots each bar's average value on that same bar. A displaced moving average takes the same calculated series and plots it on a different bar. The shift is set in periods, the same unit as the chart bars.

You can displace any kind of moving average: simple, exponential, weighted, or volume-weighted. The base calculation runs over the prior N periods just as it always does. The chart engine then writes the result either ahead of price (positive shift) or behind it (negative shift).

The Intuition

Plain moving averages have two famous problems: they lag price, and they whipsaw badly in sideways markets. Traders displace MAs to address both, in different ways.

Push the line forward and you get an early visual cue. The line crosses chart structure before price reaches it, giving you a heads-up zone. Push it backward and you can see how the average performed as support or resistance in past bars, which helps tune the period setting. The same tool acts as a forecaster in one direction and a calibrator in the other.

How It Works

For a simple moving average of length N displaced by D bars, the value plotted at bar t is:

DMA(t) = SMA_N(t - D) for D > 0  (shift forward)
DMA(t) = SMA_N(t + D) for D < 0  (shift backward)

A 20-period SMA displaced forward by 10 bars takes today's SMA and plots it 10 bars to the right. From a chart reader's perspective, the line sits ahead of price. From a math perspective, today's plotted point is just the SMA value calculated 10 bars in the past.

Common combinations include a 10-period SMA shifted forward by 5 bars for short-term trading, a 20-period SMA shifted forward by 10 for swing setups, and the Ichimoku 52-period midpoint shifted forward by 26 to define one edge of the cloud.

Note carefully: forward displacement does not see the future. It only repositions known data. The same line plotted on a standard chart would lag; shifting it forward changes where it overlaps price visually but adds no real information.

Worked Example

Take a 20-period SMA on a daily chart with a forward displacement of 10 bars.

On Day 50, the SMA value calculated from Days 31 to 50 is 100.00 dollars. Without displacement, this value plots on Day 50. With a 10-bar forward shift, the engine plots that 100.00 value on Day 60.

Now suppose the stock rises from 102 on Day 50 to 105 on Day 60. On Day 60 the displaced MA reads 100.00 below price at 105, so the line acts as visible support 10 bars after the calculation was done. If price had instead fallen to 99, the displaced MA would cross above price on Day 60, an early visual warning that the average is rolling over.

A trader who used the unshifted 20 SMA would have seen the crossover happen on Day 50, often after several whipsaws across the line. The displaced version delays the crossover visually, giving cleaner confirmation in choppy regimes.

Common Mistakes

  1. Believing the shift adds predictive power. A forward-displaced line is still computed from past data. The shift moves the picture, not the information.
  2. Using arbitrary displacement values. Random shifts produce random results. Match the shift to the average length: half the period is a common heuristic; 26 bars on a 52-period MA is the Ichimoku standard.
  3. Backtesting without lining up the shift correctly. Many backtesting platforms join signals to the bar where the line plots, not the bar where the math used data. If you treat a forward-shifted line as a real-time signal, you under-count lag.
  4. Forgetting volume on a displaced VWMA. Displacing a VWMA only shifts the position; the underlying volume weights stay the same. Reading the spread between displaced VWMA and price can be misleading on light bars.
  5. Mixing displacement with negative offsets in code. Different platforms use opposite sign conventions for "forward" and "back." Always test with a known bar before trusting the chart.

Frequently Asked Questions

What is a displaced moving average in simple terms? A displaced moving average is a normal moving average plotted a fixed number of bars ahead of or behind its calculation bar. The math is identical; only its position on the chart moves.

How does displaced moving average affect investment decisions? A small forward shift can reduce whipsaws in a crossover system because price has to travel further to break the line. A backward shift lets you confirm whether a chosen MA was acting as real support or resistance in past trading.

What is a real-world example of displaced moving average? The Ichimoku Cloud uses two displaced averages plotted 26 periods ahead of price. The senkou span A and span B form a forward-projected band that traders use to gauge trend strength and likely support zones.

How can investors use displaced moving averages effectively? Match the shift to the MA period, often around half the length. Combine with another non-displaced indicator for confirmation, and verify your platform's shift direction with a static test bar before live use.

How is a displaced moving average different from a regular moving average? A regular MA plots each computed value on the same bar where the math ends. A displaced MA plots that value on a different bar. The series of numbers is identical; only the chart alignment changes.

Sources

  1. Incredible Charts. Displaced Moving Average. https://www.incrediblecharts.com/indicators/displaced_moving_average.php
  2. Zaner. Displaced Moving Average. https://www.zaner.com/3.0/education/technicalstudies/DMA.asp
  3. Trading Sim. Displaced Moving Average Top 3 Trading Strategies. https://www.tradingsim.com/blog/displaced-moving-average
  4. Enrich Money. Displacing the Moving Average. https://enrichmoney.in/knowledge-center-chapter/displacing-moving-average

Disclaimer

This article is educational content only and is not financial advice. Nothing here is a recommendation to buy, sell, or hold any security. Consult a licensed advisor before making investment decisions.

The IWP Substack

You understand the concept. Now see it applied.

The Investing With Purpose Substack turns ideas like this into research and risk-managed trade plans on real stocks, updated every week.

Read on Substack (opens in a new tab)

Related concepts