Trading concepts

Market Direction: How to Read It, Every Change on the S&P 500 Since 2021, and Whether It Predicts the Next Month

A rule anyone can apply, price against its 200-day average, run on the S&P 500 ETF from 2021 to 2026: 30 changes of direction, the long regimes dated, and a test of what the next 20 sessions brought.

· Founder of PatternsWizard
Checked 6 min read
SMA(200) on S&P 500 ETF, dividend-adjusted prices, daily, August 5, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
On this page
  1. Three ways to read market direction
  2. Every change of direction, 2021 to 2026
  3. Does the direction predict the next month?
  4. Risk-on and risk-off
  5. Frequently asked questions

Market direction is the way prices are moving over the horizon you care about: up, down or sideways. You can measure the current direction with a rule; you cannot know the next move. This page uses one simple rule, price against its 200-day simple moving average, on the S&P 500 ETF from 2021 to 2026, lists every change of direction it gave, and checks whether it helped predict the next month.

S&P 500 ETF and its 200-day simple moving average, October 2025 to October 2026

SMA(200) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • SMA(200) of the close (solid line)
SMA(200) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

Three ways to read market direction

  • Moving average. Price above a long moving average counts as an uptrend, below it as a downtrend. This page uses the 200-day average; the rule is mechanical, so anyone applying it gets the same answer on the same day.
  • Swing structure. Higher highs and higher lows describe an uptrend, lower highs and lower lows a downtrend. Trendlines drawn through those swings show where the structure would break.
  • Sideways markets. When neither rule gives a clean answer, the market is ranging. A choppy, ranging market is where a trend rule flips back and forth, as the record below shows.

Three ways to read market direction

Three ways to read market direction: three panels. Left: a price line rising above a slower moving average that also rises, read as an uptrend. Middle: a zigzag whose highs and lows are each higher than the one before, marked by dots. Right: a price line swinging around a flat average, with a dot at each crossing, where a trend rule keeps changing its answer.
Schematic, not market data.

The three readings answer the same question at different speeds. The moving average rule is the easiest to reproduce, so it is the one tested below. The labels bull and bear market describe the same idea on a larger scale; bullish vs bearish market covers their definitions and history, and trend trading covers how traders act on a direction once they have one.

Every change of direction, 2021 to 2026

The rule: the direction is up on a day the S&P 500 ETF closes above its 200-day simple moving average of closes, down on a day it closes below. The first 200-day average in the data falls on October 18, 2021, a day the ETF closed above it. From then to October 28, 2026, the direction changed 30 times. The ETF closed above its average on 989 of the 1,263 sessions.

Direction fromClose, averageNext changeSessions
Up, Oct 18, 2021 (first day with an average)418.26, 387.44Jan 21, 202266
Down, Apr 11, 2022414.19, 419.53Aug 16, 202287
Down, Aug 17, 2022403.43, 405.63Nov 30, 202273
Up, Jan 20, 2023377.60, 374.84Mar 10, 202334
Up, Mar 16, 2023377.82, 372.89Oct 25, 2023154
Up, Nov 1, 2023407.61, 406.02Mar 10, 2025337
Down, Mar 26, 2025559.31, 561.15May 12, 202532
Up, May 12, 2025573.48, 561.41Mar 20, 2026215
Down, Mar 20, 2026645.30, 653.21Apr 8, 202612
Up, Apr 8, 2026672.60, 656.83Still up on Oct 28, 2026Open

The table keeps the regimes that lasted 30 sessions or more, the 12-session regime of March 2026 and the current one; the other 21 lasted between 1 and 20 sessions, most of them in 2022 and around March 2023. In January and February 2022 alone, the direction flipped seven times. Each flip is a signal a trend follower would have acted on. Counted by calendar year, 24 of the 30 flips came in 2022 and 2023:

Changes of direction of the 200-day rule per year, S&P 500 ETF

Changes of direction of the 200-day rule per year, S&P 500 ETF. 2021, from October 18: 0; 2022: 15; 2023: 9; 2024: 0; 2025: 4; 2026, to October 28: 2. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Each change is a close on the other side of the 200-day simple moving average from the day before. Dividend-adjusted daily closes; 30 changes in all.

What followed the long regimes, in adjusted closes: the 2022 downtrend that began on April 11 at 414.19, interrupted for one session on August 16, reached its lowest close, 338.54, on October 12, 2022, while the rule still said down. The March 2025 downturn bottomed at 488.38 on April 8, 2025, and the rule turned up again on May 12 at 573.48, 17% above that low. The March 2026 signal was a whipsaw: the ETF closed at 645.30 when the rule turned down, 628.78 at its lowest on March 30, and 672.60 when the rule turned up again on April 8, 4.2% above the exit.

Does the direction predict the next month?

To test whether the direction predicts anything, take each session with a known direction and measure the ETF's change over the next 20 sessions, about a month: the close 20 sessions later divided by that day's close, minus one. The last 20 sessions of the series have no measure yet, which leaves 1,243 of the 1,263 days.

Change over the next 20 sessions, by direction that day

Change over the next 20 sessions, by direction that day. Up, above the average (969 days): Mean +0.92%, Median +1.46%; Down, below the average (274 days): Mean +1.44%, Median +2.45%. Our computation; the inputs and the method are in the text.
  • Mean
  • Median
Our computation; the inputs and the method are in the text.S&P 500 ETF, dividend-adjusted daily closes, from October 18, 2021; the last 20 sessions to October 28, 2026 have no measure yet. Overlapping windows: the days are not independent.

On this market and period, the days below the average were followed by a higher mean and median change than the days above, and by a lower share of positive months: 57.7% of the 274 down days were followed by a rise, against 66.7% of the 969 up days. The months after a down reading were more spread out, not worse on average. Consecutive 20-session windows overlap, so the 1,243 measures are far from independent: the sample covers only a few distinct episodes. What the rule did deliver was a description: it was up during most of the long rise and down during most of 2022. It did not tell, on a given day, what the next month would bring.

Risk-on and risk-off

Risk-on and risk-off name the same idea across markets. A Bank for International Settlements working paper by Robert McCauley, Risk-on/risk-off, capital flows, leverage and safe assets (July 25, 2012), describes the flows of money in calm and volatile global equity markets: during calm periods, investors in advanced countries put money into emerging markets; in declining and volatile equity markets, those flows reverse. Risk-on is the calm, rising phase, risk-off the falling, volatile one, when money moves to assets seen as safe.

The paper's summary gives no threshold for either phase, so calling a given week risk-on or risk-off remains a judgment. Other pages in trading concepts cover the market cycle and sentiment.

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

How do you know if the market will go up or down?

You cannot know it in advance. Rules such as price against its 200-day average describe the current direction. On the S&P 500 ETF from 2021 to 2026, that rule did not predict the next month: days below the average were followed by a higher mean 20-session change than days above it.

What is the best indicator of market direction?

None is reliable on its own. The 200-day simple moving average is a mechanical long-term filter. Its cost is whipsaws in sideways markets: 30 changes of direction on the S&P 500 ETF between October 2021 and October 2026.

What does risk-on and risk-off mean?

Risk-on describes calm, rising markets in which investors put money into riskier assets, such as emerging markets; risk-off describes falling, volatile markets, when those flows reverse toward assets seen as safe. A 2012 Bank for International Settlements working paper describes these flows.

How long does a market direction last?

It varies widely. With the 200-day rule on the S&P 500 ETF, regimes lasted from one session to 337 sessions between 2021 and 2026.

Sources

  1. Robert N McCauley, Risk-on/risk-off, capital flows, leverage and safe assets, BIS Working Paper 382, July 2012
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

Related guides

All trading concepts articles