Subscribe to RSS feeds Bulkowski Blog via RSS

Thomas Bulkowski’s successful investment activities allowed him to retire at age 36. He is an internationally known author and trader with 30+ years of stock market experience and widely regarded as a leading expert on chart patterns. He may be reached at

Support this site! Clicking the links (below) takes you to If you buy ANYTHING, they pay for the referral.

Picture of Bumper.
Picture of the head's law.
Chart Patterns: After the Buy
Getting Started in Chart Patterns, Second Edition book.
Trading Basics: Evolution of a Trader book.
Fundamental Analysis and Position Trading: Evolution of a Trader book.
Swing and Day Trading: Evolution of a Trader book.
Visual Guide to Chart Patterns book.
Encyclopedia of Chart Patterns 2nd Edition book.

Bulkowski's Countertrends

Class Elliott Wave Fundamentals Psychology Quiz Research Setups Software Tutorials More...
Candles Chart
Small Patterns
Industrials (^DJI):
Transports (^DJT):
Utilities (^DJU):
Nasdaq (^IXIC):
S&P500 (^GSPC):
As of 06/27/2017
21,311 -98.89 -0.5%
9,384 -58.36 -0.6%
721 -9.91 -1.4%
6,147 -100.53 -1.6%
2,419 -19.69 -0.8%
Tom's Targets    Overview: 06/15/2017
21,600 or 21,000 by 07/01/2017
9,100 or 9,600 by 07/01/2017
710 or 745 by 07/15/2017
6,400 or 6,000 by 07/01/2017
2,525 or 2,390 by 07/01/2017

Written by and copyright © 2005-2017 by Thomas N. Bulkowski. All rights reserved. Disclaimer: You alone are responsible for your investment decisions. See Privacy/Disclaimer for more information.

Imagine you're about to buy a stock. The Dow Industrials, Nasdaq composite, or S&P 500 index rise substantially, but your stock falls. Should you buy? What about the reverse situation, where the index drops but your stock rises? Is the stock worth buying?

This article discusses research to answer those questions.


Countertrend Summary

I learned two lessons from this research.

1) Stocks that dropped when the index climbed performed less well for about a year, on average. If a stock consistently drops when the market climbs then consider selling it.

2) Stocks that climbed when the index dropped substantially outperformed the index and their peers up to a year later, on average.

This suggests the following trading strategy.

  • Bull market only.
  • The S&P 500 composite closes lower by at least 1% from the prior day.
  • The stock closes higher on the same day.
  • Buy the stock at the open the next day.
  • Hold for a year then sell.

One test showed that the setup lowers the failure rate and beats the market in two out of three trades (67% of the time).

Out of sample tests confirms a lower failure rate and substantially better performance.

Countertrend Methodology

The test below used 362 stocks with data that spanned from the end of the first bear market, 10/11/2002 to a year before the second bear market began, 10/10/2007, to capture an entire bull market. Not all stocks covered the entire period. I discarded trades if the stock was priced less than $5 on the day the S&P made its large move.

I found all days in which the close-to-close move was at least 1% in the S&P 500 composite (Symbol: ^GSPC). I also tested the Nasdaq composite and Dow industrials using 0.25%, 0.5%, 1%, and 2% values. I show the results of the 1% tests as an example of how the other tests performed.

Once I had cataloged the dates of big moves in the indices, I measured the close-to-close moves on the same days in stocks, plus the next day, week, month, 3 months, 6 months and 1 year later.


Countertrend Results: Upward Moves

Table 1 shows the results of price moves that occurred on and after the day a large move occurred in the S&P 500 index (bull market only).

For example, the average move in the index was 1.5% higher than the prior day's close (the "Day+1" cell). Remember, the test required a move of at least 1%, so values above this are expected.

Stocks also moving up on the same day ("upward move, stock" row) were more volatile (higher beta) and they climbed an average of 2.0%. Those stocks with countertrend moves ("Downward move, stock"), meaning those stocks that fell, dropped an average of 1.1% on the same day.

The next day (Day+2), the index remained flat (all gains are measured from the close on the first day). Stocks following the S&P and the countertrend stocks both gained a smidgen.

Look at the far right column. A year after the initial rise in the S&P, the index was 15.6% higher, the stocks that followed the same trend (meaning they were up at least 1% on that first day only) were up 20.8%, and the countertrend stocks were up a similar amount, 20.7%. The countertrend stocks took a long time to recover but by years' end, the performance was similar.

If you consider that the stocks dropped 1.1% initially when the index climbed and add that move to the 1 year result, we get a 21.8 percentage point change. That beats the average of stocks that trend.

Table 1: Countertrend Moves
Bull Market Day+1  Day+2  Week  Month  3 Months  6 Months  1 Year 
Upward Moves
Upward move, index1.5%1.5%1.7%2.7%4.9%8.6%15.6%
Upward move, stock
(trend followers)
Downward move, stock
Downward Moves
Downward move, index-1.4%-1.2%-1.0%0.2%2.5%7.0%14.2%
Downward move, stock
(trend followers)
Upward move, stock


Countertrend Results: Downward Moves

What about those stocks that move up when the index drops? The next series of rows ("Downward Moves") shows the results.

Again, I was looking for a move of at least 1%, a drop in this case, in the index. The average drop was 1.4% in the index, the stocks that also dropped fell 1.9% (trend followers). Those that climbed (countertrend) rose an average of 1.1%. The next day, the index and countertrend stocks climbed, but the trend followers remained steady. At the end of a year, the S&P was up 14.2%, the stocks that closed lower initially were up 18.2% and the countertrend stocks were up a massive 24.6%. Nice!

The lesson from this is that stocks that close higher when the market drops (countertrend stocks) tend to soar further than the others (trend followers) over the next year.

Just because a stock rises on a day the index falls at least 1% is not the cause of the stock climbing 24% a year later. Other factors are involved. There are reasons why the stock went against the market trend and outperformed. The countertrend price change we see is just investor enthusiasm for what they believe is a company that will do well in the future.

Countertrend Trading

Let's discuss the 24.6% gain from stocks in a bull market when the index drops. I found 5,291 samples out of 31,658 trades that were countertrend. The median gain of the countertrend trades was 25.4% (compared to the average of 24.6%). This compares to a median of 19.5% for the trend followers (those stocks represented by "Downward move, stock" in Table 1).

Sixteen percent of the countertrend trades lost money if sold at the end of one the year compared to 22% for the trend followers. So the countertrend trades are lower risk.

Using the 13.0% median of the S&P 500 composite as the benchmark (since we want to beat the overall market), 67% of the countertrend trades beat the index after holding for a year.

Thus, you can lower the risk of a failed trade and boost the return by buying stocks that rise on the day the S&P 500 composite drops by at least 1% and holding for a year.

Here is the setup for this trading strategy.

  • Bull market only.
  • The S&P 500 composite closes lower by at least 1% from the prior day.
  • The stock closes higher on the same day.
  • Buy the stock at the open the next day.
  • Hold for a year then sell.


Countertrend Out of Sample Tests

I tested the countertrend setup mentioned above using 223 stocks and bull market data (after the end of the last bear market, 3/7/2009 to 11/18/2013).

The countertrend stocks showed that 23% lost money after holding for a year compared to losses of 28% for the trend followers. Fifty-six percent outperformed the S&P 500 composite during the same period. The average gain of countertrend stocks was 22.3% (median 18.7%) compared to 16.3% (median 14.2%) for the trend followers.

In short, this bull market was not as robust as the mid 2000s, but the countertrend strategy still outperformed with lower risk.

Countertrend Trading Setup

In 2016, I worked on implementing a trading setup using bullish countertrend stocks. When the index fell, I wanted to buy stocks that closed higher on that day.

Sadly, I couldn't get it to work well enough for my taste. Maybe you can find something from this research.

I tried the following against the S&P 500 index...

  • From 10% to 80% countertrends in the month before the 1% drop in the index. (That is, in order to qualify for a trade, the stock must have risen on 10% of the days (then I tried 20%, and so on up to 80%) when the index dropped).
  • Change the hold time from 1 month, 2 months, 3 months, 6 months, and 1 year plus a day (to qualify for long term cap gain). This told me a time exit didn't work well.
  • An 11% stop gave the trades the most opportunity to profit but helped to limit losses. When you use a stop, performance deteriorates since you're being cashed out of the big winning trades, but the 11% stop didn't kick you out of too many big winners, so it worked well.
  • I tried using the number of countertrends to continue holding onto a position. In other words, if a stock has at least 10% (or whatever value you choose) of countertrends in the month before a big drop in the index, we would buy the stock and remain in the stock providing it continued to have 20% to 40% of countertrends in any given month. I varied both the buy countertrend percentage and the hold one.
  • I switched to counting the number of countertrends in the month before buying instead of using a percentage. Requiring at least 2 bullish countertrends as an entry condition worked best. I changed the hold countertrends from a percentage to a count and found 6 to work best. In other words, a stock needed to have at least 6 countertrends each month after the buy to remain in the trade. Average hold times were 76 days.

What I felt was the best setup was this.

  1. Wait for the index to drop at least 1% on a given day (let's call this the big drop day).
  2. Look for stocks in the month prior to the big drop day to have at least 2 bullish countertrends.
  3. For the countertrend stock, compare the closing price a week after the big drop day to the close on the big drop day. If the stock is still higher, buy at the open the next day. This improved trading results by making sure the stock was trending higher.
  4. Use an 11% trailing stop loss
  5. Remain in the trade if a stock continues to have at least 6 countertrend moves each month. If not, sell at the open the next day. Remain in the trade if the index did not drop at least 6 times (because there we not enough countertrend days).

I used bull market data from January 1990 to January 2016. I found 1,969 trades made an average profit of 3.4% each, but the median profit was a loss of 2.6%. The average hold time was 58 days and the system won 44% of the time.

I found that this worked best in years like 2003 when the index dipped and then made a sharp rise. So you need volatility followed by a trend for this setup to work.

Countertrend Test Data

These two spreadsheets (a zip file of 767kb) contain the results from the above tests. Maybe you can find something in them that I missed.

-- Thomas Bulkowski


See Also

Written by and copyright © 2005-2017 by Thomas N. Bulkowski. All rights reserved. Disclaimer: You alone are responsible for your investment decisions. See Privacy/Disclaimer for more information. Electrocution: Burning at the stake with all the modern improvements.