Products
SentimenTrader Trading Tools
‍
Backtest Engine
My Trading Toolkit
Correlation Analysis
Seasonality
Market Prediction
Indicators & Data API
‍
Proprietary Indicators & Charts
Market Data API
Strategies & Scanner
‍
50+ Trading Strategies
Smart Stock Scanner
Smart Option Scanner
Research Reports
‍
Research Solutions
Reports Library
Free Resources
Simple Backtest Calculator
Simple Seasonality Calculator
The Kelly Criterion Calculator
Sentiment Geo Map
Public Research Reports
Education
Sentiment Indicators
Technical Indicators
Pricing
Company
About
In the News
Testimonials
Client Success Stories
Contact
Log inLoginSign up
< BACK TO ALL REPORTS

Utility uptrends vastly outnumber staples

Jason Goepfert
2024-06-04
Another jump in utility stocks served to push most of them above their medium-term 50-day moving averages. A fellow defensive sector, consumer staples, has not seen nearly as much interest, leading to a historic divergence in uptrends between the two sectors. Similar behavior was not a consistent worry for the broader market, though longer-term, utilities tended to underperform staples.

Key points:

  • Utility stock uptrends have vastly outnumbered those for staples, a fellow defensive sector
  • There is an unusually wide spread between uptrends in the two sectors relative to the past 30 years
  • It has not been a particularly worrisome sign for the broader market, though longer-term there was some mean-reversion

Utility uptrends vastly outnumber staples

Defensive stocks get their name from their tendency to serve as semi-safe havens during economic distress. No matter how bad things get, people still need to power their homes, attend to basic health care, and buy ingredients to make food at home. Because of these tendencies, utilities, health care, and consumer staples stocks often buffer against losses during protracted downturns.

Also, because of these tendencies, they tend to travel together more or less. Of course, they all have their quirks, but generally, they ebb and flow in the same broad directions. However, that hasn't been the case lately with a couple of them.

Almost all utility stocks are holding above their medium-term trends, while relatively few staples are doing so. As of last week, more than 93% of utilities were trading above their 50-day moving averages.

Around the same time, fewer than 30% of staples were trading above their 50-day averages before a late rally on Friday.

Historically, a spread of more than 55% in the percentage of utility stocks above their 50-day averages minus staples above their averages is very wide. Over the past 30 years, it has happened fewer than 20 times.

For this test, we'll require that the spread drops below zero to reset the conditions so we don't get multiple signals in a cluster that skew the forward returns.

Not a bad sign for stocks; some long-term mean-reversion

The table below shows that for the S&P 500, this was not a particularly troublesome sign. Over the next two months, the S&P rallied 76% of the time, with a compelling return of +4.6%, well above random. Returns after that were above average, but the consistency wasn't especially notable. There were a few significant losses, as this divergence between utilities and staples triggered as stocks peaked in 2000 and 2022.

Users of Backtest Engine 2.0 may notice a new tab, Major Sectors. It's a useful addition that allows you to see how the S&P's sectors performed after signals in the backtest.

For this particular one, we can see that over the next year, technology did well while staples and utilities both struggled a bit.

Focusing on those two sectors shows that utilities outperformed staples over the next 2-4 weeks, with a (mostly) higher average return and better consistency. However, staples outperformed over the next 6-12 months, especially in consistency.

Using the recently released My Indicator function, you can recreate this study or a nearly unlimited number of combinations. 

When you click that tab, you can then use virtually any two indicators in the database to create your own. For this test, all we need to do is:

  1. Name it whatever we want and leave (2) and (3) as the spread and daily defaults
  2. Start typing "xlu" and click XLU Breadth (% > 50 Day Avg) and leave "minus" as the function
  3. Type "xlp" and choose XLP Breadth (% > 50 Day Avg)
  4. Click the "Save the created indicator" button, and then we can use that in a backtest

When using the backtest engine, we only need to select a Type of "Users' Own Indicator" and choose the one we just created in the Indicator box.

What the research tells us...

There have been an increasing number of warning signs in recent weeks, particularly on the Nasdaq exchange and among technology stocks. It might seem like another would be the jump in uptrends in utility stocks relative to others, even among other defensive sectors. That hasn't been the case, at least not consistently. There is also a "this time is different" vibe, given the demand for utility services to meet the power generation required for the dramatic uptick in the AI industry. Either way, this hasn't been a good reason to sell stocks in general. At most, it has been a modest sign that utilities may continue to better their staples counterparts for a few weeks. After that, the odds start to favor some mean-reversion.

PRODUCTS
SentimenTrader
Trading Tools
Indicators & Data API
‍
Strategies & Scanner
‍
Research Reports
FREE
RESOUrCES
Simple Backtest
Calculator
Simple Seasonality
Calculator
The Kelly Criterion
Calculator
Sentiment Geo Map
‍
Public Research Reports
‍
Education
Sentiment Indicators
‍
Technical Indicators
‍
Pricing
Bundle pricing
‍
FAQ
‍
Announcements
‍
COMPANY
‍
About
‍
In the News
‍
Testimonials
‍
Client Success Stories
CONTACT
‍
General Inquiries
‍
Media Inquiries
‍
Financial Professionals Inquiries
‍
© 2026 Sundial Capital Research Inc. All rights reserved.
Setsail Marketing
TermsPrivacyAffiliate Program
Risk Disclosure: The information and tools provided are for research and analytical purposes only and are not intended as investment advice. Market analysis involves uncertainty, and outcomes may differ from expectations. Users should conduct their own due diligence and consider their individual circumstances before making any financial decisions. Past performance is not necessarily indicative of future results.

Hypothetical Performance Disclosure: Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.

Testimonial Disclosure: Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.