What Is a Worked Example of Moving Average Trend?

Explore What is a worked: mechanics, differences, limitations, and practical checks.

Direct answer

A worked example of Moving Average Trend shows, step by step, how you compute a moving average from past prices and then label the market’s trend state based on a clear, predefined comparison (for example: price above versus below the moving average). This article uses a fully numerical scenario and states every assumption so you can reproduce the result exactly.

A key point is that “trend” here is an interpretation rule applied to historical numbers. It is not a guarantee that future prices will continue in the same direction.

Mechanism and definition

Moving Average Trend is a method that uses a moving average—an average of the most recent N data points—to turn noisy price series into a smoother reference line.

Core ingredients (assumptions stated):

  • Data points: a sequence of observed closing prices at discrete time steps (for example, daily closes).
  • Window length: N = 3 in the example.
  • Moving average type: simple moving average (SMA), meaning each average is the arithmetic mean of the last 3 closes.
  • Trend rule used in this worked example: at each time step where the SMA exists,
    • if Price > SMA, label Bullish trend state;
    • if Price < SMA, label Bearish trend state;
    • if Price = SMA, label Neutral.

This rule is only one possible interpretation. The mechanics are the same: compute the SMA consistently, then apply a comparison rule.

Evidence or worked numerical example

Assume these closing prices for 8 time steps (t1 to t8):

  • t1: 1.1000
  • t2: 1.1020
  • t3: 1.1010
  • t4: 1.1030
  • t5: 1.1040
  • t6: 1.1025
  • t7: 1.1015
  • t8: 1.1050

Assume SMA(3), so the SMA first exists at t3 (because you need t1–t3). Each SMA is computed as:

  • SMA3(t) = (Price(t-2) + Price(t-1) + Price(t)) / 3.

Step-by-step calculations

t3: SMA3(t3) = (1.1000 + 1.1020 + 1.1010)/3 = 1.1010

  • Price(t3)=1.1010 equals SMA → Neutral

t4: SMA3(t4) = (1.1020 + 1.1010 + 1.1030)/3 = 1.1020

  • Price(t4)=1.1030 > 1.1020 → Bullish

t5: SMA3(t5) = (1.1010 + 1.1030 + 1.1040)/3 = 1.102666… → 1.1027

  • Price(t5)=1.1040 > 1.102666… → Bullish

t6: SMA3(t6) = (1.1030 + 1.1040 + 1.1025)/3 = 1.103166… → 1.1032

  • Price(t6)=1.1025 < 1.103166… → Bearish

t7: SMA3(t7) = (1.1040 + 1.1025 + 1.1015)/3 = 1.102666… → 1.1027

  • Price(t7)=1.1015 < 1.102666… → Bearish

t8: SMA3(t8) = (1.1025 + 1.1015 + 1.1050)/3 = 1.1030

  • Price(t8)=1.1050 > 1.1030 → Bullish

What this “trend” example is actually showing

In this scenario, the trend state changes when price crosses the SMA3 line:

  • Neutral at t3,
  • Bullish at t4 and t5,
  • Bearish at t6 and t7,
  • Bullish again at t8.

That is the worked logic of Moving Average Trend: it translates a past-window average into a rule-based state for the current time step.

Limitations and risks (material failure modes)

1) Window length controls responsiveness and “false flips.” A longer window smooths more and may react later; a shorter window follows price more closely and may switch states more often. Both can produce misleading trend labels when prices oscillate around the SMA.

2) The comparison rule can create churn. Using “Price > SMA” versus “Price < SMA” is simple, but it will change labels whenever the series crosses the moving average, even if the broader move is not sustained.

3) Costs and execution details affect real outcomes. Even if you interpret the trend state correctly on the chart, realized results can differ due to trading costs, bid/ask spread, slippage, and how orders fill. Those factors are not included in this numerical example.

4) Past relationships do not imply future behavior. This worked example is deterministic given the input data and method; however, historical price patterns similar to this do not guarantee future trend persistence.

Verification and next question

You can independently verify this example by recomputing the SMA3 at each time step using the stated prices and SMA formula, then applying the explicit comparison rule (Price versus SMA). If any computed SMA values differ, the difference must come from either arithmetic handling (rounding) or using a different averaging method.

Trading foreign exchange and CFDs involves substantial risk. Information on FoxiForex is educational and is not personal financial advice. Sponsored placements are labelled clearly.