Friday, April 9, 2010

Technical Analysis: The Crowd Mentality


The Crowds Around Jesus
During Jesus' ministry, there were many instances of crowds gathering around him.  In the Gospel of Matthew, Jesus started preaching in 4:12, and not long after that, in v. 25 of the same chapter, crowds began to form around him wherever He went.  In chapter 13, the crowds were so large that he had to preach to them from a boat.  In chapter 21, as Jesus was entering into Jerusalem, the crowds laid their cloaks on the group to make a carpet for his donkey to walk on.  However, the crowds were not always on Jesus' side.  During his trial, the Jewish leaders were able to persuade the crowds to have Pontius Pilate release Barabbas, and not Jesus.  Pontius Pilate eventually succumbed to the pressure of the same crowd and condemned Jesus to be nailed to the cross.  These were the same people who had laid their cloaks on the ground a few days earlier!

What was going on?  I would attribute this to the "herd mentality" or "crowd mentality".  Sociologists tell us that people often behave the same way as their peers do.  We know all about that, don't we?  Remember when you were in highschool and your friends all dressed a certain way?  You knew you had to dress that way also in order to fit in.  A few years back, when the show "24" was really popular, a good number of my coworkers talked about it over lunch, and eventually, I got the DVDs.  While it was a good show, the reason for starting in the first place was definitely because I wanted to be able to join in the conversation with my coworkers, and not because of any objective evidence that the show was good.  (By the way, the first 5 seasons were really good!)

Crowds in the Market
It is no different in the stock market.  When others buy a particular stock and drive the price higher, you would likely feel compelled to buy as well, seeing how well the stock is doing.  When the stock is being hammered, you would also want to bail.  It's a little over-simplified, but in general, this is what happens.  Using the past price action of a stock to forecast its future price movement is called technical analysis.  Technical analysis may seem to be very scientific, using averages, standard deviations, regression, etc., but let me assure you, it is an art!  Don't be fooled!

There are a plethora of technical analysis tools available to you, from moving averages to stochastic indicators to Bollinger bands to Fibonacci retracements to MACD (Moving Average Convergence Divergence), etc.    However, in any given day, only 5 pieces of information of a stock is collected: opening price, closing price, high price of the day, low price of the day, and volume of the stock.  Most of the time, the various tools just use the same data in different ways to give seemingly different indications.  In my opinion, it's just the same information.  It's no different whether you use 1 tool or 10 tools in some convoluted combination.  This is where the KISS (keep it simple, stupid) principle really applies.

Which is the Best Tool?
I usually have something like 5 tools/indicators plotted on my stock charts, but when I reflect upon which ones I use the most, I would have to say 95% of the time, I only really look at the exponential moving average (EMA).  A little definition: a moving average is simply the average over a certain period.  So, the 50-day moving average of a stock is simply the average of the closing prices from the last 50 days.  An exponential moving average is one that simply gives more weight to the more recent data.  I like the EMA more than the simple moving average.


Above, you can the graph of S&P500.  By the way, the black and red "bars" are called candlestick chart.  I'm not going to go into candlestick charting here, but a quick google will get you started.  Learn it, it's very useful!  Sorry, where were we?  Yes, EMA!  In the chart above, you will see, in addition to the stock prices, a blue line and a red line.  The blue line is a 30-day EMA and the red line is a 250-day EMA.  The EMA lines can be considered as resistances and/or supports.  You can say that once the stock price goes pass the line, it will be more difficult for it to reverse its motion.  It's kind of like Newton's first law of motion.

With the 30-day EMA, since it is a shorter-term EMA, prices in the short term will find resistance/support.  However, it is not to be used as a long-term resistance/support.  As you can see in the chart of about 18 months, the stock price broke through the 30-day EMA multiple times.  So, I would consider the 30-day EMA a short term tool (unless if you're day trading, then perhaps you need a 30-min EMA).

I really like the 250-day EMA because I don't believe in short-term trading.  My time horizon for any given position can be a few years long.  If you look at the month of July in 2009, S&P500 broke through the 250-day EMA  Since the "strength" of the 250-day EMA is high, it is very difficult for the index to break through unless there is a fundamental shift in the market mentality.  The market is turning from a bearish view to a bullish view.  In February of 2010, the index had a correction and dipped to the 250-day EMA, but once it got close to it, it bounced right back.  This is what we call support.  So, remember, the longer term an EMA is, the stronger it acts as a resistance or a support.  So, it's big news when an index breaks a 250-day EMA!  That's why I'm currently bullish about the market.

If you are a long term investor, like me, then the EMA will get you pretty far.  There's little need for the fancy tools.  However, once you get comfortable with the EMA, it may be wise to explore a little more and see what works for you.  Having said that, EMA has worked well for me.

The one concept that you need to take away from this post is the concept of break out.  Again, I will use the analogy of Newton's first law of motion.  Essentially, Newton says, "If an object is traveling at a certain velocity, unless you exert force on it, it will travel in the same speed and direction forever!"  In the stock market, unless there is sufficient cause for a trend to reverse, it will continue in that direction.  But once you do notice a change in direction (i.e. the breaking out of a stock through an EMA or a resistance/support level), the trend may very well be over.  It doesn't always happen that way though.  The price may break through for a few days and bounce right back to where it was.  So, keep your eye on it when you suspect a break out happening.

Where Can I Get the Tools?
So where can I access these technical analysis tools, you ask?  Yahoo Finance has a pretty good interactive chart.  I also like Stockcharts.com. Either one will be sufficient.

Stockcharts.com also has a good section on chart patterns.  Give that a read when you have time.  From my experience, I like looking for patterns and has typically worked well for me.  I may write a post on that topic, but for now, give Stockcharts.com a read.

Technical analysis is an interesting topic.  Some people swear by it, following their indicators to buy and sell their stock.  Others dismiss it as a black art.  I sit somewhere in between; it's a tool for me to confirm my hypotheses.  Anyway, it is fun to read a chart and be able to find patterns in the apparent chaotic movement of the prices.

It's a little late, but I will wish you a Happy Easter (we're still in the Easter season according to the Catholic calendar, until Pentecost)!  The Lord has risen...enough said!  Alleluia!

Saturday, March 27, 2010

Dividends - A Safe Way to Retire?


A Different Way to Retire: Dividends
I recently picked up, from the library, a book called, "Stop Working: Here's How You Can," by Derek Foster.  Foster is the self-proclaimed "Canada's youngest retiree" (at age 34).  He's written a few books, but this was his first.  It was a fairly easy and interesting read.  Being relatively short, I finished it in a couple of days.  It was also interesting because it was unconventional.  I'll go through the main points of his book here.  If you're interested, grab a copy from the library or Foster's website.  I've put a link on the right.

So what is the conventional way of retiring?  For most people (myself included), it's all about accumulating a large sum of money.  By having this large sum (say $1-2 million), even if you live off the interest, the money should be able to last you well into your golden years.  Since it is not easy to accumulate such an amount of money in a short time, either one has to invest aggressively in the stock market, or one accumulates wealth over a long period of time.  Either may not be the ideal routes for everybody.  Foster presents yet a third way.

Increasing Dividends During a Bear Market
Foster's book can be summarized in one sentence: accumulate stocks/income trusts with steadily increasing yields during a bear market.  Let me illustrate with one of the examples in his book.  He looked at Royal Bank of Canada (Ticker: RY).  In 1995, the stock was at $15.56 and paid a dividend of $0.59/year.  That equates to 3.8% yield per year.  Over the next 9 years, the yield steadily increased and by 2004, it had increased to $2.02/year or 13.0% yield (relative to your initial investment).

Since the stocks that you would buy would be recession-proof stocks with a long history of increasing dividends (e.g. stocks like McDonald's, Proctor & Gamble, Johnson & Johnson), the chances of dividends being cut or the stock depreciating are low.  What you are banking on is an ever increasing yield.  You also rejoice when there's a bear market, because good companies like P&G will likely not decrease dividends even during a bear market, but like most other companies, its stock value will decrease.  When this happens, the effective yield of the stock goes up (i.e. the amount of dividends remain the same while the stock price decreases).  So, for Foster, the lower the stock price goes, the better.

An Example from 2009
If you had bought Proctor and Gamble (Ticker: PG) in March 2009, you would have been able to buy it for $47 (stock price is now around $64).  The dividend paid for 2009 is $1.72 or 3.7%.  Looking at the history of the dividend increases, the dividends double every 5 year or so.  So, in 10 years, if the dividend increases follow what has occurred in the last 30 years or so, the yield would be about 14.8%.  If you had placed $100K in P&G stock in March 2009, by 2019, you would be receiving $14,800 per year in dividends.  As time passes, this amount would continue to increase, at a much faster pace than inflation.  So, you will get wealthier and wealthier!

How Much Do You Need to Retire?
Foster shows a sample portfolio in his book, which I suspect is fairly close to what his portfolio looked like.  The "sample" portfolio cost $100K and by the time of his retirement, was worth about $330K.  The dividends from this portfolio was $18,845.  There are, however, a few caveats with this method: i) you need to have paid off your mortgage, ii) you definitely can't live like a king, iii) if the stocks you own decide to cut dividends, as unlikely as it may seem, you'd be in trouble fairly quickly.

So, Does It Work?
Foster wrote his book in 2005.  As we all know, the Great Recession hit in 2008/9...so, was he able to continue his retirement?  In short, yes, but after some quick googling, I found that he had reportedly sold all of his equities in February of 2009 and had gone into the market of options (soon to be discussed in this blog).  It appears that he has done exactly the opposite of what he has advocated in his first book.  But in the end, he is still semi-retired (he works as an author now, promoting his books).

In my opinion, Foster's method is definitely a viable way of ensuring a steady income.  However, I would still try to accumulate a greater portfolio value before retiring to ensure there's some buffer if another recession hits.  While you may not need $1 million to retire, you may want to have $1 million so you have a safety net if something bad happens.

One last word: if you need to do some retirement planning in this conventional way, be sure to read my previous post on retirement.

Wednesday, March 17, 2010

The Bull Market Rages On!


The bull market is raging on as I predicted in my previous post.  From a technical standpoint, an indication of a continuation of an upward trend is that higher highs and higher lows are being made.  The previous high was made around March 18 at 1150 points on the S&P500.  We are now at 1160.  The previous low was made around February 7 at 1045 points, whereas the low prior to that was made on November 1 at 1029 points.  So, clearly, the "higher highs, higher lows" pattern is still continuing.  But let's be vigilant lest things turn south again.  However, there's not too much data that points in that direction.