Wednesday, December 20, 2006

SPY and QQQQ: Once It's A Trend, Will It End?

If you're looking at daily data, the shortest "trend" you can identify is a series of two up days or a sequence of two down days. So I decided to look at what happens in the S&P 500 Index (SPY) after two up days and after two down ones.

Since 2004 (N = 745 trading days), we've had 233 occasions in which SPY has been up for two consecutive days. Three days later, SPY has averaged a loss of -.02% (119 up, 114 down)--no bullish edge at all. Conversely, across the remaining occasions in the sample, the average three-day gain in SPY has been .16% (301 up, 211 down). It thus appears that, once we have a two-day bullish "trend", market returns have been subnormal.

When we've had two consecutive down days in SPY (N = 146), SPY has averaged a three-day gain of .25% (89 up, 57 down). Over the remaining occasions in the sample, SPY has been up by .07% over a three-day period (331 up, 268 down). Here we see that, once we have a two-day bearish "trend", near-term returns have been superior.

If we look at the NASDAQ 100 Index (QQQQ), a similar pattern appears. When we've had two consecutive up days (N = 219), QQQQ has been down by an average of -.01% over the next three days (118 up, 101 down). Once again, no evident bullish edge. Over the remainder of the occasions in the sample, QQQQ has been up by an average of .12% over the next three days (284 up, 202 down).

But wait! When QQQQ has been down for two consecutive days (N = 159), the next three days in QQQQ have averaged a gain of .07% (83 up, 76 down). Over the remainder of occasions in the sample, the next three days have averaged a gain of .09% (319 up, 267 down).

Interestingly, we see no evidence of a reversal effect for QQQQ after two down days and a relatively modest effect after two down days. In the S&P 500 Index (SPY), there's a more pronounced tendency toward reversal once a two-day "trend" appears.

Might we be able to classify ETFs and individual stocks based on their simple trending or countertrend patterns? Would such patterns provide useful trading guidance? An interesting post from James Altucher's StockPickr site suggests that similar patterns may indeed guide active trading in the NASDAQ 100 stocks. I'll add a twist to the pattern in my next post.