Category Archives: jay kaeppel

Prepare to Bounce

2018 sure was a great year for the stock market.  For almost a month anyway.  Since then, not so much.  And on the heels of last week’s selloff a lot of pundits and prognosticators are suggesting more loudly that the Great Bull Run is dead. And maybe they are right.  But maybe not.

It is almost always a mistake to hang your hat on one indicator to guide your actions going forward.  But at the same time, sometimes one indicator generates a signal so clear it perhaps should grab your attention.  Let’s look at one that is on the verge of sending an important signal.

The VixRSIRatio Indicator

This is an indicator that I developed a number of years ago by basically – I am going to use some highly technical terms here to describe the process I followed so please try to stay with me – mashing together several other indicators from other people.  If you are interested in the actual calculations they appear at the end of the article.  For now, just know that I refer to it as VixRSIRatio.  As I follow it, it gives meaningful signals very infrequently.  But that is OK as the signals it does give often prove to be useful.

For our purposes we will apply it to ticker SPY – an ETF that tracks the S&P 500 Index. The rule is simple:

*A “Bullish Alert” occurs when VixRSIRatio drops to -210 or below and then turns up.

That’s it. Now please note the use of the phrase “Bullish Alert” and the lack of the words “You”, “Can’t” and “Lose”, as well as the lack of the phrase “by putting all of your money in the market at the exact moment a signal occurs.”

This is key.  Also note that there is nothing “magic” about the value -210. Nothing scientific about it. It just seems like a useful cutoff.  Now let’s look at the “Bullish Alert” signals in recent years.  They appear in Figures 1 through 4.

1

Figure 1 – Jay’s VixRSIRatio; 2014-2018 (Courtesy AIQ TradingExpert)

2

Figure 2 – Jay’s VixRSIRatio; 2010-2013(Courtesy AIQ TradingExpert)

3

Figure 3 – Jay’s VixRSIRatio; 2006-2009 (Courtesy AIQ TradingExpert)

4

Figure 4 – Jay’s VixRSIRatio; 2001-2005 (Courtesy AIQ TradingExpert)

As you can see in Figures 1 through 4:

a) Readings below -210 tend to be followed by – at the least – decent trading opportunities.

b) Often these readings presage significant market advances

c) And alas, sometimes the signals come too soon and/or are not followed by much of an advance.

The Here and Now

As of 3/23/18 the VixRSIRatio for ticker SPY stood -354.  So clearly “Buy Alert” is at hand.  So the obvious question is “What comes next”?  Will it be a, b, or c above?

As always, time will tell.

Calculations

In a nutshell, VixRSIRatio combines Larry Williams’ Vixfix indicator with Welles Wilder’s 3-day and 14-day RSI indicators to create two more indicators – VixRSI3 and VixRSI14.  We then divide VixRSI3 by VixRSI14 and invert the whole thing (so that we get an indicator that gives negative readings when the market goes down).

Now you see why I put this at the end….

Below is the code for AIQ Expert Design Studio

############## Larry Williams Vixfix #################

xx is 15.

hivalclose is hival([close],22).

vixfix is (((hivalclose-[low])/hivalclose)*100)+50.

############ Welles Wilder RSI 3-day ##############

Define days3 5.

U3 is [close]-val([close],1).

D3 is val([close],1)-[close].

AvgU3 is ExpAvg(iff(U3>0,U3,0),days3).

AvgD3 is ExpAvg(iff(D3>=0,D3,0),days3).

RSI3 is 100-(100/(1+(AvgU3/AvgD3))).

############ Welles Wilder RSI 14-day ##############

Define days14 27.

U14 is [close]-val([close],1).

D14 is val([close],1)-[close].

AvgU14 is ExpAvg(iff(U14>0,U14,0),days14).

AvgD14 is ExpAvg(iff(D14>=0,D14,0),days14).

RSI14 is 100-(100/(1+(AvgU14/AvgD14))).

############Jay’s VixRSIRatio ##############

VixRSI3 is expavg(vixfix,3)/expavg(RSI3,3).

VixRSI14 is expavg(vixfix,3)/expavg(RSI14,3).

VixRSIRatio is -((((VixRSI3/VixRSI14)-1)*100)-50).

Jay Kaeppel

Disclaimer:  The data presented herein were obtained from various third-party sources.  While I believe the data to be reliable, no representation is made as to, and no responsibility, warranty or liability is accepted for the accuracy or completeness of such information.  The information, opinions and ideas expressed herein are for informational and educational purposes only and do not constitute and should not be construed as investment advice, an advertisement or offering of investment advisory services, or an offer to sell or a solicitation to buy any security.

Biotech + Gold (Updated)

In this article I wrote about an index I follow that combines the biotech sector with the gold stock sector. I also wrote about “one way” to trade that index.  This article builds on that piece and adds a new “rule” to create more trading opportunities.
The BIOGOLD Index
Figure 1 displays the index that I created using AIQ TradingExpert.  It combines ticker FBIOX (Fidelity Select Biotech) with ticker FSAGX (Fidelity Select Gold).
1
Figure 1 – Jay’s BIOGOLD Index (Courtesy AIQ TradingExpert)
Also included in the lower clip is an indicator referred to as RSI32, which is the 2-day average of the standard 3-day RSI.
The Old System
In the original article I tested an approach that works as follows using monthly data:
*When the RSI32 drops to 32 or below, buy BOTH FBIOX and FSAGX
*After a buy signal, sell both funds when RSI32 rises to 64 or higher
For results, please see the original article.
The New System
The “new rules” are as follows:
A “buy signal” occurs when either:
*The RSI32 drops to 32 or below
*The RSI32 drops below 50 (but not as low as 32) and then reverses to the upside for one month
After either of the buy signals above occurs, buy BOTH FBIOX and FSAGX
*After a buy signal, sell both funds when RSI32 rises to 64 or higher
Figure 2 displays the BIOGOLD Index with various buy and sell signals marked.
2
Figure 2 – Jay’s BIOGOLD Index with RSI32 signals (Courtesy AIQ TradingExpert)
To test results we will:
*Assume that after a buy signal both FBIOX and FSAGX are bought in equal amounts
*We will assume that both funds are held until RSI32 reaches 64 or higher (i.e., there is no stop-loss provision in this test)
For testing purposes we will not assume any interest earned while out of the market, in order to highlight only the performance during active buy signals. Figure 3 displays the hypothetical growth of $1,000 (using monthly total return data) using the “system”.
3
Figure 3 – Hypothetical Growth of $1,000 using Jay’s BIOGOLD System (1986-present)
Summary
For the record, I am not “recommending” that anyone go out and initiate trading biotech and gold based on what I have written here.  Before trading using any approach it is essential for a trader to do their own homework and carefully consider all of the pro’s and con’s associated with any specific approach.  For example, while the trade-by-trade results for the above look reasonably good, it should be noted that there have been 4 separate drawdown’s in excess of -19% along the way, including a maximum drawdown of -37% in 2008.  In considering any approach to trading it is essential to first think long and hard about how well one would “weather the storms”, BEFORE focusing on potential profitability.
To put it more succinctly is the simple phrase “Don’t cross the river if you can’t swim the tide.”
Jay Kaeppel
Disclaimer:  The data presented herein were obtained from various third-party sources.  While I believe the data to be reliable, no representation is made as to, and no responsibility, warranty or liability is accepted for the accuracy or completeness of such information.  The information, opinions and ideas expressed herein are for informational and educational purposes only and do not constitute and should not be construed as investment advice, an advertisement or offering of investment advisory services, or an offer to sell or a solicitation to buy any security.

Trend Following in One Minute a Month

In the article linked below, investor and Forbes columnist Kenneth Fisher writes about what to look for at a market top (How to Tell a Bull Market from a Bear Market Blip). One piece of advice that I have heard him offer before is to wait at least 3 months after a top in price to worry about whether or not we are in a bear market.  That is good advice and provided the impetus for a simple trend-following model I follow based on that “wait 3 months” idea.

First, a few key points:

*Trend-following is NOT about picking tops and bottoms or timing the market with “uncanny accuracy”.  So don’t expect any trend-following system to do so.

*The primary edge in any trend-following method is simply missing as much of the major soul – and capital – crushing bear markets as possible, with the understanding that you will miss some of the upside during bull markets.

The Good News:

*Starting in November 1970 this system has beaten a buy and hold strategy

*This system requires no math. There are no moving averages, etc.  Anyone can look at a monthly S&P 500 bar chart and generate the signals.  And it literally takes less than 1 minute per month to update.

The Bad News:

*Every trend-following method known to man experiences whipsaws, i.e., a sell signal followed by a buy signal at a higher price.  This system is no exception.

*Due to said whipsaws this system has significantly underperformed the S&P 500 buy-and-hold since the low in early 2009.

For what it’s worth, my educated guess is that following the next prolonged bear market, that will change.  But there are no guarantees.

OK, all the caveats in place, here goes.

Jay’s Monthly SPX Bar Chart Trend-Following System

*This system uses a monthly price bar chart for the S&P 500 (SPX) to generate trading signals.

*For the purposes of this method, no action is taken until the end of the month, even if a trend change is signaled earlier in the month.

*A buy signal occurs when during the current month, SPX exceeds its highest price for the previous 6 calendar months.

A sell signal occurs as follows:

a) SPX registers a month where the high for the month if above the high of the previous month. We will call this the “swing high”.

b) SPX then goes 3 consecutive monthly bars without exceeding the “swing high.” When this happens, note the lowest low price registered during those 3 months. We will call this price the “sell trigger price.”

c) An actual sell trigger occurs at the end of a month when SPX register a low that is below the “sell trigger price”, HOWEVER,

d) If SPX makes a new monthly high above the previous “swing high” BEFORE it registers a low below the “sell trigger price” the sell signal alert is aborted

Sounds complicated right?  It’s not.  Let’s illustrate on some charts.

In the charts that follow:

*An Up green arrow marks a buy signal

*A Down red arrow marks a sell signal

*A horizontal red line marks a “sell trigger price”.

Sometimes a sell trigger price is hit and is marked by a down red arrow as a sell signal.  Other times a sell trigger price is aborted by SPX making a new high and negating the potential sell signal.

spx trendf 1

Figure 1 – SPX signals 1970-1979 (Courtesy AIQ TradingExpert)

SPX trendf 2

Figure 2 – SPX signals 1980-1989 (Courtesy AIQ TradingExpert)

SPX trendf 3

Figure 3 – SPX signals 1990-1999 (Courtesy AIQ TradingExpert)

SPX trendf 4

Figure 4 – SPX signals 2000-2009 (Courtesy AIQ TradingExpert)

SPX trendf 5

Figure 5 – SPX signals 2010-present (Courtesy AIQ TradingExpert)

To demonstrate results we will use monthly close price data for SPX.  If the system is bullish then the system will hold SPX for that month.  If the system is bearish we will assume interest is earned at an annual rate of 1% per year.

Figure 6 displays the results of the System versus Buy and Hold starting with $1,000 starting November 1970 through 1994 (roughly 24 years).

6

Figure 6 – Growth of $1,000 invested using System versus Buy-and-Hold; Nov-1970 through Dec-1994

Figure 7 displays the results of the System versus Buy and Hold starting with $1,000 starting at the end of 1994 through the most recent close.

7

Figure 7 – Growth of $1,000 invested using System versus Buy-and-Hold; Dec-1994 through Feb-2018

Figure 8 displays the growth of $1,000 generated by holding the S&P 500 Index ONLY when the trend-following system is bearish.  In Figure 8 you will see exactly what I mentioned at the outset – that the key is simply to miss some of the more severe effects of bear markets along the way.

8

Figure 8 – Growth of $1,000 invested ONLY when trend-following model is Bearish; 1970-2018

Finally, Figure 9 displays trade-by-trade results (using month-end price data).

9

Figure 9 – Trade-by-trade results; Month end price data

Summary

So is this “The World Beater, Best Thing Since Sliced Bread” system?  Not at all.  If you had started using this system in real time in March of 2009 chances are by now you would have abandoned it and moved on to something else, as the whip saw signals in 2011-2012 and 2016 has the System performing worse than buy and hold over a 9 year period.

But here is the thing to remember.  Chances are prolonged bear markets have not been eradicated, never to occur again.  100+ years of market history demonstrates that bear markets of 12 to 36 months in duration are simply “part of the game”.  And it is riding these bear markets to the depths that try investors souls – and wipe out a lot of their net worth in the process.

Chances are when the next 12 to 36 month bear market rolls around – and it will – a trend-following method similar to the one detailed here may help you to “save your sorry assets” (so to speak).

Jay Kaeppel

Disclaimer:  The data presented herein were obtained from various third-party sources.  While I believe the data to be reliable, no representation is made as to, and no responsibility, warranty or liability is accepted for the accuracy or completeness of such information.  The information, opinions and ideas expressed herein are for informational and educational purposes only and do not constitute and should not be construed as investment advice, an advertisement or offering of investment advisory services, or an offer to sell or a solicitation to buy any security.

Is a Reprieve for Bonds in the Offing?

The question on many investors’ minds is “are we in a bond bear market?”  Given that long-term treasuries have lost roughly 17% since July of 2016 it is a fair question.
The main model that I use is still bearish on bonds (more on this topic below).  Still, there are a few potential “lights at the end of the bond tunnel” – at least potentially in the near-term.
Long-Term Rates
My mega long-term “fail-safe” bond trend indicator appears in Figure 1.  It is the yield on 30 year treasuries (ticker TYX – which is multiplied by 10 for some unknown reason) with a 120-month exponential moving average.
0Figure 1 – 30-Yr. Treasury yields (Ticker TYX) with 120-month average (Courtesy AIQ TradingExpert)
When the day comes that TYX breaks out above the 120-month moving average I for one will officially designate the great bond bull market as “over.”  And that day is coming.  But for what it’s worth – it’s not quite here yet.
Metals Positive for Bonds
In this article I wrote about a bond timing model that uses the relationship between gold and copper.  Like a lot of timing models of all stripes it does a good job of differentiating good times for bonds from bad times for bonds, but is very far from perfect.
It goes like this:
A = Gold / Copper
B = 30-day moving average of A
C = 80-day moving average of A
D = B – C
If D > 0 = Bullish for bonds*
If D < 0 = Bearish for bonds*
*- with a 1-day lag
This indicator flipped to bullish at the close on 2/7/18 after being bearish since 7/10/2017.
Figure 2 displays the action of ticker TLT since the last “sell” signal in July 2017.  As you can see, in the end it ended up being “correct” as TLT was lower on 2/7/18 than it was on 7/10/17.  But that was not the case until the last week or so.  So for most of the time during this bearish period TLT traded higher.
1Figure 2 – Ticker TLT with recent Jay’s Metal Model signals (Courtesy AIQ TradingExpert)
What is most important however is to focus on the long-term results. In Figure 2 the blue line depicts the growth of equity achieved by holding long 1 t-bond futures contract ONLY when the model is bullish while the red line depicts the growth of equity achieved by holding long 1 t-bonds futures contract ONLY when the model is bearish (red line).
2aFigure 2 – T-bond futures $ gain/loss when Jay’s Metal Model is bullish (blue line) versus when model is bearish (red line)
The long-term difference in performance is fairly obvious.  That being said it should also be noted that the blue line is by no means a series of straight line advances, i.e., there is no guarantee that this latest bullish signal will prove fortuitous, especially given that we may be transitioning from a long-term bond bull market to a long-term bond near market.
One More Possible Piece of Good News
In this article I applied an indicator I originally learned from Tom McClellan at http://www.mcoscillator.com to weekly TLT.  This indicator looks at the number of times TLT has been up minus the number of times down over the past 20 weeks. Very often a drop to -2 or below followed by an upside reversal of 2 points (i.e., it drops to -2 then subsequently rises to 0, or drops to -3 then rises to -1 and so on) has presaged a favorable up move in bonds. This indicator applied to TLT recently fell to -2 and may flash a favorable signal soon (please note that it HAS NOT given a buy signal yet and that it  could take several weeks before it does).
3Figure 3 – Weekly TLT with UpDays20 Indicator (Courtesy AIQ TradingExpert)
One Piece of “Still Bad News”
In this article I wrote about one of the main bond models I use that uses the trend in Japanese stocks to trade bonds inversely, i.e., if Japanese stocks are bearish it is bullish for bonds and vice versa. I use a 5-week and 30-week moving average to quantify Japanese stocks as “bullish” or “bearish”.
In Figure 4 when the blue line in the top clip is above the red line this is considered bearish for bonds and when the blue line is below the red line it is considered bullish for bonds. For now the blue 5-week average line is still well above the red 30-week average, so this indicator still  designates the trend for bonds as “bearish”.
4aFigure 4 – Ticker TLT tends to trade inversely to ticker EWJ (Courtesy AIQ TradingExpert)
Summary
So are bonds due to rally?  Well, it seems like at least a short-term bounce could be in the offing.  That being said, with bonds breaking down sharply at the moment, 1) this “idea” is geared for “traders” who are not afraid of (and are unacquainted with) taking risks, 2) it might make sense to wait for the UpDays20 indicator discussed above to tick higher by two points – which could take up to several weeks to play out – before “taking the plunge.”
As always I am not “recommending” anything, just highlighting what I see.  For longer-term investors the “Boring Bond Index” bond strategy I wrote about here remains a viable  long-term approach to bond investing.
Jay Kaeppel
Disclaimer:  The data presented herein were obtained from various third-party sources.  While I believe the data to be reliable, no representation is made as to, and no responsibility, warranty or liability is accepted for the accuracy or completeness of such information.  The information, opinions and ideas expressed herein are for informational and educational purposes only and do not constitute and should not be construed as investment advice, an advertisement or offering of investment advisory services, or an offer to sell or a solicitation to buy any security.

What to Worry About – and When – in the Bond Market

There is a lot of hand-wringing going on these days regarding the bond market.  And rightly so given that interest rates have been (were?) in a downtrend for 35+ years.  Given that, given the long-term cyclical nature of interest rates and given that rates are at a generational low level, “concern” is understandable.
However, needless hand-wringing over events that have yet to occur is not.
rates long-term
Figure 1 – Long-term treasury yields through the years (Courtesy: ObservationsanNotes.blogspot.com)
(The chart in Figure 1 is updated only through about 2012.  Nevertheless, it effectively highlight the long-term cyclical nature of interest rates.)
The problem is the “well, interest rates are destined to rise therefore I should immediately [fill in your defensive action here].”
Many analysts and investors are following and attempting to interpret every tick in bond yields.  In fact, some very well known bond “people” have proclaimed a “bond bear market”.  And they may be right.  But still…
What I Follow in the Bond Market
What follows are a few random thoughts on some of the things I look at when tracking the bond market.
#1. 30-Year Yield versus 120-month Exponential Moving Average
Figure 2 displays ticker TYX, an index which tracks the yields on 30-year bonds (for some reason it multiplies by 10 – so a yield of 3% appears on the chart as 30.00).
2
Figure 2 – 30-year treasury yields versus 120-month exponential moving average (Courtesy AIQ TradingExpert)
Using the data from Figure 1 I have found that a 120-month (i.e., 10-year) average does a pretty good job of riding the major trends in interest rates.  As you can clearly see in Figure 2, TYX is still noticeably below its 120-month EMA.  This could obviously change quickly but  for the moment by this objective measure the long-term trend in interest rates right at this very moment is still “down.”
Please note that I am not saying that interest rates will not rise and move above this MA.  I am saying two things:
1. Until the crossover occurs try not to focus too much attention on dire predictions.
2. Once the crossover does occur the bond market environment that most of us have known throughout all or most of our investment lives will change dramatically (more on this topic when the time is right).
#2.  The Yield Curve(s)
Figure 3 displays the yield curves for 30-year yields minus 10-year yields and 10-year yields minus 2-year yields. The narrowing trend is obvious. This is causing great consternation because historically when the yield curve “inverts” (i.e., when shorter-term rates are higher than longer-term rates) it is a very bad sign for the economy and the financial markets.
3
Figure 3 – 10-yr yield minus 2-year yield (blue) and 30-year yield minus 10-year yield (orange); (Courtesy: YCharts)
The problem here is that there is still an important difference between “narrowing” and actual “inverting”.  Many people seems to look at Figure 3 and assume that an inverted yield curve (i.e., if and when these lines go into negative territory) is “inevitable” and that things are therefore doomed to get worse for the economy and the markets.
Repeating now: There is still an important difference between a “narrowing” yield curve and an actual “inverted” yield curve.  Until the yield curve actually does invert try not to focus too much attention on dire predictions.
#3. The Current Trend in Bonds
One trend following indicator that I follow (and have written about in the past) is the inverse relationship between long-term t-bonds and Japanese stocks.  Figure 4 display ticker EWJ (an ETF that tracks an index of Japanese stocks) versus ticker TLT (an ETF that tracks the long-term treasury bond).
4
Figure 4 – Ticker EWJ versus Ticker TLT (Courtesy AIQ TradingExpert)
Figure 5 displays two equity curves.  The blue line represents the $ gain achieved by holding long 1 treasury bond futures contract ONLY when the EWJ 5-week moving average is below the EWJ 30-wek moving average and the red line represents the $ loss achieved by holding long 1 treasury bond futures contract ONLY when the EWJ 5-week moving average is above the EWJ 30-week moving average.
5
Figure 5 – Holding long t-bond futures when EWJ is in a downtrend (blue line) versus holding long t-bond futures when EWJ is in an uptrend (red line); December 2003-present
Notice anything different about  the blue line versus the red line?  With EWJ trending strongly higher, caution remains in order or the long-term treasury bond. If the trend in EWJ reverses things may look better for long-term bonds.
#4. Short and Intermediate Term Bonds remain a Viable Alternative
As I wrote about here an index of short and intermediate treasury and high grade corporate remains a viable long-term approach for income investors. Figure 6 displays the growth of $1,000 invested using the “Boring Bond Index” I wrote about in the aforementioned article.  This index has gained in 38 of the past 42 years.6
Figure 6 – Growth of $1,000 invested using “Boring Bond Index” Method; 12/31/1975-11/30/2017
Summary
There are good reasons to be wary of interest rates and bonds. At the same time overreacting to dire headlines also remains a very poor approach to investing.
So in sum:
*The very long-term trend in interest rate is still technically “down”
*The yield curve is narrowing but still has a ways to go before it inverts
*The current trend in long-term bonds is bearish
*Short and intermediate term bonds experience much less volatility than long-term bonds (and reinvest more frequently, which may come in handy if rates do begin to  rise in earnest).
*If and when TYX pierces its long-term average and/or when the yield curve inverts, the time will arrive for investors to make some wholesale changes in how they approach their bond market investments.
*If and when EWJ starts to fall, things may improve for the current plight of the long-term treasury.
*And through it all, a boring approach to bonds may still prove very useful.
Jay Kaeppel
Disclaimer:  The data presented herein were obtained from various third-party sources.  While I believe the data to be reliable, no representation is made as to, and no responsibility, warranty or liability is accepted for the accuracy or completeness of such information.  The information, opinions and ideas expressed herein are for informational and educational purposes only and do not constitute and should not be construed as investment advice, an advertisement or offering of investment advisory services, or an offer to sell or a solicitation to buy any security.