Tuesday, September 30, 2008
Tuesday bounce
As a card carrying technical trader I'm ready to roll when the signals trigger, but the fundamentals just don't look that cheery, and you have to wonder what OTHER surprises are likely coming down the pipe. While the "rescue plan" may end the hemorrhaging, it's not likely to stop the bleeding and I don't want my trading account to become collateral damage to some really shoddy triage by our current admins.
Until the LR30 channel maintains a a level plane for several weeks, and/or begins to show upslope momentum, I'll continue to play the markets cautiously, trade small and be ready to hit the exits when the next revelation hits. Capital preservation is Job #1.
Monday, September 29, 2008
Monday pre-close Update
Weekly Pivot Metrics
For those of you who have stuck with me on this study, I'll explain the metrics line by line and retain in the archives for future reference when the coding of the larger mean reversion study is finally complete. That project is turning out to be considerably more effort than I had originally forecast and November now looks like a more reasonable target date for release of a working model. In the meantime, this simple excel spreadsheet has provided a nice tell for the coming week's likely volatility.
R1-S1 is simply the range value for the first levels of support and resistance.
% Range is the value of the R1-S1 divided by the value of the PP pivot.
% Delta is the value of this week's R1-S1 divided by last week's value X 100 to yield a % value.
The next 4 rows are averages of the 3 and 4 week lookback data.
The 4W R/PP is the value of the 4 week average range divided by the 4 week average PP.
Keep in mind that this is a non-directional study. Although it's easy to imply a trend from the progressive weekly data, that's not my primary focus of attention. In conjunction with the 3 Linear Regression study, the weekly pivots are intended to add confirmation to butterfly (and other spreads positions that strictly limit risk and at the same time provide good risk/reward potential.
This week's % delta is the lowest we've seen for several months in my little test basket and the % range in all 4 ETFs is below the 4W R/PP, also a clear change of character.
Friday, September 26, 2008
Weekly Pivots Update
I've added an orange colored block on the pivot range scale to designate the close of the week, just to show how the week's momentum ended. You'll notice right away that the closing values do not correspond exactly with the pivot values, but that's because the pivot values are fixed, so the orange cells are just the closest value to the close that the pivots will allow. I hope that's not too confusing.
Current financial conditions are unprecedented and the impact on the markets still has a long way to go to be sorted out. No news there and, as I've mentioned previously, technical analysis is most effective in providing a trading edge when market parameters are identifiable. This is currently not the case, and it should come as no surprise that volume has almost been chopped in half this week for our little ETF basket as the smart money sits on the sidelines.
IMHO the best course of action at this point is to stand back and avoid becoming collateral damage as the "smartest guys in the room" decide how they'll spend the few remaining tax dollars that are left in the treasury and/or develop some creative new taxes to finance a bailout of the greediest guys in the room, now sanitized as a "financial rescue plan".
For my own account I'm trading small for the time being, focusing on the opening gaps and intraday pivot swings that are my bread and butter. The weekly pivot chart above is now in a position for explosive range expansion. Whether that expansion will come to past next week remains to be seen, but it will happen shortly as the pivot spring is now tightly coiled.
Thursday, September 25, 2008
Thursday's Hope
Supporting Buffett's stance is the current position of the VIX, shown in daily and weekly bars below.
Wednesday, September 24, 2008
NYSE order flow stats
Tuesday, September 23, 2008
Pivots and Fibonacci
My current study of the fibs kicks in after the first 30 minutes and involves setting the fib range between the high and low pivots of the current price. If the current pivot range gets violated for 15 minutes, then I reset the fib range to correspond to the expanded pivot range.
The fibs are easy to set up on most platforms and typically require only snap and click. The difference here is that I'm not using subjective high/low ranges, but the pivots. . which as stand alone support/resistance levels already provide a high level of confidence for my daytrading targets. It's those intrapivot wiggles that can drive me to distraction and frequently cause me to prematurely exit positions that (in hindsight) were better left intact. Using the fibs between the pivots provides an objective overlay of support/resistance to help better assess the impending moves, and when used in conjunction with the 8/16 MAs and the parabolics helps build my confidence when I pull the trigger.
Who would have guessed that a 13th century mathematician's study of rabbit population expansion would lead to applications in the 21st century algorithmic trading dynamics?
Monday, September 22, 2008
3 LRs Update
On the weekly bars only XLE remains in an upslope LR30 primary channel, and although the July channel kiss off has dropped it some 20 points, it looks like the best candidate for mean reversion into the high 70s, a case which is strongly supported by the midpanel technicals. Next best is the Qs, currently sitting on the lower channel band and showing an affinity for a return to 45, although this case is harder with make with the underlying technicals.
Friday, September 19, 2008
Weekly Pivots Update
OK. . .the range expansion that was anticipated as a result of last week's pivot study turned out to be quite BIG! and once again the range % delta is showing doubles (and triples with the IWM).
If you're following my thinking here, the coming week should show a volatility retracement in the pivots as we work off last week's action and a VIX that spiked to over 36. This doesn't imply that prices will necessarily stay within the weekly support resistance LR30 channel . . ., it does imply we'll see range contraction.
Tomorrow I'll take a look at next week's PP pivot levels in conjunction with the 3 LRs study of our little ETF basket for further clues about likely short term mean reversion targets.
Sidenote: With the banning of short selling in 799 financials this morning I thought I was going to have to revise all my systems to delete the short side, but upon a little reflection, the world has not ended for short sellers. ETFs can still be shorted and of course, those wonderful inverse 2x ETFs are still active.
Thursday, September 18, 2008
KOP Qs
Although the vast majority of the systems I have profiled over the past few months have featured IWM, I have not forgotten my beloved Qs and am therefore posting a Qs version of the KOP format.
I actually like this system quite a bit and it's unusual to find this type of risk control with the Qs when not employing stops.
I've merged Grand Slam 2 and the %R RSI2 system and added a couple wild cards to create this simple KOP. The max consecutive losers is very attractive . . 2 for both the long and short side and the max intraday drawdown on the longs is half of the IWM model (short side, a little different story). With 304 trades over 283 weeks, this is an active system with short exposure. . . average 2 days for the longs and 3 days for the shorts.
The downside is that average trade gain is only $43/100 shares so you need to deploy some capital with this system in order to make it worthwhile. A fixed bar exit (BarsSinceEntry) of 8 increases yield a bit and is can easily be tacked on the code.
Something for you to play with but (IMHO) definitely useful as a stand alone short term timing model for the Qs.
TS 2000i code shown below:
For those who don't have TS 8.3 and are considering it, TS is waiving platform fees until 12/31 for new accounts ($5000 minimum). This is not a solicitation or endorsement of TS, just an FYI.
Go to http://www.tradestation.com/ for details, if interested.
Condition1 = PercentR(3) Crosses Below 81 and RSI(Close,2) Crosses Below 77;
Condition2 = PercentR(3) Crosses Above 13 and RSI(Close,2) Crosses Above 27;
Condition3 = RSI(Close,2) > 80 and CCI(7) > 82;
Condition4 = RSI(Close,2) < 31 and CCI(7) < 30;
Condition5 = RSI(Close,2) < 29 and CCI(7) < 39;
Condition6 = RSI(Close,2) > 81 and CCI(7) > 89;
Condition7 = Close > High[1] and High[1] > High[2];
Condition8 = Close Crosses Above Average(close,12) Or LinearRegValue(Close,27, 0) > 50;
If Condition1 OR Condition3 OR Condition7 Then Sell This Bar on Close;
If Condition4 Then ExitShort This Bar on Close;
If Condition2 Then Buy at Market;
If Condition6 Then ExitLong at Market;
If Condition5 Then Buy This Bar on Close;If Condition8 Then ExitLong This Bar on Close;
Tuesday, September 16, 2008
KOP 10 and risk/reward
However, the point of today's post is not to look at the performance of the KOP10 per se, but to look at what happens when we take a fairly robust system (IMHO) and apply pyramiding to the entries.
The KOP16 post included the middle pyramid option. . multiple different entry signals.
In today's KOP10 study we'll look at the risk reward of all 3 options. . . top to bottom.
While the % profitable is almost identical across the models, what does vary significantly is the max intraday drawdown. It should also be noted that pyramiding also requires an increased capital commitment since multiple positions are held before exiting on a common condition.
The difference in max consecutive losers, both long and short, is only 1 between the first two models, while the equity gain is 50% over the original model using 25% more frequent trades.
Max intraday drawdown, however, also increases 50% and this is the added risk.
Where things really get exciting is with the third pyramiding option turned on.
This model squeezes 5 times the gain out of the system where compared to the no pyramiding model and yields a whooping $62K net gain over the same test period on 719 trades (a bit active).
But. . .and this is a big BUT, there are few traders who would put their own money into such a system and for good reason.
First is the max drawdown. . .close to 10K, which is a lot to watch slip away and trust that things will turn out for the better in the end.
Second in the max consecutive losers versus winners which run 1:3 for the longs and 1:5 for the shorts. These aren't great odds in my book and ,although the allure of a $62K gain is enticing, this is a risky way to trade as the model tends to add to losing positions with different entries until the first exit signal appears.
If we just focus on the short side of the lower model, the results look more attractive as they almost mirror the total return of the middle model using the same number of trades.
However, the max intraday drawdown (2.5K) and the consecutive winners/losers ratio (1:5) still favor the middle model for my money.
That being said, the tactic to increase overall equity gain would be to increase position sizing in the middle model rather than buying the risk inherent in the last model.
Condition1 = PercentR(7) Crosses Below 95 and RSI(Close,2)Crosses Below 87;
Condition2 = PercentR(7) Crosses Above 20 and RSI(Close,2) Crosses Above 18;
Condition3 = RSI(Close,2) Crosses Above 20;
Condition4 = RSI(Close,2) Crosses Below 95;
Condition5 = RSI(Close,2) > 90 and CCI(8) > 98;
Condition6 = RSI(Close,2) < 32 and CCI(8) < 32;
Condition7 = RSI(Close,2) > 78 and CCI(8) > 86;
Condition8 = RSI(Close,2) Crosses Below 86 and CCI(8)Crosses Below 86;
Condition9 = RSI(Close,2) < 28 and CCI(8) < 20;
Condition10 = RSI(Close,2) Crosses Above 21 and CCI(8)Crosses Above 23;
If Condition2 OR Condition10 Then Buy at Market;
If Condition1 OR Condition5 OR Condition8 Then Sell This Bar on Close;
If Condition6 Then Buy This Bar on Close;
If Condition3 OR Condition9 Then Exitshort This Bar at Close;
If Condition4 OR Condition7 Then Exitlong This Bar on Close;
Monday, September 15, 2008
Red Monday
Below the NYAD and the reason that long positions today were a risky bet. When it starts at .o4, that should be a solid clue that this gap down might not fill.
Weekly Pivots Update
As mentioned in a previous post, I've added some metrics to the pivot charts in order to get a better view of whether each ETF is experiencing range expansion or contraction. Our goal is to develop some objective criteria that will determine if that contraction or expansion is in mean reversion mode or if a trending mode is building.
To those ends I've added a data row that defines the absolute vale of the R1-S1 range, a data row that calculates that range as a percent of the PP in order to equalize the magnitude of the range relative to the price of the underlying, and a % delta row that expresses the % change in range from the previous week. Keep in mind that these values are percentages, so 100% equals no change, and 50 equals a reduction by 50%.
Looking forward to the coming week, the lowest volatility (% delta) is now the Qs, which stands at only 47% of last week.
Last week saw the Qs R1-S1 range increase by 324% to 4.40, but this weeks range is only 2.05, thereby opening the possibility for renewed expansion.
At the same time, the IWM % delta has fallen from 135 to 83. . . a substantial decline.
While XLE and XLF also continue to display mean reversion behavior, the events of IKE and Lehman are likely to sponsor volatility expansion in those 2 ETFs this week.
The weekly pivot study is an ongoing work in progress and I plan to collect data for at least 2 more weeks before initiating the tracking module. This time lag will give me time to develop and test the background TS code and, hopefully, produce a preliminary working model by early to mid October.
Saturday, September 13, 2008
KOP 16
The KOP uses multiple entries and exits as conditional either/or orders.
Trades will execute if any of the entry signals trigger (entry pyramiding turned on).
Trades will exit when the first exit condition signal triggers.
Performance of the KOP can be "tuned" by adding or deleting entry and/or exit conditions.
Above is a exploratory KOP using signals from the Willams %R study, the Grand Slams and Cheaphooker.
The resultant KOP16 system trades over once a week and has any average holding time, long or short of 4 days.
The system focuses on support/resistance of the RSI, CCI and %R.
This is a trading range system.
KOP16 is designed for IWM only.
Results on any other index will be different. There are no inputs, and hence, no variables.
The equity curve is fairly impressive, although no stops have been applied. A breakeven floor stop will improve performance a bit and you're always encouraged to apply your own favorite stops.
For further testing ideas, I can easily imagine a KOP comprised solely of stop conditions. TS 200oi code is shown below:
Condition1 = PercentR(7) Crosses Below 95 and RSI(Close,2)Crosses Below 87;
Condition2 = PercentR(7) Crosses Above 20 and RSI(Close,2) Crosses Above 18;
Condition3 = RSI(Close,2) Crosses Above 20;
Condition4 = RSI(Close,2) Crosses Below 95;
Condition5 = RSI(Close,2) > 90 and CCI(8) > 98;
Condition6 = RSI(Close,2) < 32 and CCI(8) <32;
Condition7 = RSI(Close,2) < 32 and CCI(8) <32;
Condition8 = RSI(Close,2) > 78 and CCI(8) > 86;
Condition9 = RSI(Close,2) Crosses Below 86 and CCI(8)Crosses Below 86;
Condition10 = RSI(Close,2) < 28 and CCI(8) <20;
Condition11 = RSI(Close,2) Crosses Above 21 and CCI(8)Crosses Above 23;
Condition12 = RSI(Close,2) > 98 and CCI(8) > 98;
Condition13 = DayOfWeek(date)=2 and Close < Average(C,10);
Condition14 = BarsSinceEntry = 16;
Condition15 = DayOfWeek(date)=1 and Close > Average(C,12);
Condition16 = BarsSinceEntry = 14;
If Condition2 OR Condition11 Then Buy at Market;
If Condition1 OR Condition5 OR Condition9 OR Condition15 Then Sell This Bar on Close;
If Condition7 OR Condition13 Then Buy This Bar on Close;
If Condition3 OR Condition6 OR Condition10 Then Exitshort at Close;
If Condition4 OR Condition8 OR Condition12 OR Condition14 Then Exitlong at Market;
If Condition16 Then ExitShort at Market;
Friday, September 12, 2008
Following the NYAD
I've also found it's helpful to watch the action of the 8 and 16 MAs on the NYAD and frequently use the crosses for mid-day entries or exits. While the NYAD will seldom have the width of range of the indices and the slope of the NYAD is typically only a fraction of the indices, this is an important tell for what's really going on with market dynamics. Best monitored with a good vertical aspect in order to detect the signals.
Thursday, September 11, 2008
A Pause on 911
Lest we forget, these are the guys on the firing line. . .men who have seen and heard things that most of us would find hard to imagine . . . and find even harder to experience and then come away sane. If you think trading is scary, you should try walking a few miles in those boots.
With 4,155 service personnel killed to date in this war and 30,244 wounded, these men risk their lives every day in a truly frightening and threatening environment, where the possibility of painful and bloody death, or crippling or disabling injury is very, very real. That they can retain a sense of humor, wit and playfullness is testament to their courage and commitment.
In a war costing $350 million a day in direct costs and probably another $300 million a day in indirect costs, the financial consequences of this ill-conceived debacle will be borne by generations. The psychological, emotional and mental health costs to the participants in this conflict and their families will likely be beyond measure.
I was honored to be able to share a few hours of golf and conversation with these Marines.
My hat's off to them.
What I'm Workng On
Monday, September 08, 2008
Saturday, September 06, 2008
Qs & IWM Weekly Update
Here's an interesting situation:
Last week Qs pivot range R4-S4 = 8.16; IWM R4-S4 = 23.76
Next week Qs pivot range R4-S4 = 25.86; IWM R4 -S4 = 32.16
This is true volatility expansion, with the Qs delta from PP to S1 now just about 3X that of last week.
Above is the 3 linear regression study (30,11,3) of the Qs daily and weekly bars.
For the week, the Qs were off $3.66 or 7.8%. That's the widest range weekly down bar all year and now that the Qs have broken through mid July support, things could get dicey. All the mid-panel daily indicators are solidly oversold, but the weekly chart is showing the probability of more of the same to come and is in a basically neutral mode. The lower LR30 channel support band is pegged at 41.77, which is S1 for the week.
Compared to the Qs, IWM looks almost bullish, with both the daily and weekly mid panel technicals chattering along on a neutral track. The caution here is most obvious on the weekly chart as IWM retraces through LR30 upper channel resistance. If things do get ugly next week and IWM starts to slide, the first target to the downside will be the LR30 mean at 68.83, a half buck below S1.
I expect the Qs pivot range to be significantly narrower next week, as the expansion demonstrated last week was extraordinary. As such, my focus will be on selling premium at every opportunity. With 14 days until expiration, I would normally expect premium decay to start accelerating in the OTMs and the dramatic jump in Qs put premium last week has only added support to my focus on the Qs next week. We shall see.
Thursday, September 04, 2008
See Homer's expression for reality check
Although the daily charts of the Qs and IWM look strikingly similar. I did notice one odd situation in relation to the weekly pivots.
(For those who haven't noticed, I've added the weekly pivots for the Qs and IWM in a panel on the right side of the blog and will update on a weekly basis for the foreseeable future.)
The Qs closed today at 43.67. . . a few pennies below S3.
IWM closed at 71.82. . . about 25% above the S1/PP pivot interval.
Despite the swoon today, for the week IWM is showing considerable relative strength.
That strength was demonstrated in the last hour of the day with IWM upslope for all but the last 5 minutes, while the Qs flashed a hairy top for the first 3 5 minute bars of the last hour and then turned downslope for the last 35 minutes into the close.
Long IWM, short the Qs is the current trend.
Let's see if that holds tomorrow, or if we get a reversal and a return to parity on the pivots.
I'm currently long the Qs (options) at the close in anticipation of at least a modest relief rally.
Wednesday, September 03, 2008
The Butterfly Catcher
The concept is to use spreads (here debit spreads) to capture potentially big gains with a minimal fixed risk loss. The setup can be deployed both directionally and non-directionally, depending on your view of market momentum.
This is another component of the larger Kit of Parts system I mentioned yesterday, and does require the trader to manually enter option strike, price and quantity. There is probably option trading software available that optimizes these parameters and kicks out ready-to-execute orders on the trading platform. Being a troglodyte however, I'm not aware of them but, if you gentle readers, are aware of any, please post as a comment for others to consider.
If you'd like a copy of this EXCEL file, or yesterday's pivot EXCEL post, email bzbtrader@aol.com with "butterfly" and/or "pivot" in the subject line. I'll be happy to send them out. My workload is fairly heavy these days, so if you don't get a response until this weekend, I'm just a little behind.