Category Archives: Stock trading

Four Things to Watch for Warning Signs

First things first: I am primarily a trend-follower (this is based on, a) the relative long-term benefits of following trends and b) my lack of ability to actually “predict” anything – but I digress).
As a trend-follower I love the fact that the stock market has been trending higher and the fact that there is so much “angst” regarding the “inevitable top.”  Still, like a lot of investors I try to spot “early warning signs” whenever possible.  Here are the four “things” I am following now for signs of trouble.
Fidelity Select Electronics
In Figure 1 you see, a) the blow-off top of 1999-2000 and b) today.  Are the two the same?  I guess only time will tell.  But the point is, I can’t help but think that if and when the bloom comes off of the electronics boom, overall trouble will follow.  Here is hoping that I am not as correct here as I was here.
1
Figure 1 – Ticker FSELX (Courtesy AIQ TradingExpert)
Just asking.
Transportation Index
As you can see in Figure 2, the Dow Transports has a history of making double tops which is followed by trouble in the broader market.  Are we in the process of building another double top?  And will trouble follow if we are?  Dunno, hence the reason it is on my “Watch List” rather than on my “OH MY GOD SELL EVERYTHING NOW!!!!! List”.
2
Figure 2 – Dow Transportation Index (Courtesy AIQ TradingExpert)
I guess we’ll just have to wait and see.
Ticker XIV
Ticker XIV is an ETF that is designed to track inverse the VIX Index. As a refresher, the VIX Index tends to “spike” higher when stocks fall sharply and to decline when stocks are rising and/or relatively quiet.  To put it in simpler terms, in a bull market ticker XIV will rise.  As you can see in Figure 3 one might argue that XIV has gone “parabolic”.  This is a potential warning sign (assuming you agree that the move is parabolic) as a parabolic price move for just about anything is almost invariably followed by, well, let’s just say, “not so pretty”.
3
Figure 3 – Ticker XIV (Courtesy AIQ TradingExpert)
Let’s hope not.  Because if it does qualify as  parabolic that’s a very bad sign.
Ticker BID
This one may or may not be relevant but for what it is worth, Sotheby’s (ticker BID) has on several occasions served as something of a “leading indicator” at stock market tops (for the record it has also given some false signals, so this one is more for perspective purposes rather than actual trading purposes). Still, if this one tops out in conjunction with any or all of the above, it would likely serve as a useful warning sign.
4
Figure 4 – Ticker BID (Courtesy AIQ TradingExpert)
Summary
There is no “urgent action” to be taken based on any of this.  Bottom line: Nothing in this article should trigger you to run for the exits.
Still, it might be wise to at least take a look around and “locate the exit nearest you.”
You know, just in case.
Chief Market Analyst at JayOnTheMarkets.com and AIQ TradingExpert Pro (Courtesy AIQ TradingExpert) client. http://jayonthemarkets.com/
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.

Volume-Weighted Moving Average Breakouts

The AIQ code based on Ken Calhoun’s article in the February 2017 issue of Technical Analysis ofSTOCKS & COMMODITIES, “Volume-Weighted Moving Average Breakouts,” can be found at http://aiqsystems.com/Volume-Weighted-Moving-Average-Breakouts.EDS 
 
Please note that I tested the author’s system using the NASDAQ 100 list of stocks on daily bars rather than intraday bars from 12/31/2008 thru 2/10/2017. Figure 7 shows the resulting equity curve trading the author’s system with the cross-down exit. Figure 8 shows the ASA report for this test. The annualized return showed about a 17% return with a maximum drawdown of 19%.
Sample Chart

FIGURE 7: AIQ. Here are sample test results from the AIQ Portfolio Manager taking three signals per day and 10 concurrent positions maximum run on NASDAQ 100 stocks (daily bar data) over the period 12/31/08 to 2/10/07.
Sample Chart

FIGURE 8: AIQ. This shows the ASA report for the system, which shows the test metrics and settings.
The code and EDS file can be downloaded from http://aiqsystems.com/Volume-Weighted-Moving-Average-Breakouts.EDS , and is also shown below.
!Volume-Weighted Moving Average Breakouts
!Author: Ken Calhoun, TASC Apr 2017
!Coded by: Richard Denning 2/11/17
!www.TradersEdgeSystems.com

!INPUTS:
smaLen is 70.
vwmaLen is 50.

SMA is simpleavg([close],smaLen).
VWMA is sum([close]*[volume],vwmaLen)/sum([volume],vwmaLen).
HasData if hasdatafor(max(smaLen,vwmaLen)+10)>max(smaLen,vwmaLen).
Buy if SMA < VWMA and valrule(SMA > VWMA,1) and HasData.
Sell if SMA > VWMA.

rsVWMA is VWMA / valresult(VWMA,vwmaLen)-1.
rsSMA is SMA / valresult(SMA,smaLen)-1.
—Richard Denning
info@TradersEdgeSystems.com
for AIQ Systems

It’s all relative you see

The markets have been shall we say been less than inspiring recently. Brexit came and went with a brief hiccup in the action and only in the last week or so has the volatility picked up. The Dow as you can see in this weekly chart is back the same level as December 2014

 

 

The VXX shows clearly the decline in volatility since the high back in 2011

 

The summer doldrums may be over, but during periods when the market is range bound, segments within the market are often performing very well or very poorly. One AIQ Report that can show the strength within segments is the Relative Strength Strong – Short Term. This report shows stocks in 3 month trend up and is a great report for those who trade with ‘the trend is your friend’. Here is Friday 9-16-2016 report. The report is ranked by the stocks with the best trend.

 

 

I highlighted 6 stocks in the top of this report. All have good trends in place, and all in the Oil and Exploration S&P 500 group. The group has performed quite well recently. The top 2 OILEXPO stocks CHK and DVN have both had a small pullback to their uptrend line. We’ll see how they do this week.

 

The World is Your Oyster – 4 Days a Month

Some things are just plain hard to explain.  I did the following test using all 17 of the iShares single country funds that started trading 1996:
I tested the performance of each single country ETF on each specific trading day of the month (i.e., the 1st trading day of any month is TDM 1, the next day is TDM 2, etc.)
I also examined the last 7 trading days of the month counting backwards (i.e., the last trading day of the month is TDM -1, the day before that is TDM -2, etc.)
The basic idea was to see if there were any consistently favorable or unfavorable days of the month.  I wasn’t necessarily expecting much given that the stock markets of each of 17 different countries could  rightly be expected to “walk to the beat of their own drum”, given that the fundamentals underlying the stock market in any given country may be unique from that of other countries.
Or maybe not so much.
For what it is worth, the results from 3/25/1996 through 6/20/2016 appear in Figure 1.
(click to enlarge)
1
Figure 1 – Trading Day of Month Results for 17 iShares single country ETFs; 3/25/96 through 6/20/16
Each column displays the cumulative % return for each individual single country ETF if we held a long position in that ETF on only that particular trading day of the month.
As you can see – and what are the odds of this, I am not even sure how to calculate that – there are 4 days (highlighted in green in Figure 1) that were uniformly “favorable”, i.e., all 17 ETFs showed a net gain on that particular trading day of the month (for the record, there are three trading days – TDM #7 and TDMs -7 and -6 – during which all  17 ETFs showed a net loss (highlighted in yellow in Figure 1.  Go figure).
Using as a Strategy
I am not recommended the following strategy, but wanted to test it out for arguments sake.  Figure 2 displays the results of the following test:
*Buy and hold an equally weighted position in all 17 single country ETFs only on TDM 1, 9, 13 and -4 (i.e., if Friday is the last trading day of the month then – barring a holiday – TDM -4 would be the Tuesday of that week), earn annualized interest of 1% per month while out of ETFs.
*Versus simply buying and holding all 17 single country ETFs from 3/25/1996 through 6/20/2016.
2
Figure 2 – Cumulative % return for holding all 17 single country ETF only 4 days a month (blue) versus buying and holding (red); 3/25/96 through 6/20/16
Summary
Yes, this model can probably be accused of being “curve fit”.  Also, does anybody really want to trade in and out of 17 single country ETFs 4 times a month?  I don’t know.  But the bigger points are:
*Why would all 17 single country ETFs all be up (or down) on a particular day of the month over a 20 year period?
*If I were considering buying and holding a cross section of individual country ETF’s, um, well, I can’t help but think that I would be haunted by the thought that there might be a better way.
Jay Kaeppel
Chief Market Analyst at JayOnTheMarkets.com and AIQ TradingExpert Pro (http://www.aiqsystems.com) client

Classic Flag Breakouts on CVX, NFG, TOT

Our Chart pattern Recognition tool had a wealth of gasoline related stocks have breakouts yesterday. The classic flag breakout on good volume could be seen on CVX, NFG and TOT.

Quick reminder on what a flag pattern is.

The flag pattern is considered a continuation pattern after a consolidation period. The flag is a rectangular shape, similar to  the pennant, but the pennant looks more like a triangle.

Usually there’s a strong price movement followed by sideways price movement which is the flag. The pattern is complete when prices breakout in the same direction as the initial price movement. The following move will be in the same direction as the prior sharp move. The move prior to the flag is called the pole.

The flag pattern forms a rectangle with two parallel trendlines that act as support and resistance for the price until the price breaks out. Usually the flag will slope in the opposite direction to the trend.

The buy or sell signal occurs when the price breaks through the support or resistance level, with the trend continuing in the same direction as the pole. The breakthrough should occur on heavier volume.

I’ve put all three charts together and you can clearly see the pole, flag and breakout. As noted above the volume on the breakout on TOT was reasonable. The Quality of the pattern was also considered high.

Incidentally the volume on NFG and CVX was not as significant.

The entire list of stocks that generated completed flags in our nightly report on 5/25/16 is below.

and check out this new video that shows how we automate this reporting every night using the Chart Pattern recognition plug-in for TradingExpert.