Friday, 28 November 2008

A Little Bit of TA

A professional technical analyst earning his daily bread

In our own stock-market experience and observation, extending over 50 years, we have not known a single person who has consistently or lastingly made money by thus “following the market”. We do not hesitate to declare that this approach is as fallacious as it is popular.
Benjamin Graham, The Intelligent Investor

No, not T and A. Sorry, web-perv’s, but this entry is about my thoughts on TA – Technical Analysis.

Now, I’m sure we all know what technical analysis is – the use of price charts, in various forms, as a means of making investment decisions. For technical analysis to have any validity, you have to believe that the historical pattern of security trades has some bearing on the future price.

Back when I did my economics degree, I was taught that markets are efficient, that current prices simply reflect all that is known about a security’s propects, and that historical price patterns are no more important than the Brownian motion of gas particles. Of course, pure Efficient Market Hypothesis pretty much rules out any sensible attempt to make excess returns, so if I really believed that I wouldn’t be bothering with this blog (I used to really believe it, which is why I didn’t bother with the stock market for years).

One can, of course, believe in exploitable market inefficiencies without believing in TA; fundamentalists like Ben Graham and his protégé, Warren Buffet, have done very well indeed while dismissing TA as nonsense. And, I must admit, so much of TA simply sets off my bullshit detector: Doji Stars, Elliot Waves, Fibonacci retracements … cought, cough, bollocks … cough, cough …

And yet … the reality is that markets consist of the aggregate actions of human beings, not the random motions of bromide particles. And, the “rational economic man” of classical economic theory is just that – a theory, a yardstick besides which to measure what really happens, but no more than that.

And, the one aspect of TA that I do find convincing is the existence of trends. Mankind is a herd animal; group reinforcement is a powerful instinct. If you doubt that, simply look at recent history: once the trend of unsustainable house price rises got started, look how powerful it was, despite all the warnings, and how long it lasted. Conversely, look now how the consensus has changed.

So, as the saying goes, the trend is your friend until it ends. Trends tend to persist, and if we can devise tools for hitching an early ride, and knowing when to jump off, then we might well make some money. But, how do we define what a trend is, and what signals to use when buying and selling?

I’ve read a great deal on various TA methods, and have tried lots of them, but my favourite is based on a simple moving average-based system. The website http://www.stockcharts.com/, as well as hosting a great selection of free charts, also has a superb FAQ section. Their explanation of moving averages is better than any I could give, but the bottom line is that a moving average is simply a smoothed data series, that makes spotting a trend much easier. Popular moving average measures are the 20-day, 50-day and 200-day moving averages, which may then be described as the short, medium or long-term trend. For example, on any given day, the 20 day moving average will be the average value of prices from the past 20 days (and, because it’s a moving average, will be slightly different the following day). Thus, moving averages are always lagging indicators (the larger the moving average, the longer the lag), although the use of exponential rather than simple moving averages can alter this (see Stockcharts’ explanation if you really want to know).

Why do I prefer moving averages to other trend-identification methods? Well, to my mind, it simply seems more reasonable. Other TA approaches to determining trend lines generally involve drawing arbitrary lines on a chart, which happen to connect preceding daily highs or lows (or daily closing prices, or weekly closes, or some such approach), which looks overly precise to me. A trend is just that: a trend, a general direction which prices have taken recently and which may be continued or discontinued in future. Describing trends with geometrical precision creates a false impression of accuracy (remember that I am a skeptical technical analyst!).

So, how to use moving averages? Well, my preferred method is certainly not original, but is based on a great 2004 article from the sadly defunct http://www.tradertalk.com/ website, entitled A Simple Moving Average Trading System. While the original article appears to have disappeared from the web (and the author was never indicated), you can find a précis of the method on a couple of bulletin boards:

http://www.traderji.com/technical-analysis/21-moving-average-trading-system-15.html
http://forum.incrediblecharts.com/messages/12/546552.html

This method might also be termed the 3x13x39 system, after the three daily moving averages (dma’s) employed, viz.:

3 dma – a proxy for price
13 dma – a proxy for the short term trend
39 dma – a proxy for the intermediate trend

While the 200 dma is mentioned (a proxy for the secular trend), it is not actually used. The most important value is the 39dma, the intermediate trend. When this is flat, it indicates a ranging market, with no clear trend, and therefore no trades should be entered. If the 39dma points down, then the trend is down, so we should be looking for short opportunities; conversely, when the 39dma points up, we should be looking to go long. Entry and exit from trades is determined by the 3/13dma cross-over, viz.:

  1. When the 39dma is moving up, buy when the 3dma crosses up and over the 13dma and/or the 39dma. Close when the 3dma crosses back below the 13dma.
  2. When the 39dma is moving down, sell short when the 3dma crosses below the 13dma and/or the 39dma. Close when the 3dma crosses back above the 13dma.

And … that’s about it (I told you it was simple). However, I have added a complication in the shape of the Relative Strength Index (RSI). Remember that moving averages (of any duration) are, by definition, lagging indicators. In practice, this method will allow you to capture fairly short-to-medium term moves – a (successful) recent example being my last trade involving the Ultrashort DJ Real Estate ETF (SRS), where I netted a 64% profit in a couple of weeks. What it won't do, of course, is get you out at the top or in at the bottom – you will only identify a top or bottom once it has passed (and the 3dma crosses back over or under the 13dma). This can mean you get whipsawed around with hardly any profit, but adding an RSI rule can mitgate this tendency.

What is the RSI (Relative Strength Indicator)? Well, to turn to Stockcharts FAQ again, we see that the RSI compares the magnitude of a stock's recent gains to the magnitude of its recent losses and turns that information into a number that ranges from 0 to 100. What it actually indicates is whether a security is recently (within a specified time period, 14 days being recommended) overbought or oversold. So, what does that mean?

Nothing too arcane, really. Overbought or sold simply means that there's been a lot of recent trading in one direction, and so short-term traders are likely to be thinking of closing soon and booking a profit. In other words, it's an indication that the trend may be nearing its end (and so is no longer your friend!).

The indicator I use is the 14-day RSI, with values of 70 and above indicating an overbought condition, and 30 and below indicating oversold. How do I use it?

Well, I do my 3x13x39dma analysis first. If the dma's suggest buy, I then check the RSI – and don't buy if it's already overbought. Similarly, if the dma's say short, I don't sell when the RSI is oversold. But, this situation is rare (I try to trade only immediately after 3/13dma crosses, to be near the start of the short-term trend).

RSI is more useful when I'm already in a trade, and thinking of taking profits. Let's examine my recent SRS trade, by looking at Yahoo Finance's chart of the iShares DJ US Real Estate ETF (N.B. I always use the charts of the underlying when trading derivative instruments like leveraged ETF's).

I bought SRS on the 10th of November at $129.65, just after the IYR 3dma crossed below the 13dma, thus going short of IYR (SRS is the leveraged inverse version of IYR). I then held SRS all the way until November 20th, when IYR's 14-day RSI had declined to 29.41 – clearly oversold. Now, at that point I could have closed my position in SRS and taken a fat profit, but, because I am both greedy and skeptical, and the oversold indicator is merely an indicator (securities can go on being overbought or oversold for quite some time), what I did instead was to place a stop-loss on my SRS position, just below that day's low (for SRS) of $206.07.

That way, if IYR short-term trend was indeed at an end, I would get out fast and still bank a profit while (conversely) if the trend continued down, I could make even greater gains. As it was, the trend did indeed change, and my stop-loss got me out the next trading day at $205.45. As of November 26th, the 3dma has now crossed the 13dma, so the short-term trend is bullish (but, you should not buy IYR, as the 39dma is still trending down).

So, that's my favourite TA method, in a nutshell. Does it work? Based on personal experience, I'd say yes, it mostly does, although you have to be prepared to be whipsawed out of the odd losing trade. The biggest problem with it is that it is mostly suitable for fairly short-term trading – trends lasting a few weeks at most – rather then the really big secular moves that (in theory) really make serious money. And, of course, you do have to watch your positions more-or-less daily. Thus, I tend to reserve it for leveraged instruments like Ultra ETF's or spread-bets, so that you make big enough short-term wins to override the inevitable failed calls. It's also useful for finessing the sale of something bought for fundamental reasons, but which has since shot up in price.

Monday, 24 November 2008

SRS - taking profits

My stop-loss on SRS kicked in today, getting me out at $205.45 (£136.69). That's a 64% sterling profit in a couple of weeks, so no complaints from me!

Friday, 21 November 2008

SRS - setting a stop

Well, my latest speculation in the Proshares Ultrashort Real Estate ETF (SRS) is going great guns - up over 100% from $129.65, in less than a fortnight! Such is the power of leveraged ETF's.

Looking at the inverse ETF, the iShares Dow Jones US Real Estate (IYR), the 14-day RSI is now in oversold territory (29.41). So, I'm setting a stop-loss on my SRS, just below yesterday's low, at $206.07 - locking in a fat profit, but allowing for further short-term growth.

Monday, 17 November 2008

No time to short Bonds - selling TBT

Ok, maybe I was wrong in thinking that inflation had a decisive short-term advantage. I've just dumped my Ultrashort Lehman 20+ T-bond ETF, at $60.34 (£40.19). While a small dollar loss (as you would expect from a failed speculation) on the purchase price of $62.70 (£39.00), it is, incredibly, a sterling profit of about 3% !

This, I think, tells you all you need to know about the Brown regime's appalling economic mismanagement.

To get back to TBT, well, the point is that the Obama bounce was a feeble creature indeed, and what with my old mates at Citigroup axing another 50,000 jobs (never was there a nicer company to work for), this is no time to be short of US government bonds, no matter how appalling their fundamentals might be.

I expect to return to this trade in good time.

Saturday, 15 November 2008

Synchronicity in Headlines


While I'm sure it's unintended, yesterday's Daily Express front page just about sums it up: ten thousand jobs lost in one day; free soup for every reader. Form an orderly queue by the kitchen now.

They used to tell me I was building a dream, and so I followed the mob,
When there was earth to plow, or guns to bear, I was always there right on the job.
They used to tell me I was building a dream, with peace and glory ahead,
Why should I be standing in line, just waiting for bread?

Wednesday, 12 November 2008

SSO - Over and out

Just a quick note to say that I dumped my Ultra S&P500 ETF shares (SSO) yesterday at $27.91 (about £18.65). That's a sterling loss of about 3%, so not such a bad failed speculation.

Tuesday, 11 November 2008

Ultrashort DJ US Real Estate ETF (SRS) - yet again!

Is the current market a bouncing bomb?

Looks like the current market is doing its best to whipsaw all the short-term traders into oblivion. So, we have a rally before Obama is elected ... and then a decline. Asian (and European) markets jump on news of the Chinese 4 trillion yuan stimulous package (which, unlike the U.K., they can actually afford ... hmm, wonder if they'll be selling off any T-Bonds?) ... and then swoon in the States because of GM and other companies' woes ...

Anyway, my technical signals told me it was time to sell US Real Estate again, and it seemed like a good hedge to my Ultra S&P500 ETF, so once more I have bought the Ultrashort DJ US Real Estate ETF (SRS), this time at $129.65 (about £83.06). I see that it's up by over 14% at close of day, so it's looking good, although I expect another zig tomorrow, following today's zag.

Thursday, 6 November 2008

Bank of England's Shock 150bp cut

The Pound in your toilet

Remember why you have to be a Credit Crunch Investor? I refer you to my post of 2nd September (seems such a long time ago now).

Tuesday, 4 November 2008

Credit Crunch October Portfolio Review

Inflation a winner for now?

Well, the drama has continued over October, with much more action in the CCI portfolio than I anticipated. Let’s have a look at how things went.

Closed positions:

Titanium Metals Corporation (TIE) – my September Contrarian pick blew its stop-loss at $9.26, getting me out at about £5.22 in sterling terms (21.5% loss). Only a small side-bet, so limited damage in overall terms.

Ultrashort QQQ (QID) – my Nasdaq 100 short, bought and sold twice, losing 5% and 25% in the process.

Ultrashort MSCI Emerging Markets (EEV) – also bought and sold twice, losing 2% and 47% in the process.

Ultrashort FTSE/Xinhua China 25 (FXP) – also bought and sold twice, losing 8% and 40% in the process.

Ultrashort DJ US Real Estate (SRS) – bought and sold only once, for a gain of 36%.

Powershares DB US Dollar Index Bullish Fund (UUP) – my September US Dollar Bull pick, sold for a sterling gain of around 17% (fortunately, my biggest single position).

Open positions:

iShares Euro Government Bond 15-30 (IBGL) – my long-dated euro sovereign bond pick, average buy price £116.96, current price £119.00, profit about 1.7%.

Lyxor Gold Bullion Securities (GBS) – my gold bullion pick, added to the CCI portfolio at $81.38 (about £45.57 at the time – 18th September, 2008), current price $74.52 (but £46.59 in sterling!); sterling profit about 2%.

iShares MSCI Singapore Index Fund (EWS) – following Dr Doom into Singapore, bought at $7.66 (£4.59) on 21st October; price $7.37 today (but £4.60 in sterling!); sterling performance flat.

M&G International Sovereign Bond Fund – bought on 24th October at 60.61p; price today 64p; profit 5.5%.

Ultrashort Lehman 20+ Year Treasury (TBT) – bought at $62.70 (about £39.00), current price $63.94 (£39.95); sterling performance flat.

Ultra S&P500 (SSO) – bought at $30.74 (about £19.13), current price $34.26 (£21.40); sterling profit about 12%.

Thoughts (“analysis” is too grand a term for these ramblings):

Both TIE and my Ultrashort ETF’s were very much speculations, so I am not too shocked to have been burned on these. I will try to pay closer attention to the risk/reward ratio on Ultrashort ETF’s in future, though.

The sterling performance of gold (via GBS) is worth noting. Internet gold investment commentary is invariably written from a US dollar perspective, so it is instructive to see a USD decline of some 8.4% actually become a sterling gain of 2%. Gold has not been a poor investment during the last couple of month’s crisis; it’s just that the US dollar has been a better one – as one would expect, given that the Lehman disaster has been highly deflationary. As of last week, however, I believe that has changed.

Ultra S&P500 – way to go! This is, however, IMHO a highly speculative investment – simply a way of cashing in on a medium (at most) term bounce. I do think that President Obama’s coronation will boost this one further, but am keeping a close watch on the technicals.

The relative performance of my two bond holdings is troubling me. Not the M&G fund – 5.5% up in couple of weeks is great stuff for a unit trust. The relative weakness of the IBGL ETF worries me, given my thesis that long-dated euro government bonds should outperform US T-Bonds and British Gilts. Could I be wrong? Could euro zone government finances be ruined even more than the US and UK? True, euro zone debt may be high now, but my thesis is that the Stability and Growth Pact will prevent future growth at the same pace as seems guaranteed for the US and UK. Of course, it could just be the inflation monster knocking IBGL down, but (in that case) why has the M&G fund done so well? One to ponder.

Sunday, 2 November 2008

A Rapid Change of Direction

I wish I had independent rear suspension

No two ways about it, I’ve been whipsawed. Last week’s seriously big rally (the S&P500 up some 14% from the 27th to the 31st) has, in concert with the Fed’s 50-basis point reduction, caused me to change my opinion. At least, in the short-to-medium term.

We have, I think, seen an interim low in the major stock indices. On Thursday, the three-day moving average on the S&P500 broke above the 13-day for the first time since September 3rd. For the moment, I am changing my prognosis: of the two monsters, I expect inflation to now experience a period of ascendancy.

So, here’s what I’ve done about it.

Closing positions:
  1. Ultrashort QQQ (QID) – closed at $64.93 (about £40.40); sterling loss around 25%.
  2. Ultrashort MSCI Emerging Markets (EEV) – closed at $97.50 (about £60.67); sterling loss around 47% (ouch!).
  3. Ultrashort FTSE/Xinhua China 25 (FXP) – closed at $92.36 (about £57.47); sterling loss around 40%.
  4. Powershares DB US Dollar Index Bullish Fund (UUP) – closed at $25.94 (about £16.14); sterling gain around 17% (just as well I had a lot more UUP than QID, EEV and FXP!).

New positions:

  1. Ultrashort Lehman 20+ Year Treasury (TBT) – bought at $62.70 (about £39.00).
  2. Ultra S&P500 (SSO) – bought at $30.74 (about £19.13).