Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Money 3 min read

Smoothing Out the Noise in Data

A 200-day moving average reveals the trend hidden in daily chaos.

A moving average takes the average of the last N data points, creating a smoother line that reveals the underlying trend. Traders use 50-day and 200-day averages as signals.

How It Works

Add the last N closing prices and divide by N. Each day, drop the oldest price and add the newest.

MAN=1N∑i=0N−1Pt−i\text{MA}_N = \frac{1}{N}\sum_{i=0}^{N-1} P_{t-i}

5-day moving average of prices: 100, 102, 98, 104, 101

  1. 1

    Sum

    100+102+98+104+101=505100 + 102 + 98 + 104 + 101 = 505
  2. 2

    Average

    5055=101\frac{505}{5} = 101
Answer

5-day MA = 101 — smooths out the day-to-day noise

The takeaway

Moving averages filter noise and reveal trends. The longer the window, the smoother but more lagged the line.

Back to all stories