All posts by admin

Updating My Seasonal Trends Trading Strategy (Part 1)

In my book “Seasonal Stock Market Trends” I pulled a variety of well known (and not so well known) seasonal stock market trends (what else?) into a composite index referred to as the Known Trends Index”, or KTI for short.  Sure, if I was a marketing guy I would’ve opted for something more along the lines of “Jay’s Hidden Order in the Stock Market Revealed” Index.  Alas, the marketing gene apparently skips a generation in the Kaeppel Family.
No matter. The gist is this:
The KTI is comprised of 13 indicators (including The Election Cycle, Trading Days of The Month, Sell In May and Go Away, the Summer Rally, the 40-Week Cycle, the 212-Week Cycle, Trading around Holidays and 6 others, each with specific bullish, bearish or neutral criteria) and has historically ranged from a high reading of +8 to a low reading of -1.
Using the KTI to Trade
The more seasonal trends that are favorable at a given point in time the higher the KTI and vice versa.  The theory is that higher KTI readings suggest more favorable conditions for the stock market than do lower KTI readings.
Does this theory hold true in reality?  Take a look at Figures 1 and 2 and decide for yourself.
Figure 1 displays the growth of $1,000 invested in the Dow Jones Industrials Average (price only, no dividends included) only on those days when the KTI reads +5 or higher, starting on December 1st, 1933.
1
Figure 1 – Growth of $1,000 invested in Dow Industrials only when KTI >= +5; 12/1/1933 through 5/22/2015
Compare and contrast the results displayed in Figure 1 to the results that appear in Figure 2.  Figure 2 displays the growth of $1,000 invested in the Dow Jones Industrials Average (price only, no dividends included) only on those days when the KTI reads +1 or less, starting on December 1st, 1933.
2
Figure 2 – Growth of $1,000 invested in Dow Industrials only when KTI <= +1; 12/1/1933 through 5/22/2015
For the record:
*$1,000 invested in the Dow only when the KTI >= +5 grew +5,470%
*$1,000 invested in the Dow only when the KTI <= +1 declined (-96.1%)
This dichotomy in performance is what we quantitative analyst types refer to in our highly technical terms as “statistically significant.”
Under the category of “What have you done for me lately”, Figure 3 displays the results generated from holding the Dow Industrials when KTI >= +5 versus KTI <= +1 since 12/31/1994.
1a
Figure 4 – Growth of $1,000 invested in Dow  Industrials when KTI>= +5 (red line) versus $1,000 invested in Dow Industrials when KTI<= +1 (blue line); 12/31/1994-5/22/2015
One problem with all of this information (going back to 1934) is that:
*The days for which the KTI >=5 represents only 14.65% of all trading days
*The days for which the KTI <=1 represents only 21.56% of all trading days
So what about all the other days?  Figure 3 displays the performance of the Dow during all days since 12/1/1933 when the KTI was between +2 and +4.
3
Figure 3 – Growth of $1,000 invested in Dow Industrials only when KTI = +2 or +3 or +4; 12/1/1933 through 5/22/2015
*The good news is that the net gain was +8,500%. Which is what we quantitative analyst types refer to in our highly technical terms as “not too shabby.”
*The bad news is that investing only on days when the KTI read +2, +3 or +4 witnessed a drawdown of -38% in 1938 and a massive drawdown of -57% in 2008 (i.e., “Shabby”).
So how to put it altogether and actually trade?
Simple. Stay tuned for Part 2.
Jay Kaeppel
Chief Market Analyst at JayOnTheMarkets.com and AIQ TradingExpert Pro (http://www.aiq.com) client

Basket Trading Using A Directed Acyclic Graph

The AIQ code based on Dave Cline’s article in this issue, “Basket Trading Using A Directed Acyclic Graph,” is provided at www.TradersEdgeSystems.com/traderstips.htm, and is also shown here. Acyclic graphs is a means of using a type of network graph called a directed acyclic graph or DAG in choosing a basket of securities for trading a continuously rebalanced portfolio.

!BASKET TRADING USING A DIRECTED ACYCLIC GRAPH

!Author: Dave Cline, TASC April 2015

!Coded by: Richard Denning 2/10/2015

!www.TradersEdgeSystems.com



!Len is the number of lookback days.

!L1 is the first ticker in the list that you want to compare your list to.

!L2 is the second ticker in the list that you want to compare your list to etc

!You must create a list of 20 or less symbols of interest then type in the same 

!symbols in the same alpha order as your list. If there are less than 20 just use " "

!but do not delete the input as there must be L1 through L20 inputs defined:



!INPUTS: 

Len is 250.

L1 is "ADBE".

L2 is "ADI".

L3 is "ADP".

L4 is "AKAM".

L5 is "ALTR".

L6 is "AMAT".

L7 is "FOX".

L8 is "INTU".

L9 is "LLTC".

L10 is "LMCA".

L11 is "LRCX".

L12 is "LVNTA".

L13 is "NTAP".

L14 is "NVDA".

L15 is "NXPI".

L16 is "PAYX".

L17 is "SIRI".

L18 is "TRIP".

L19 is "TXN".

L20 is "VIAB".



!CODE TO CALCULATE PEARSONS r AND r SQUARED:

ChgOC is (([close]-[open])/[open]) * 100.

SumY is Sum(ChgOC, Len).

SumYsq is Sum(ChgOC*ChgOC, Len).

SSy is SumYsq - ( (SumY * SumY) / Len ).



ChgOCL1 is TickerUDF(L1, ChgOC).

SumXsq1 is Sum(ChgOCL1*ChgOCL1, Len).

SumX1 is Sum(ChgOCL1, Len).

SumXY1 is Sum(ChgOC*ChgOCL1, Len).

SP1 is SumXY1 - ( (SumX1 * SumY) / Len ).

SSx1 is SumXsq1 - ( (SumX1 * SumX1) / Len ).

PearR1 is SP1/SQRT(SSx1*SSy).

PearRsq1 is ( PearR1 * PearR1 ).



ChgOCL2 is TickerUDF(L2, ChgOC).

SumXsq2 is Sum(ChgOCL2*ChgOCL2, Len).

SumX2 is Sum(ChgOCL2, Len).

SumXY2 is Sum(ChgOC*ChgOCL2, Len).

SP2 is SumXY2 - ( (SumX2 * SumY) / Len ).

SSx2 is SumXsq2 - ( (SumX2 * SumX2) / Len ).

PearR2 is SP2/SQRT(SSx2*SSy).

PearRsq2 is ( PearR2 * PearR2 ).



ChgOCL3 is TickerUDF(L3, ChgOC).

SumXsq3 is Sum(ChgOCL3*ChgOCL3, Len).

SumX3 is Sum(ChgOCL3, Len).

SumXY3 is Sum(ChgOC*ChgOCL3, Len).

SP3 is SumXY3 - ( (SumX3 * SumY) / Len ).

SSx3 is SumXsq3 - ( (SumX3 * SumX3) / Len ).

PearR3 is SP3/SQRT(SSx3*SSy).

PearRsq3 is ( PearR3 * PearR3 ).



ChgOCL4 is TickerUDF(L4, ChgOC).

SumXsq4 is Sum(ChgOCL4*ChgOCL4, Len).

SumX4 is Sum(ChgOCL4, Len).

SumXY4 is Sum(ChgOC*ChgOCL4, Len).

SP4 is SumXY4 - ( (SumX4 * SumY) / Len ).

SSx4 is SumXsq4 - ( (SumX4 * SumX4) / Len ).

PearR4 is SP4/SQRT(SSx4*SSy).

PearRsq4 is ( PearR4 * PearR4 ).



ChgOCL5 is TickerUDF(L5, ChgOC).

SumXsq5 is Sum(ChgOCL5*ChgOCL5, Len).

SumX5 is Sum(ChgOCL5, Len).

SumXY5 is Sum(ChgOC*ChgOCL5, Len).

SP5 is SumXY5 - ( (SumX5 * SumY) / Len ).
—Richard Denning info@TradersEdgeSystems.com for AIQ Systems

	

Biotech – Buying Opportunity or the End-of-the-Line?

If you want to talk “performance”, it’s pretty tough to beat that of biotech stocks in recent years. A quick glance at Figure 1 – a monthly bar chart for ticker IBB, the iShares biotech ETF – is sure to leave many investors shaking their heads wondering “how the heck did I not get in on that?”
1
Figure 1 – Ticker IBB Monthly (Courtesy: AIQ TradingExpert)
It doesn’t get much better than that.
Are the Good Times Really Over for Biotech?
Still, perspective is always in the eye of the beholder (no wait, that’s “beauty”.  Well, you get the idea). A glance at Figure 2 – a daily bar chart for IBB – clearly shows a stock that has lost momentum and seemingly “run out of steam”.
2Figure 2 – Ticker IBB Daily with MACD and Rate-of-Change indicators (Courtesy AIQ TradingExpert)
So is this finally “The Top” for biotechs? Well, it’s possible. But as a good little trend-follower, there is at least one other way to view recent biotech action.
A Buying Opportunity in Biotech?
Figure 3 displays ticker IBB along with my RSI Everything Indicator and a 200-day moving average. RSI Everything readings of -32 or less have highlighted a number of good buying opportunities in the recent past.
3Figure 3 – Ticker IBB with 200-day moving average and RSI Everything readings under -32 (Courtesy AIQ TradingExpert)
Sometimes the -32 reading has been a little “early” and a further decline followed. But on many occasions the -32 reading proved to be an excellent time to buy biotech.
Factoring in Seasonalilty
Biotech stocks (with performance measured using Fidelity Select Biotech, ticker FBIOX) have showed a tendency to perform well between the end of the 5th trading day of April and the 4th trading day of June.
The growth of $1,000 invested in ticker FBIOX only during this period since 1989 appears in Figure 4.
4
Figure 4 – Growth of $1,000 invested in ticker FBIOX from April Trading Day 5 through June Trading Day 4 (1989-present)
What To Do, What To Do?
The clear take away from the information shown so far is simple: there is no way to know for sure if the recent top in biotech was “the Top” or if the recent decline is a buying opportunity. But given the recent history of IBB and the slightly favorable seasonal trend, there is a way to play for a trader who at the very least feels that biotech is not about to collapse”
Figures 5 and 6 are generated from www.OptionsAnalysis.com and display a strategy known as a “bull put spread” using options on ticker IBB. Two important points should be made up front:
1. This is not a “Recommendation”. It is intended to serve only as an example of “one way to play the game.”
2. Options on ticker IBB have some seriously wide bid/ask spreads. This trade assumes that, a) a limit order was used and managed to get filled, b) at the midpoint of bid/ask spread for the two options used in the trade.
*This trade involves selling the June 315 put and buying the June 305 put.
*The profit potential for a 1-lot is $150 (or 17.65%)
*The maximum risk is $850
*As this is written ticker IBB is trading at $344.81 and the breakeven price for this position is $313.50.
5Figure 5 – IBB June 315-305 Bull Put Spread (Courtesy: www.OptionsAnalysis.com)
6Figure 6 – IBB June 315-305 Bull Put Spread (Courtesy: www.OptionsAnalysis.com)
While the maximum risk on this trade is $850, a close look at Figure 6 reveals that a trader could presumably cut is or her loss at a much lower amount. For example, if a trader decided to exit the position if IBB falls under say $330, the expected loss would be somewhere between $75 and $225, depending on whether the break occurs later or sooner.
A trader could also consider giving biotech a “wider berth” and hold on unless and until IBB drops below the 315 strike price.    In that case the risk would be roughly $400 (Reminder for Traders: these are decisions that should be made BEFORE you enter a trade, not during the “heat of battle”).
Summary
The reason that markets “fluctuate” is because different investors and traders can view the exact same situation in different ways. As we have seen here, it is possible to make a good case that the long, large advance in biotech stocks has finally run out of steam. It is also possible to make a good case that the recent decline in biotech stocks is just another buying opportunity.
We have also seen that it can be possible – via the use of options – to make money as long as biotech stocks don’t completely come apart.
At least, that’s how I see it.  How about you?
Jay Kaeppel  
Chief Market Analyst at JayOnTheMarkets.com and AIQ TradingExpert Pro (http://www.aiq.com) client
http://jayonthemarkets.com/

REMINDER: Important Changes to Your AIQ TradingExpert Pro Service

At the end of April 2015 Track Data will no
longer be providing real-time data to clients
End of day data for the AIQ Data Retrieval will
be continuing and you will be able to update your AIQ data files as normal. AIQ
is now actively programming to Interactive Data Corporation as the new real
time provider. Once we are satisfied with the new interface we will be offering
delayed, real-time and end of day service into TradingExpert Pro with
Interactive Data Corporation.  The anticipated release date for the
new provider is May 31, 2015.

In the interim period we are going to
continue offering full support for your TradingExpert Pro
 service with end of day data at $74/mo.

There is a browser-based delayed data and end of
day charting program on the AIQ web site that you can utilize during this
transition period. The charting program has a wealth of technical indicators
and is available FREE of charge during the transition at http://aiqsystems.com/browsercharts.html.
Real time data is
also available starting at $9.95 from https://www.tradingview.com/gopro/
A short video on this important change can be found at www.aiqsystems.com
Frequently
asked questions are at www.aiqsystems.com/FAQtransition.html
Have
questions?  Please contact Barbara at 800-332-2999, 775-832-2798 or
email sales@aiqsystems.com
We appreciate your
business and look forward to serving your trading and investing needs going
forward.

Words to Trade By

For the record, this is not a “new” article. I have posted something very similar to this at various venues a few times since 2004. Still, I have found that none of this stuff ever seems to become “outdated.” I think this is because despite the quantum leap in trading knowledge and computer power in recent times, that pesky thing known as “human nature” remains relatively unchanged. So, repeating now:
One useful exercise for all traders and investors is once in awhile to go back to “basics”. To wit:
While I am very much an advocate of systematic trading, success or failure ultimately comes down to what goes on between the ears. So consider the following thoughts …
Too many traders enter the markets without the slightest realistic idea as to how they will succeed in the long run. Does that sound like a plan for success?
It is essential to trade in a manner that fits your own personality.
There is no “one best way” to trade.
The question that needs to be answered is simply what approach works best for you.
Some traders operate best using a very short-term timeframe. Others operate best using a very longtime timeframe. It is critical to understand your own preference. If you can’t bring yourself to hold a trade for more than a few days, it does you no good to use a longer-term trading approach. Likewise, if you have developed a successful longer-term approach and/or don’t have time to watch a quote screen, it is a mistake to try to day trade.
If you develop some set criteria for entering trades, and if you have some realistic reason to expect this criteria to generate good returns over time, and you follow that criteria consistently, you give yourself the best chance for success.
Your answer to the question “what criteria will I use to exit a trade at a loss” may have more of an impact on your ultimate success or failure as a trader than any other single factor.
The truest thing to know about trading is that there will be losing trades, and that you must be prepared to deal with them, both financially and psychologically.
The key to long term trading success is to select some method that you will use when you have money on the line and then to stick to it once you are actually trading.
Whenever you hear a successful trader say “what you need to do in order to succeed is…” what they should be saying is “what I need to do in order to succeed is…” What you need to do in order to succeed may be different. Likewise it is your responsibility to determine which ideas from other traders are useful to you and which are not (Warning: it’s not always an easy process).
Forming a comprehensive trading plan is your first step toward trading success.
Successful traders learn that the ability to identify the current trend is far more useful than a thousand predictions.
Most successful traders focus first on controlling risk, rather than on how much money they plan/hope to make. In other words, they take care of the losing trades, and the winning trades take care of themselves.
In the final analysis, proper risk control is ultimately what separates the winning traders from the losing traders.
The goal in trading is to make money of course. However, one tradeoff that needs to be considered is the relationship between total profitability and the volatility experienced along the way. If the day-to-day volatility is too great, this will often result in a trader “pulling the plug” at exactly the wrong time.
The ultimate goal is to maximize profitability while minimizing risk. This does not happen by chance. It takes planning, execution and discipline.
Your absolute #1 priority as a trader is to be able to come back and be a trader again tomorrow – never take any risk that might endanger that possibility.
The costliest mistakes in trading are usually made when the pain of losing money (and/or the fear of losing more money) becomes too great. Bottom line: never risk too much at one time.
If you “bet the ranch.” prepare to have your trading account “buy the farm.”
The most cruel paradox in trading is that short-term success can sow the seeds for long-term failure. Beware the trader who has unexpected success and then believes he or she has developed “the touch.”
If you decide that you will exit a particular trade if and when a certain set of criteria is met, then that is exactly what you need to do. The specific chain of events that cause your exit criteria to be met are completely irrelevant.
The markets do not know that you or long or short and do not move in a particular way simply to inflict pain upon you personally. It just seems that way sometimes.
The markets will frustrate you and inflict pain upon you from time to time. This is simply a fact of trading life. The real trick is to not inflict pain upon yourself.
When you succumb to fear or greed or ego, you become your own worst enemy. Knowing yourself as well as you do, do you really want you as your worst enemy?
Too many traders spend too much time saying things like “I should have gotten in sooner,” or “I should have held on longer,” “I can’t believe that stock reversed the minute I got out,” etc., etc., etc. The cure for this is to focus solely on the action of the market from the time you enter the trade until the time you exit the trade. What happened before you got in and after you got out is not important.
Another paradox: it is important to analyze your approach from time to time to see what’s working and what’s not. However, the danger is that if you are constantly tinkering with your existing approach, you may never truly develop the confidence you need to have in it in order to stick with it when the going gets tough.
In the long run, it is not any prediction you might make about what will happen next that will make the biggest difference in your success or failure, but rather how you react when things don’t go the way you expect them to.
Second-guessing a trading decision is the single most simple act in all of trading.
Make no mistake about it, letting a profit run can be a very difficult thing to do psychologically. However, if you are using a longer-term method – which requires at least an occasional “big winner” to offset a lot of small losses, it is imperative to avoid taking profits too soon. Remember the word “discipline.”
Likewise, watching a trade continue to pile on profits after you have exited prematurely is one of the most painful experiences in all of trading.
A lack of discipline can destroy even the most talented and well-prepared trader.
In the end, you – and you alone – are ultimately responsible for your own trading success or failure. Remind yourself of this from time to time.
Working past a really bad trading experience can be very difficult. The key is to understand and accept the simple fact that this is part of life as a trader and to not allow a bad experience to have a negative residual effect on your subsequent trades.
The great paradox of option buying:
Lesson A) to maximize your return on any single trade, buy an inexpensive out-of-the-money option.
Lesson B) to maximize your return in the long rung avoid lesson A.
To put it another way, to make money in the long run, avoid trying to make all the money in the world in the short run.
In choosing which option to buy an option buyer must decide which is more important to him or herself – greater upside potential (out-of-the-money) or a higher probability of profit (further in –the-money). There is no exact right or wrong answer. The problem is that too many traders never ask the question. They simply go for the greatest leverage.
In the long run, due to the negative effect of time decay, option buyers generally are better off reducing their leverage and buying options with some intrinsic value, rather than just buying cheap out-of-the-money options.
The questions you need answers for:
* What is my reason for entering this trade?
* What is my objective in entering this trade?
* What is my maximum profit potential and what is the probability of achieving it?
* What is my maximum risk and what is the probability of achieving that?
* Will I need to adjust this position?
* If so, at what point do I need to adjust and what type of adjustment will likely be required?
Am I going to be able to keep track of this trade closely enough to avoid any potential disasters?
If you don’t have answers for these questions before entering a particular trade, this should be your warning not to take the trade in the first place.
Jay Kaeppel  
Chief Market Analyst at JayOnTheMarkets.com and AIQ TradingExpert Pro (http://www.aiq.com) client
http://jayonthemarkets.com/