Saturday, February 17, 2007

Stock Screening for Index Traders: A Best Practice in Trading


We normally think of stock screeners as tools for stock pickers. The stock picker screens for stocks that possess certain fundamental and/or technical characteristics that presumably affect supply and demand and then trades those stocks. So it's quite possible the stock picker will be trading energy stocks one day, tech stocks the next--or both simultaneously. The index trader, on the other hand, has a more limited array of options. Many only trade one thing, such as the ES futures. In my experience, active traders of the indices do relatively little stock screening. They are more likely to look at aggregate market indicators, such as the number of stocks advancing vs. declining or the total market volume for the day.

To see how stock screening might aid the index trader, let's take a hard look at that aggregate indicator: advancing vs. declining stocks. When a NYSE issue is counted as an advancing or declining stock, it means that the shares are trading above or below their previous day's close. While that is useful information, it also has its limitations--particularly for the daytrader. First, what is going on in the broad NYSE universe may not be reflective of what is happening within the stocks in the trader's index. If, say, the trader is trading a sector index of energy issues (XLE), what is happening across all stocks is only partly relevant. Second, calibrating stock strength from the prior day's close doesn't tell the intraday trader much about strength during the day session. If stocks as a whole open higher but then trade in a narrow range for the entire morning, a strong advance/decline reading hardly tells the whole story.

Suppose we redefine criteria for advancing and declining stocks. When a stock opens for trading, its opening price reflects the balance of supply and demand coming from a number of factors, including overseas interest, pre-opening economic news, overnight movement of the index futures, etc. During the first minutes of trade, the stock establishes a range of prices that we can consider to be its opening range. This is the market's initial attempt to set value for the shares.

If a stock moves above this opening range and sustains that move, we can truly say--on a day timeframe--that the stock is advancing. If the stock moves below the initial range of prices and stays below, we can say that it is declining on the day. The stock may or may not be up or down relative to the previous day's close. What we want to know is whether that stock is strong or weak relative to that day's initial estimate of value.

Taking this logic one step further, it makes sense that if we track a universe of stocks in this way, we can obtain a sense for whether the stocks that make up a particular index are--as a whole--advancing or declining relative to their opening range. If a significant number of stocks are moving below their initial estimates of value, we want to think long and hard about buying that index, and vice versa.

So where can we get statistics, customized for the stocks that are in the indices that we are trading, that will show day timeframe advances vs. declines? The answer lies in stock screening.

Above you'll notice my Trade Ideas screen from 2/9/07, tracking the 17 stocks that make up my large cap basket. (Please note that I have no commercial relationship with Trade Ideas; nor have they solicited this post or been involved in its writing). These stocks, followed daily on my Trading Psychology Weblog, represent a mix of tech, consumer, cyclical, and financial stocks. I've found over time that they do an admirable job of tracking the S&P 500 Index. I've set Trade Ideas to spit out upside and downside breakouts of the stocks' opening 10 minute trading range. This shows me in real time which stocks are turning into advancers and which into decliners. A nice feature of this particular screen is that the breakout move has to be sustained for 1 minute before it registers as an alert. This provides a modicum of assurance that the stock isn't simply peeking above or below its range and creating a whipsaw with a move in the other direction.

February 9th was interesting in that the market opened higher, with strong NYSE TICK readings in the opening minutes of trade. Four stocks in my basket quickly established upside breakouts from their opening 10-minute range, but then four just as rapidly registered downside breakouts. That is not what you'd expect in a trending market and was a great initial signal to the index trader that strength was selective. As we approached 9:00 AM CT, the ES futures were still trading above their open and above their previous day's close, but stocks advancing vs. declining relative to their opening range were dead even.

As you can see from the alerts, from 9:00 AM CT forward, one stock after another pierced its opening range to the downside. The index weakness lasted much of the next hour, providing plenty of opportunity for the short-term trader to join the move back into the prior day's trading range.

The stock screen showed us that what looked like strength (relative to the previous day's close) really wasn't strength at all. Indeed, the strong buying sentiment, as registered by the NYSE TICK, was unable to move a majority of stocks in my basket above their opening range. As a rule when buyers lifting offers can't move price higher, it's only a matter of time before sellers become emboldened and existing longs liquidate their positions.

The nice thing about the Trade-Ideas screen is that it is highly customizable. I could have set the screen to register 5, 15, or 30 minute breakouts, depending on my trading style. I also could have entered any universe of stocks into my watchlist, including all energy stocks or all stocks in the NASDAQ 100 Index. That ensures that the screens are providing information about the stocks that are most relevant to what we're trading: from stock index futures to ETFs.

Indices are deceptive because many are capitalization weighted. A relatively small number of stocks can make the index look strong or weak. By tracking a universe of stocks in real time and screening for their strength or weakness, we can see if a breakout move in the index is genuine or artificial. We can also determine if leading sectors are breaking out to directional moves prior to the index.

Index traders may not be stock pickers, but they can benefit by taking a look under the hood and seeing how the stocks in their index are really trading. That, for me, makes it a trading best practice.

12 comments:

Simple Trader said...

Excellent article as always. I like the idea of using breakouts in select stocks/sectors of a index to gauge the strength.

I have been using the NYSE A/D line to gauge the market strength but like you described, it can be very deceptive. There have been several days where the market opens higher/lower and then quickly reverses even when the A/D line is extremely bullish or bearish.

So now instead of just following the A/D line, I use a RSI of the A/D line to gauge momentum and the VIX to confirm the trend.

Thanks,
Sam
http://trade4life.blogspot.com

Brett Steenbarger, Ph.D. said...

Hi Sam,

I appreciate the note and the link to your blog. Your idea of an RSI on the AD line is an interesting one; worth checking out. Thanks--

Brett

F. said...

Dr. Steenbarger,

Do you know of a way using Trade Ideas to quantify the number of stocks that are trading above/below the opening range? It seems a little tedious to just visually estimate the difference in advancers/decliners using this method.

Also, I haven't found Nasdaq advancers/decliners data to be limiting in my own use trading NQ. Often, a chart of advancers will break its own opening range and establish its own trend leading a bullish trend in QQQQ and NQ. If I see a declining Nasdaq TRIN and advancers uptrending but the index just ranging, I will often load up in this range for a highly probable move up.

It seems to me that in these highly risk conscious and arbitraged markets, a trend is more likely to manifest in breadth of stocks participating, more so than a few stocks making big moves. People would rather buy stocks that haven't moved yet than continue buying those that already have. This, in part, contributes to the mean reversion tendency of the most recent regime. These are just my observations.

F

Marc said...

Hi Brett,

As an index trader, I look at several indicators, both intraday and historically. The A/D, Accum/Dist, OBV, RSI, Momentum, MACD and Volume are my main indicators (moving averages of these help to spot trend changes). I'm looking at the tick a lot more now after being a reader of your site.

The other indicators I use are less obvious. Bullish/bearish sentiment, seasonality, money flow, energy prices and the Fed seem to predict larger moves but the time frames aren't always that clear. Still, it's all about finding and exploiting that edge.

Using market sectors, both present and historical seems like a good way to add to this edge. The main thing I look for is divergence OR too many things going the same direction. In other words, the out of balance condition is what I look for.

Thanks,
Marc

Brett Steenbarger, Ph.D. said...

Hi F.,

Great point re: tracking trends by following breadth. I do think the measures published by the exchanges are helpful for the traders of SPY/ES and QQQQ/NQ. Increasingly, however, we'll see similar kinds of trade in the sector ETFs, where more customized advance-decline measures will make sense. Also, with the large presence of program trading even among small cap issues, distortions in the traditional advance/declines measures have become increasingly common. IMO, it's much more helpful for a daytrader to know how many stocks are advancing/declining on an open to close basis, than on a close to close basis.

You're right about screening programs becoming unwieldy if you're trying to track everything. A tracking of summary stats would be a great addition to the product. By keeping my list of stocks small but well correlated to my index, I don't find the tracking in real time to be burdensome.

Thanks for the observations--

Brett

Brett Steenbarger, Ph.D. said...

Hi Marc,

Great points and observations. As ETFs gain volume, they'll be increasingly helpful as proxies for assessing sector strength and weakness, identifying leading stocks, etc.

Brett

F. said...

"Also, with the large presence of program trading even among small cap issues, distortions in the traditional advance/declines measures have become increasingly common."

I never considered this point of view. Thanks for the heads up, Dr. Brett.

Marc,

You say that you track OBV as a main indicator, but then later say you track moneyflow. I have always used OBV as a good indicator for moneyflow into and out of a market. Personally, it has worked best on longer timeframes. Tradermike had a good chart up recently showing $COMP's longer term bullish OBV divergence. I don't use many pop indicators but do think OBV is a great one.

F. said...

Dr. Brett,

After reading your most recent book, I started a daily habit of reading articles on the Spec List. I read this article recently re: conservation of money: http://www.dailyspeculations.com/
wordpress/?p=897

I have experienced some false signals now and then using advancers/decliners probably due to program trading in small cap issues as you mentioned. One possible way to filter out this program noise is to consider the decliners data as well. In light of that conservation article, if the number of decliners decreases sharply as the number of advancers increases, this shows real moneyflow from bears to bulls. The traders are selling securities to buy other securities. This is different from program trading where the computers just try to arb out correlation inefficiencies between small cap stock prices and the index or correlated sectors, right? Just a thought.

F. said...

Sorry, instead of "The traders are selling securities to buy other securities.", I meant "The traders are covering securities and buying other securities."

Brett Steenbarger, Ph.D. said...

Hi F.,

That's an interesting idea. The program trade, of course, is not just among stock sectors, but between stocks and futures, ETFs and futures, etc. You also have black boxes trading close to the market which buy and sell bundles of futures, set off an extreme premium to cash (high or low), and then trigger compensatory activity among stocks. As a result, you can get extreme levels in the NYSE TICK and jumps in advances/declines without necessarily producing much in the way of price movement. If you can construct a basket of stocks that follow your index but are less involved in those baskets of stocks used for program trades, those might provide "purer" measures of directional market strength/weakness. Thanks for your comments--

Brett

D TradeIdeas said...

A great article. Thank you for the contribution. I thought I would address F's concern in addition to your helpful comments already made:

"Veteran traders will appreciate the fact that Trade-Ideas automates a lot of the ancient art of tape-reading for traders by alerting to the real-time patterns forming that used to hide in the scrolling ticker of information everyone accessed. Looking at the information in a 'meta' way of interpreting the quantity of red breakdowns and green breakouts can be a useful measure of assessing the big picture of who's winning the battle. If you need a more specific measure, here's a tip: separate the breakouts in one window and the breakdowns in another window - both looking at the same universe or stock list. You can then determine whose winning by the number of alerts in each strategy."

Brett Steenbarger, Ph.D. said...

Hi David,

Very nice idea; thanks for passing along. The number of buy and sell alerts from the screens is itself an interesting indicator, as I believe Declan Fallond has observed on his blog--

Brett