Wednesday, April 15, 2009
Choosing a timeframe
One issue that I keep running up against is what timeframe to use for medium term trading?
I plot the monthly pivot points and use them on my minute charts.
I like the play between the 30, 50 and 200 Simple Moving Averages in conjunction with the pivot points so I figured I would leave them on for longer trades.
I tried daily charts, 60 minute charts, 30 minute charts... today just as a play around I tried the 5 and 10 minute charts...they seem to have the correlation with those averages that looks nice and clean.
Now the idea will not be to use the 5 minute candles to day trade as the plan would be to hold these for the duration of a longer term trend or move so the 5 or 10 (5 seems best) gives enough graduation to allow playing with limit orders during the day for entry and exits and still be able to see days at a time for the overall larger picture.
Interestingly the 5 minute chart for 10 trading days looks so similar to a 1 minute chart over 1 day, except for the EOD gaps, as the monthly pivot points are there and seem to act as support and resistance in a similar manner. I can squeeze one month per page and that looks even more like a day.
I have read a lot about trading different timeframes and being aware of the longer frames as they relate to short term trading but it never really hits home until it is seen in a chart of my own making. Now I can easily see the tendency toward range trading as since the 6th of this month the price of HGD has stayed strictly between the monthly pivot point and 1/2 R1 until breaking it a bit on the upside this afternoon...basically from $7.95 to $8.70ish. That is a 75 cent spread for the last week and a half, most days were not nearly that wide. That helps explain my smaller profits, and more frequent small losses as my trading size is not large enough to take advantage of such small moves yet.
Not that I need an excuse. If I were trading for a living that is exactly what that would be, an excuse, as I would have to be able to handle all markets. To be honest, I should be just changing sectors and trading something else...
To be REALLY honest, I should not be playing with ETFs, I should be playing real stocks. In that case I could just play long and short positions of whatever stock I wished to give me the volatility that I needed for the larger moves. The restriction is, of course, the registered accounts not allowing short selling. That is the whole reason I ended up trading ETFs to get the advantage of buying bull and bear funds.
So I will stick to the ETFs for the time being and considering adding some longer term trades in my TFSA, perhaps some banks when I feel that the time is right.
Jeff.
Friday, March 27, 2009
March Madness, in the medium term...
Esignals.
They provide a fairly robust charting package which gives me almost everything that I would look for in a trading software package...for now. The reason I mention it over here is that it has some nice features that will translate well for medium term trading.
Specifically the ability to plot pivot points for varying timeframes automatically. While this is a great benefit for day trading it has it's advantages in longer term trading as well. Particularly when I can go back in historical studies and see the old pivot points plotted in the past without having to do any number crunching and manual plotting.
Now I had to do a bit of basic style programming to get what I wanted but it certainly will pay off in the long run.
About paying...this is not a cheap package deal. The cost is $125 per month plus about $40 in data access fees. Now the data access is expensive only because I want level 2 market depth quotes, otherwise I could get away with under $10 in fees...$2 extra if I wanted NYSE data. I think I could get delayed or end of day data for no extra charge too.
Anyway. I have a 30 day trial after which time I will have to pay for the past 30 days, so it is not free, just a money back guarantee. So I am one week down now and I have all my setups in and pages configured how I need them for now. I am sure that I may tweak them later but I need to get trading to get a feel for how this will work...and make some money to pay for the extra expense.
I worked out the cost benefit and decided that over my normal 60 trades per month it is the same as taking my commission/ECN fee from about $5.40 to $8.80.
All this because I decided that I need better data flow for my trading...I don't really need it for medium term trading but I will definitely take advantage of the conveniences available.
That's all for now.
Jeff.
Wednesday, March 18, 2009
RRSP account ready to fly now.
Now I want to get some decent dividend stocks on the wish list mixed up in financials, energy, perhaps some gold and a trust or two. I have a bunch that I am familiar with so I will start going over those this weekend.
Generally speaking the financial and energy sectors have had a decent rally so I will wait for the pullback to enter these.
Meanwhile, I may buy some of the Horizons BetaPro bear ETFs for these sectors as they weaken in preparation for the decline. Seeing as I cannot just short sell the stocks themselves. I am considering just using the bear ETFs as a hedge in order to remain in the dividend positions. In theory I should be able to gain on the ETF twice the loss of the stock, roughly, due to their leverged effect. If that works out OK then it lets me remain long in the stock and still collect any dividends and perhaps use the synthetic DRIP method as well as still growing my portfolio.
Hedging with bear ETFs can eliminate the need for setting stops on good dividend stocks. I will eventually need to compare that plan with using the protective put strategy but I feel that the puts are a good hedge plan for large positions, not me yet.
In order to take advantage of synthetic DRIPping I need to have a position large enough that the dividend payment equals at least one share value or it just gets deposited as cash.
The upside is that each position will grow, slowly at first, the down side is once I have an odd lot I can no longer use stops, not really a concern though. Alternately is the idea of just letting the cash grow and adding to positions manually, preferably in even lots. This lets me add my cash contributions to the dividend cash and pick and choose exactly where to best spend the money at the time, perhaps not even on of the existing positions.
Lots to think about anyway.
Monday, March 16, 2009
Bear or bull? The market is never wrong.
I have not been doing too much other than a little additional research into my longer term trading ideas lately. My RRSP account that I am going to use for these longer term trades is just online now, I need to wait while it gets linked to my main trading platform so I can use any of my accounts just by selecting a tab. Very handy.
Last night I was reviewing the state of the market in general and I noticed how the TSX was weakening. While everyone was going on about the rally and how it may indicate the end of the recessions (HUH?) the charts are pretty obviously not agreeing, the charts represent everyone who has a stake in actually putting their money on the line based on the market. declining volume on increasing price looks like it's time to get short to me...so a limit order on HSD (Horizons Beta Pro S&P 500 Bear ETF) for $37 was my target. I cannot short in my registered accounts so this is the next best thing.
I was spending some time updating my trading software at lunch and spending some time online with the broker to clear up a few issues so I checked into the HSD chart... the low today was $36.70...so I would be in at $37 give or take a cent. If I had been watching it during the day I may have gotten in a bit lower. Either way I would stop this at $36 as if it breaks $36 I was wrong on the trade.
Ideally I might wait until today was done and gauge the entry for tomorrow seeing as the range is pretty narrow. For curiosity I will go with $37 and see what happens.
Jeff.
Tuesday, February 24, 2009
Timeframe shift.
So, in the interest of figuring out what is the best approach to get going on I decided to play with the timeframes.
In my daytrading the pivot points are based on the previous day's high low and close, this is the pivot point period. Seeing as there are 390 minutes in a day that makes the base pivot point period (1 day) almost 400 times larger than my trading period (1 minute). I used an intraday chart and plotted 5 minute bars instead of 1 minute bars, it becomes almost untradeable based on the daily pivot points and the ratio is 1:78.
I figured that I should use some similarly large ratio to use for the longer term trades. One month pivot point period used to trade an 30 minute chart is 1:260. Now my stockcharts does not allow 30 minute charts past a certain timeframe so I cannot create a 30 minute for December and still have the averages correct, so I cheated and used the hour chart (longer hourly history available) and just divided the averages by 2. So a 200sma in the 30 minute timeframe is the same as a 100sma in an hourly timeframe.
Here is the same chart for BVF that I started out with before, only in the 1 hour period with the equivalent of moving averages for the 30 minute timeframe.
Red arrows are short sales, green arrows are long. I circled the trades that use the sma for entry or exit. The assumption is that every trade is taken either as the price moves away from the respective line or is crossing and past, the trade is taken in the direction of the move. It's a little more complicated than that as some of this is based upon just doing the trades and knowing how it moves and when to jump in and out. No trades are held for a loss, breakeven before commissions are deducted but the trade is exited before it can go in to the red.
16 trades, $4.05 per share profit. In my case I would be trading 400 shares so the net would be $1428. Now this is not in a tax sheltered account due to the shorts so I would lose marginal income tax off of that, say net after taxes might be around $800. Apply my fudge factor here and the total comes down to $560.
The 400 shares is base upon a $5K working capital. I would plan to have two other trades of a similar value at the same time as I have no qualms about using margin. That should be able to triple my potential returns. Yes, it could triple possible losses if I let a trade go for a loss. Assume that all trades in December were about as profitable the total take could be in the $1500 range.
This obviously needs to be checked out more thoroughly before actually being put to the test, but it is a start.
Next I will play with another timeframe and averages, get this going more long term.
Jeff.
Saturday, February 14, 2009
The ETF angle for medium term trading
Having said that this particular interest caught my attention and leads me to check into ETFs a little closer.
Link to my post about ETFs from my daytrading blog.
Another link with more particulars and other links to Horizons BetaPro ETFs.
I took a table from the Horizons site, exported it into a spreadsheet and ran a few numbers to get a feel for how the ETFs seem to behave. I figured out some ratios to see a few relationships. Now these may not mean much as a single day snapshot so I may have to track them for a bit but they are interesting none the less.
RELATIVE VOLUME (Relative to the outstanding shares)
To get an idea of the interest in a particular fund I divide the volume for the day by the outstanding shares. I figure that the closer to 1 this number is the higher the trading interest, this is relevant more to compare the bear vs the bull of the same ETF than comparing anything between the various ETFs, although higher interest ratios can lead to at least better liquidity. Interestingly the bear crude oil ETF, HOD, was ahead as it traded more than the number of shares in circulation by a ratio of 1.57:1.
Top five in relative volume:
1.57 - Crude Oil Bear (HOD)
0.48 - Natural Gas Bear (HND)
0.43 - Crude Oil Bull (HOU)
0.31 - Global Gold Bear (HGD)
0.18 - S&P 500 series Bear (HSD)
I'm not sure if this really means anything but the rankings were interesting to note.
PERCENTAGE CHANGE CORRELATION
This shows that the inverse funds track well together...when one goes up the other goes down a corresponding percentage. I think that this is a very important factor in trading these funds as a bear that wildly varies in the inverse relationship from the bull creates an unpredictable result when trying to trade them based on the index that they are supposed to be following...they cannot be tracking well and with less correlation, the worse they are at that.
I used the percentage price change of the last day between the bear and bull of the same fund. I divide the increase of one by the decrease of the other then also calculate the decrease by the increase. If they are tracking well I would expect both numbers to be close to 1. They were not all, so to make the results easier to see quickly I just use the difference between the two calculations. The closer to zero this number is the closer the overall correlation.
The top five in percentage change correlation:
0.02 - TSX 60 series (HXU/HXD)
0.07 - Global Gold (HGU/HGD)
0.08 - S&P 500 series (HSU/HSD)
0.13 - Financial series (HFU/HFD)
0.29 - Crude Oil (HOU/HOD)
MEAN VARIANCE
The last number that I noted was the Mean Variance or how far away from the mean of the two funds, bear and bull, the current prices were as a percentage of the mean. This sort of falls into the category of Reversion to the Mean as a method of determining the probability of a trade.
I think, but have not thought long on this, that the mean might represent the underlying index if it were represented as a number relating to the two derivative funds and charted over time. In theory I would expect that the funds would track equally on either side of this number...but they won't in practise I am sure. So it may serve as a snapshot indication of the current state of the price only. I would like to see a large variance to consider a larger likely price change to return to the mean...which should happen at some point.
The top five in wide mean variance:
88% - Natural Gas (HNU/HND)
80% - Financials (HFU/HFD)
76% - Crude Oil (HOU/HOD)
70% - S&P 500 (HSU/HSD)
69% - NASDAQ 100 (HQU/HQD)
So, after playing with these numbers it is interesting to see who has the best showing in the top five lists, I suppose that I could have easily guessed this answer without doing any of these calculations. Having said that, it suggests that perhaps my spreadsheet may be useful in the future when it is not quite so "cut and dried".
Crude Oil. Both the bear and bull funds made the high relative volume list and placed in the change correlation and wide mean variance lists as well.
I was surprised to see the S&P 500 show on all three lists as well. I think I may have a closer look at these fund offerings to see if they match my other normal criteria.
Do note that these are not recommendations for trading any of these funds even though I will probably check them out closer and perhaps even do some trading on them myself...afterall, that is the only real way to prove an idea one way or the other.
Jeff.
Tuesday, February 10, 2009
BVF, Biovail December week two
On the Friday the price hit the S1 point and "bounced". Given the proximity to the 50sma as resistance and the potential for a target of the 200sma and/or the Primary Pivot Point it would be worth the entry long, at least for the day. Since I have been day trading I no longer like keeping a trade overnight let alone over the weekend but I used to do this fairly regularly before, so let's go with it. This is not a commodity related stock so it is not as prone to weekend gaps like gold and oil might be.
Chart for BVF week two in December.
So, I was in on the previous Friday, held over the weekend and watched the activity after Monday.
While I have not figured a stop plan into this yet, I would likely go with something like:
"Should the price change from one PP to the next, the stop should be set to half of the distance between the PPs. This guarantees 1/2 of the first target profits as the first target is always the next PP. This is set regardless what the volatility, technical setup or other indicators might intimate, the target is the next PP and profit."
I might amend this to setting the stop to 1/2 of the move...I will consider that after seeing how the testing turns out.
Back to the chart. The red exit arrows are on Wednesday and Thursday. Seeing as the initial target was the blue PP, the price breached R1, so I would already be past the second target, exit here anywhere as profit is already achieved. Letting the winners run is not part of the plan at this point but there is no sense in just cutting them short. So, let's apply the rules for stops as they appear so far:
Monday breaches R1. Set the stop at R1 for Tuesday.
It does not get hit so move the stop to 1/2 of the move.
The R1 is $11.32, the high for Tuesday is $11.65...so stop for $11.49.
I could either set a VTSO or just go with the stops or spend some time in the morning watching the activity to determine where I might want to exit. I'll just go with the hard stops for the purpose of this testing though.
Buy $10.40 Sell $11.49 Gain $1.09 ps Return 10.5%
Jeff.
