What Is a Moving Average? A Smoothed Portrait of Recent Prices

A moving average replaces each price with the mean of the last N prices. It smooths noise, confirms changes late, and never previews the future.

MyTrade Academy
4 min read

A moving average (MA) is the mean of the last N closing prices, recomputed as each new bar closes. It turns a jagged price series into a smoother line that describes where recent prices have been trading relative to their own history.

How it works

Every new bar drops the oldest price from the window and adds the newest one — which is why the line “moves.” Common settings are 20, 50, and 200 bars, each answering the same question at a different smoothing depth.

By construction, the MA reacts to a change only after enough new prices have entered the window. That delay is the smoothing working, not a malfunction — and it is also why a crossover confirms what already happened rather than announcing what comes next.

Why it matters

The MA is a lagging tool: its signals are stable but late. In ranges it whipsaws; in trends it stays on side and looks slow.

Changing the period changes the answer on the same data — a shorter average reacts sooner and crosses more often. Any reading is “the 50-day average says…”, not “the market says…”

A simple market example

Prices run 10, 11, 12, 13, 14. The 5-period MA prints 12 — the mean. If the next bar closes at 13, the average eases to 12.6: it noticed the stall only after the new price entered its window. The 3-period MA would have reacted one bar earlier — and flipped more often on the way up.

Common mistakes

Reading an MA cross as a prediction. It is a delayed summary of recent prices — the future still needs its own evidence.

Tuning the period until the chart looks right. A setting chosen to fit history is measuring the past twice, not testing a rule.

Frequently asked questions

Which MA period is best?

None universally. Longer periods smooth more and react later; shorter periods do the reverse. The period should come from the rule being tested, not from fitting the chart.

Does a moving average predict support?

No. It describes where the mean of recent prices sits. Prices often slow near widely watched averages because many people watch them — a behavior, not a property of the formula.

Why does my MA signal arrive late?

Because the average only includes prices that already happened. Delay is the price of smoothing — shorter windows pay less of it and suffer more whipsaw.

Educational content only. Definitions describe common market usage and may vary by jurisdiction, instrument, or institution.

See the concept in a real lesson

Lesson 18 uses real market events to show how this concept works in context.

Open Lesson 18