← Back to Learn

The Memory of the Market

In 1906, the British scientist Francis Galton visited a livestock fair in Plymouth. He was seventy-four years old, increasingly preoccupied with questions of collective intelligence, and what he found that afternoon would change how we think about crowds forever.

At the fair, villagers were invited to guess the weight of an ox. Eight hundred people paid sixpence each to write down their estimate. Galton, being Galton, collected all the tickets after the contest ended. He wanted to prove a point about the mediocrity of the masses.

The ox weighed 1,198 pounds. The average of all 800 guesses? 1,197 pounds.

Galton was stunned. The crowd, as a collective, had been nearly perfect—more accurate than any individual expert. He called it “the wisdom of crowds,” and it was one of the most important statistical discoveries of the twentieth century.

The 200-day moving average works on exactly the same principle.


What It Actually Is

The math is almost embarrassingly simple. Take the closing price of a stock for each of the past 200 trading days. Add them together. Divide by 200. That's it.

Tomorrow, you drop the oldest price from the calculation and add today's close. The line inches forward, one day at a time, forever recalculating itself based on what the market has actually done.

Two hundred trading days works out to roughly one calendar year. Which means the 200-day moving average isn't just a line on a chart. It's a record of every opinion, every bet, every act of hope and despair that occurred over the past twelve months—compressed into a single number.

It is, quite literally, the memory of the market.


Why This Number and Not Some Other

Here's a question that sounds trivial but isn't: why 200 days? Why not 150, or 250, or some other round number that sounds equally plausible?

The honest answer is that nobody knows exactly when or why 200 became the standard. It emerged organically in the 1960s and 1970s, when technical analysis was transitioning from hand-drawn charts to computers. Traders needed a timeframe long enough to filter out noise but short enough to respond to genuine trend changes. Two hundred days felt right.

But here's the thing about financial markets: what feels right can become right. Once enough people started using the 200-day moving average, it began to matter whether a stock was above or below it. Institutional investors referenced it in their models. Trading algorithms incorporated it into their logic. Financial journalists treated crosses above or below the line as news.

The 200-day moving average became important because people believed it was important. And their belief made it so.

Economists have a term for this: a Schelling point. Named after Thomas Schelling, who won the Nobel Prize for his work on conflict and cooperation, a Schelling point is a solution people converge on in the absence of communication. If you asked a hundred strangers to meet somewhere in Manhattan without specifying where, a surprising number would show up at Grand Central Terminal. Not because it's objectively the best spot, but because it's the obvious one.

S&P 500 vs 200-Day Moving Average2019–2021
The S&P 500 crashed below its 200-MA in March 2020, then reclaimed it in June—signaling the start of a historic rally.

The Self-Fulfilling Prophecy Problem

Critics of technical analysis love to point out that the 200-day moving average is a self-fulfilling prophecy. Prices bounce off the line, they argue, only because traders expect them to bounce. The indicator has no predictive power; it merely reflects the collective delusion of its adherents.

This critique is correct. It's also completely beside the point.

Think about it this way: the value of a dollar bill is also a self-fulfilling prophecy. A piece of paper with green ink on it has no intrinsic worth. It's valuable only because everyone agrees it's valuable. If that collective agreement ever broke down, the dollar would become worthless overnight.

But nobody argues that dollars are useless because their value is socially constructed. The social construction is the value. The same is true of the 200-day moving average.

When enough market participants watch the same line, that line becomes a form of coordination—a way for millions of independent actors to synchronize their behavior without ever speaking to each other. The 200-day moving average is a language, and like all languages, it works because people agree that it works.


What It Actually Tells You

Strip away the mystique, and the 200-day moving average tells you one thing: whether recent buyers are, on average, winning or losing.

When the current price is above the 200-day moving average, it means the average buyer over the past year is profitable. They have no urgent reason to sell. They might even be inclined to buy more. The path of least resistance is up.

When the current price is below the 200-day moving average, the average buyer is underwater. They're feeling pain. Some will hold on, hoping for recovery. Others will cut their losses. The selling pressure is real, and it compounds on itself.

This is why every major crash in modern history—1987, 2000, 2008, 2020, 2022—happened below the 200-day moving average. Not because the line predicted the crash, but because the conditions for a crash (widespread losses, forced selling, evaporating confidence) can only exist when price has been falling long enough to push below that collective memory.

The 200-day moving average doesn't tell you what will happen. It tells you what is happening—and that turns out to be more useful than most predictions.


The Calculation

For those who want the formula:

200-Day MA = (P₁ + P₂ + P₃ + ... + P₂₀₀) / 200

Where P₁ is today's closing price and P₂₀₀ is the closing price 200 trading days ago.

Each trading day, the calculation slides forward by one day. The oldest price falls out; the newest price enters. The line creeps upward in bull markets and downward in bear markets, always lagging the current price but always pointing toward the underlying trend.

You don't need to calculate it yourself—every trading platform does it automatically. But understanding the math helps you understand what the line represents: a continuously updated consensus of value, assembled from hundreds of days of market judgment.


The Deeper Point

Francis Galton spent the rest of his life thinking about the ox and the crowd. He came to believe that collective intelligence wasn't magic—it was mathematics. When you average together many independent judgments, the errors cancel out and the truth emerges.

The 200-day moving average works the same way. Each day's closing price reflects thousands of individual decisions—some informed, some emotional, some random. Averaged together over 200 days, the noise fades and something close to a consensus emerges.

Is that consensus always right? Of course not. Markets can stay irrational longer than any indicator can stay relevant. But the consensus is real, and it exerts a gravitational pull on everything around it.

That's the 200-day moving average: not a crystal ball, but a mirror. It shows you where the market has been, which turns out to be the best guide we have to where it's going.


Trading involves risk. This is educational content, not financial advice. Always do your own research and manage your risk appropriately.