Thursday, April 23, 2009

Oil Price

As I stated in class today, oil prices ($WTIC) have recently made, but not completed, a double top. The chart (click to enlarge) shows this, along with how to calculate the target price. First, it is important to point out that for a double top formation to be completed, market price must break below the neckline, which has not yet happened (also, remember this chart is EOD, or End of Day). The calculation of the lower price target is given on the chart. In the present example, assuming that this pattern is completed, so that price closes below the neckline, the falling price target is just under $40/barrel.

I have drawn a horizontal line at (approximately) that price target. Something interesting emerges: if the target is reached, we can expect a re-test of support that has existed since the beginning of 2009. Notice that there were a few false breakdowns below this support in February, but support there held.

The important question for ECN 335 is the informational content of this formation. In other words, what is this market telling us about the direction of the overall economy, commodity prices, or other factors in the near term?

Start by modeling oil prices (and commodity prices in general): demand for goods (predicated on production), and the strength of the US Dollar are major factors. In addition to these, factors specific to this particular commodity (ex: geopolitical problems concerning oil production) should also be taken into account. Next, view oil price alongside other indicators such as cyclicals ($CYC) and determine whether it is a lagging, coincident, or leading indicator (read Carnes & Slifer's text to help with this).

Friday, April 17, 2009

Gaps and the NASDAQ

On occasion, gaps appear in price charts. These arise almost exclusively in daily and intra-day charts. There are a number of things that cause gaps to emerge in individual stocks, such as news or earnings announcements (positive or negative) coming out after a day's trading has ended, which causes a new equilibrium price that is different enough to gap up or down from the prior day's trading range. Actually, there are several different types of gaps. There is a good article about them at Chart School in StockCharts.com, and another about how to trade gaps on Investopdia.

The reason for this blog post is that the NASDAQ has seen several gaps over the past few weeks. The chart below (click to enlarge) shows this. One thing that many of us who follow the market utilize is the tendency for gaps to be filled. How long it takes for this to occur, however, can vary widely, and it depends on the type of gap (see the articles above). Some, breakaway gaps, for example, can take quite a while to fill, if they even end up being filled. At the other extreme is exhaustion gaps, which are very likely to fill (see articles). The gaps in the NASDAQ chart are merely "plain vanilla" or standard gaps. Note an interesting pattern for the last two gaps: they both filled on the third day (almost sounds biblical!). DO NOT make anything of this, it is merely a coincidence.

I do want to point out a trading strategy related to the typical gap. Since gaps tend to eventually fill (again, depending on the type), some traders will essentially place trades that presuppose this. In other words, they trade in the opposite direction of the gap. This is called fading the gap. While I have used this on a number of occasions in the past, I did so with added criteria. So, according to this trading philosophy, if a down gap emerges, go long in anticipation that price will rise and fill the gap.

How likely is it that a gap will be filled in a reasonable time period? Use technical indicators to make this determination. If there is an up gap, for example, and price moves fairly close to resistance and/or the RSI shows an overbought reading, the odds of gap filling are in your favor. It might take longer than you are comfortable with, however. This has a bearing when traders are using options which have a time decay factor that lowers their prices each day as you wait for the filling to occur. Similarly, if a gap down occurs, moving price close to support and/or the RSI is at oversold readings, the likelihood of filling the gap are fairly good. As always, identify either bullish or bearish divergences improves the odds of your being correct even more.

When I originally planned to write this blog, another pattern existed that has now ended. The most likely support for the NASDAQ at present is its 50-day moving average. If a gap emerges that is not very far from the 50-day, and the RSI is at or near an overbought reading, the odds that the gap will be filled as part of a retest of support (at the 50-day moving average) are very favorable.

Let me end this post by transcending exclusive reliance on technical criteria. If you are attempting to determine where price will eventually go, create a price forecast using economic criteria. Identify the primary explanatory variables that will influence price over your time period of interest, then predict what each of them will do. Once you have done this, determine the dominant changes and along with that, your price forecast. For the market as a whole, price depends on interest rates and profit expectations. You then find several variables for each of those factors. At the firm or industry level, the choice of factors can differ. For example, interest rates might not be very influential (ex: consumer staples), or how cyclical the firm or its industry are must be accounted for. That leads to your identifying additional factors to use in your forecast.

Hopefully, it might have crossed your mind that it is also highly useful to incorporate intermarket relationships into this type of analysis. What is the commodity market signaling? How about currencies? The bond market? Put all of this together (as you must for the course paper) and you have a very educated guess about the overall market's direction.

Tuesday, April 7, 2009

Which Way Will the Market Go?

The recent rally has taken a pause at best, and perhaps the recent rally has run its course. While the market has declined for the past two days, today's decline was much larger than Monday, as the S&P fell by almost 20 points back to 815.6. How can we gauge whether this is the end of a rally or merely a pause in an uptrend?

Technical indicators are helpful for this. The following chart (click to enlarge) is the daily S&P performance over the past six months. There are two conflicting signals in this chart. First, note the performance of the RSI. While the S&P has recently risen sharply, that momentum was not confirmed by the RSI (see the lines in the chart). Recall, this is a bearish divergence. But if we work with moving averages, we get a buy signal. In the chart I have added the 20-day and 50-day moving averages. Notice that in the past few days, the 20-day has crossed above the 50-day moving average. This could potentially be considered a buy signal (recall: this is related to the average-marginal relationship we discussed earlier in the semester).

So, which indicator should we rely on? Since moving averages are lagging indicators and a bearish divergence of the RSI is a leading indicator, I would tend to go with the RSI's "signal." But that is still no guarantee that the rally is over -- it merely indicates a short-term pullback is in store which we are now witnessing.

In a situation such as this, you should look at weekly data for whatever information it contains, since weekly data does not contain as much "noise" as does daily price data. The chart below shows weekly S&P data (click to enlarge). I have added the 13-week moving average since this corresponds to a quarter. Note how well this fits the price data.

The weekly RSI shows very different momentum information than does the daily chart. Note the weekly RSI is far from overbought, and there is no bearish divergence. Actually, the RSI has failed for some time to move beyond 50, which would have indicated movement to more bull-market-type momentum.

In this situation, I recommend that you view an RSI value of 50 as resistance for the S&P's price movement. So, based on the weekly RSI, this rally failed at (RSI) resistance. I would only place bets on upward continuation when (and if) the RSI is able to sustain a break above 50. Were this to happen, daily data would clearly have to show an end to the recent pullback.