Could this rule help protect your portfolio?

The recent selloff in major equity indices means they are now trading below their 200-day moving averages (MA). This is a technical measure which some market observers follow to get a sense of when the market is losing momentum.

The move has prompted Panmure Liberum’s investment strategist Joachim Klement to adopt a fully defensive position towards financial markets.

In a note titled ‘This is it: Why I am selling’, Klement writes: “While this indicator is not foolproof, market dynamics have turned decisively bearish, in our view."

“If the S&P 500 drops below the 200-day MA, I will sell equities and move into long-term government bonds. If it then moves above the 200-day MA again, I will move back into stocks until the S&P 500 drops below the 200-day MA,” explains Klement.

Later in the article we show the results of our own back test of the trading rule over the past 54 years using monthly data from economist and Professor Emeritus of Economics at Yale University, Robert Shiller.

How is the 200-day moving average calculated?

The 200-day moving average is the average price over the prior 200 trading days, roughly equivalent to between nine and 10 months, or 40 trading weeks. It updates every trading day by dropping the oldest price and adding the newest one.

It is often viewed as a sign of an overall uptrend or market strength, and the line can act as a floor which supports the price where buyers sometimes step in. Conversely, when the price is below the 200-day moving average, it signals market weakness, and the line can act as a ceiling for sellers.

Klement has been writing about the dangers of the AI capital expenditure boom slowing down or reversing since May 2026 and in October the strategist introduced his S&P price target of 5,000 points.

While acknowledging there could still be a rebound in AI spending, Klement points to evidence from analysts’ forecasts which implies a slowing in the rate of growth since June.

Does selling below the 200-day moving average work?

Klement’s data covers the dotcom boom and bust between 2000 and 2004, and the 2007 financial crisis caused by the housing bubble.

One caveat is that the analysis does not include trading costs and it is worth pointing out that both periods included false signals before the market declined in earnest.

Nevertheless, the trading system reduced losses in the dotcom bust to 6% against a 24% market loss and provided a gain of 7% compared with a loss of 21% during the 2007 to 2009 downdraft.

What does a longer-term study show?

Using Shiller’s monthly S&P, dividend yield and 10-year treasury data between 1972 and 2026 to analyse the trading rule shows that $100 would have grown to $80,000 compared with $33,000 under a buy and hold strategy.

 

The system would have held exposure to the S&P 500 around 74% of the time and involved making 54 switches between stocks and bonds, or just over one a year.

The extra theoretical return is partially due to the system being out of the market during the worst periods of S&P 500 performance, with a maximum peak to trough loss of 19% compared to a 49% loss for the buy and hold strategy.

The 19% loss occurred in February 2020 during the early days of the pandemic when the system switched into bonds in March 2020, before switching back into equities in June 2020 and remaining invested until March 2022, when it moved back into bonds.

Are there drawbacks?

It is important to emphasise back tests are not guaranteed to be repeated with real future data and they ignore trading costs, which can be significant. The statistical significance is less compelling when looking at excess returns over overlapping periods. For example, the period from 2008 to 2026 produced a total annualised return of 10.9% compared with 11.1% for the buy and hold strategy.

The switching strategy does suggest lower peak to trough variability, before considering costs.

What is the bottom line?

The 200-day moving average rule looks like a promising way to control the downside, but from an overall return perspective the performance numbers show it could realistically perform anywhere from about 1% worse to 4.6% a year better than a buy and hold strategy.

Therefore, we can’t statistically prove it is better as any extra gains could be just luck. A switching strategy is not suitable for all investors. Academic research shows that consistently beating the market by switching between equities and cash or bonds requires forecasting accuracy rarely achieved.

It should not be underestimated how difficult it can be psychologically to flip-flop in and out of markets with the risk of not participating in strong market rebounds.

Analysis by MSCI highlights the importance of staying invested and that missing top gains can halve returns across major crises like the dotcom bust and 2008.

A 2026 Capital Group study showed longer holding periods raised the odds of gains with 10-year spans yielding positive returns 94% of the time.

Martin Gamble

Martin Gamble: Shares and Markets Writer

Martin Gamble is Shares and Markets writer at AJ Bell. He was previously the Education Editor of Shares Magazine. He has been with the business since 2019.

Martin graduated from the University of Kent in...

These articles are for information purposes and should only be used as part of your investment research. They aren't offering financial advice and past performance is not a guide to future performance, so please make sure you're comfortable with the risks before investing.

Ways to help you invest your money