A Technical Method For Rating Stocks

The WinWayCharts EDScode based on Markos Katsanos’ article in this issue, “A Technical Method For Rating Stocks,” is shown below.
Synopsis from Stocks & Commodities June 2018
I’s it possible to create a stock rating system using multiple indicators or other technical criteria? If so, how does it compare with analyst ratings? Investors around the world move billions of dollars every day on advice from Wall Street research analysts. Most retail investors do not have the time or can’t be bothered to read the full stock report and rely solely on the bottom line: the stock rating. They believe these ratings are reliable and base their investment decisions at least partly on the analyst buy/sell rating. But how reliable are those buy/sell ratings? In this article I will present a technical stock rating system based on five technical criteria and indicators, backtest it, and compare its performance to analyst ratings.
!A TECHNICAL METHOD FOR RATING STOCKS
!Author: Markos Katsanos, TASC June 2018
!Coded by: Richard Denning, 4/18/18
!www.TradersEdgeSystems.com

!INPUTS:
  MAP is 63. 
  STIFFMAX is 7. 
  VFIPeriod is 130. 
  MASPY is 100. 
  MADL is 100.
  SCORECRIT is 5.
  W1 is 1.
  W2 is 1.
  W3 is 1.
  W4 is 1.
  W5 is 2.
 
!VFI FORMULA: 
  COEF is 0.2.
  VCOEF is 2.5.
  Avg is ([high]+[low]+[close])/3.
  inter is ln( Avg ) - ln( Valresult( Avg, 1 ) ). 
  vinter is sqrt(variance(inter, 30 )).
  cutoff is Coef * Vinter * [Close].
  vave is Valresult(simpleavg([volume], VFIPeriod ), 1 ).
  vmax is Vave * Vcoef.
  vc is Min( [volume], VMax ).
  mf is Avg - Valresult( Avg, 1 ).
  vcp is iff(MF > Cutoff,VC,iff(MF < -Cutoff,-VC,0)).
  vfitemp is Sum(VCP , VFIPeriod ) / Vave.
  vfi is expavg(VFItemp, 3 ).

!STIFFNESS 
  ma100 is Avg. 
  CLMA if [close] < MA100.
  STIFFNESS is countof(CLMA,MAP).

!CONDITIONS:
 ! MONEY FLOW:
   COND1 is iff(VFI>0,1,0). 
 !SIMPLEAVG:
    SMA is simpleavg([close],MADL).                              
    COND2 is iff([close]>SMA,1,0).  
 !SIMPLEAVG DIRECTION:                       
    COND3 is iff(SMA>valresult(SMA,4),1,0).  
!STIFFNESS:                          
    COND4 is iff(STIFFNESS<= STIFFMAX,1,0).  
!MARKET DIRECTION:
    SPY is TickerUDF("SPY",[close]).
    COND5 is iff(EXPAVG(SPY,MASPY)>= 
 valresult(EXPAVG(SPY,MASPY),2),1,0).            

SCORE is  W1*COND1+W2*COND2+W3*COND3+
   W4*COND4+W5*COND5.

 buy if Score>=SCORECRIT and hasdatafor(300)>=268. 
Figure 11 shows the summary results of a backtest using NASDAQ 100 stocks during a generally bullish period from April 2009 to April 2018. Figure 12 shows the backtest using the same list of NASDAQ 100 stocks during a period that had two bear markets (April 1999 to April 2009). The average results are similar except that there are fewer trades during the period that contained the two bear markets. Both backtests use a fixed 21-bar exit.

Sample Chart

FIGURE 11: AIQ, BULL MARKET. Here are the summary results of a backtest using NASDAQ 100 stocks during a generally bullish period from April 2009 to April 2018.

Sample Chart

FIGURE 12: AIQ, BEAR MARKET. Here are the summary results of a backtest using NASDAQ 100 stocks during a period from April 1999 to April 2009 that contained two bear markets.
—Richard Denning info@TradersEdgeSystems.com for AIQ Systems

Harness your trading potential – using Darren Winters preferred trading software

Harness your trading potential April 26, 2018

Join us at Wealth Training offices for a full day seminar using  WinWayCharts

Darren Winters preferred trading software ​​​​​​​

New to WinWayCharts or a veteran looking for a refresher, this seminar is for you. We’ll be covering in detail the application of Darren Winters indicators and strategies within the trading software and taking you through some of the powerful tools that will make your analysis easier and save you time.

Now more than ever, stock traders need an edge to successfully trade stocks

We really don’t care if the market goes up or down. With the right tools, used the right way, there are always opportunities to make money trading stocks.

In this full-day seminar, Steve Hill, founder of WInWayCharts, will start at the top with the powerful Market Analysis tools, Sector Rotation and Stock Selection, plus he’ll recap technical indicators that Darren uses and reveal additional confirming indicators that are essential for making good trading decisions, .

All of this will build up to developing a trading strategy that suits your trading style. Finally he’ll take you through trade execution and trade management with live market action and trades. With this traders blueprint, you’ll have the tools you need to take your trading efficiency to a new level.

 

 

Rare opportunity to spend the day with

WinWayCharts founder Steve Hill

Those of you have had an opportunity to spend time with Steve at sessions at Wealth Training will appreciate his broad and in-depth knowledge and experience in trading analysis. Darren and Steve have worked together to develop and improve the WinWayCharts software throughout the last 10 years. Today the WinWayCharts platform is one of the fastest and most comprehensive stock analysis tools in the world.

You’ll need to be on your toes for this seminar. Every session is designed to enhance your current trading skill and take you to the next logical step as a trader.

 

 

Topics covered in this action-packed day include:

Market Timing – a thorough breakdown of WinWayCharts Market Timing and how to use it effectively

Sector Rotation – Tools for identifying leading and lagging sectors and how to maximize your investments

Technical indicators you have in WinWayCharts that every trader and investor must use

Hidden tools in your WinWayCharts that can save you time and make you money

Steve trading account, establishing positions, portfolio management of established positions, exiting positions and live trades in action

 

This opportunity won’t be available again this year!

Seats are limited. Don’t hesitate, fast track your way to trading success PLUS early bird pricing now applies.

ONLY a few more days left to lock in the early bird price

Book your seat before March 31, 2018 and you’ll pay

ONLY $649

$499

a $150 saving

 
or call 0207-749-2205 Mon-Fri 08:00-4:00pm
PLUS your seminar comes with the entire course manual in PDF format. Find out more about this seminar and WinWay Charts TradingExpert software analysis tools at http://winwaycharts.com/wordpress/about-us/london-seminar/

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 TradingExpert.  It combines ticker FBIOX (Fidelity Select Biotech) with ticker FSAGX (Fidelity Select Gold).
1
Figure 1 – Jay’s BIOGOLD Index (Courtesy 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 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.

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 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 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 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 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.

The VixRSI14 Indicator – Part 2

In this article I detailed an indicator I refer to as VixRSI14 using monthly charts. Today let’s apply the same method to weekly bar charts.  Before we do that a quick look at how this indicator functions.
VixRSI combines two indicators – Larry William’s VixFix and Welles Wilder’s Relative Strength Index (RSI).  In Figure 1 you see a weekly bar chart for YHOO.  Notice that as price declines the VixFix indicator rises and RSI falls. VixRSI14 essentially measures the difference between the two and looks for extremes as a sign of a potential reversal. See Figure 5 for YHOO with VixRSI14.
0
Figure 1 – YHOO with Williams VixFix (with 3-day exponential smoothing) and Wilder’s 14-period RSI (Courtesy TradingExpert)
The Weekly Version of VixRSI14
We will use the same method I described in the previous article, i.e.:
*We will calculate the VixRSI14 indicator (see code at end of article) on a weekly basis
*A “buy alert” occurs when VixRSI14 drops below 3.00 after first rising to 3.50 or higher
Once again, please note that:
*There is nothing magic about 3.50 or 3.00
*Not every “buy alert” is followed by an immediate rally (or even any rally at all for that matter)
*Any actually trading”results” will depend heavily on what you trade, how much of it you trade, when you actually get in, when you get out with a profit and/or when you get out with a loss.
*This VixRSI14 alert signal is simply serving notice that a given security may be overdone on the downside and may be ready soon to reverse to the upside.  Nothing more, nothing less.1
Figure 2 – AAPL(Courtesy TradingExpert)
2
Figure 3 – AXP (Courtesy TradingExpert)
3
Figure 4 – IP (Courtesy TradingExpert)
4
Figure 5 – YHOO ((Courtesy TradingExpert)
Summary
In 2018 I intend to try to share a few more trading “ideas” that maybe are not quite “finished products”.  VixRSI14 fits neatly into the “Idea” category. Sometimes the alerts are early.  Sometimes the alerts are late.  Sometime the alerts don’t really pan out at all.  Sometimes alerts are followed by one more sharp decline which is then followed by a major rally. So maybe some sort of trend reversal confirmation would be helpful.  I don’t know.
Hey, that gives me an idea….
Code:
William’s VixFix is simply the 22-period high price minus today’s low price divided by the 22-day period price (I then multiply by 100 and then add 50).  That may sound complicated but it is not.
The code for AIQ TradingExpert appears below.
########## VixFix Code #############
hivalclose is hival([close],22).
vixfix is (((hivalclose-[low])/hivalclose)*100)+50.
###############################
####### 14-period RSI Code ###########
Define periods14 27.
U14 is [close]-val([close],1).
D14 is val([close],1)-[close].
AvgU14 is ExpAvg(iff(U14>0,U14,0),periods14).
AvgD14 is ExpAvg(iff(D14>=0,D14,0),periods14).
RSI14 is 100-(100/(1+(AvgU14/AvgD14))).
###############################
VixRSI14 is then calculated by dividing the 3-period exponential average of VixFix by the 3-period exponential average of RSI14
####### VixRSI14 Code ###########
VixRSI14 is expavg(vixfix,3)/expavg(RSI14,3).
###############################
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.

The VixRSI14 Indicator – Part 1

While the bulk of the financial world focuses most of its attention on whether or not Bitcoin will turn to sh, er, something that rhymes with Bitcoin, a lot of “old timers” continue on with trying to look at markets in a more traditional way. Unfortunately, some people who try to look at markets in a more traditional way also spend an inordinate amount of time “dividing one number by another” thinking there is some purpose to it (“Hi. My name is Jay”)

 

The only good news is that every once in awhile something useful – or at least potentially useful (since no single calculation guarantees profitability which also involves other “minor” issues such as which securities to trade, allocation size, entry method, profit taking criteria, stop loss triggers and so on and so forth). A number of years ago I stumbled upon a calculation that I ultimately refer to as VixRSI (for reasons that will become fairly obvious soon).  More specifically I have a few different versions but one I like is call used VixRSI14.

 

First the Good News: In this and some future articles I will detail how I apply VixRSI14 to monthly, weekly and daily price charts.

 

Now the Bad News: Nothing that I will write in any of those articles will detail a “simple automated system that generates you can’t lose trading signals guaranteed to make you rich beyond the dreams of avarice.”  Sorry about that. But I thought you should know.

 

The truth is that the indicator generates signals – and yes, a certain percentage of the time those signals aren’t that great.  And even on occasions when the signals are decent all of the factors I mentioned above (securities traded, capital allocation, etc.) still hold the key to turning a “signal” into a “profit”.

 

VixRSI14

 

VixRSI14 is calculated by combining Larry William’s “VixFix” indicator with the standard old 14-day RSI from Welles Wilder. I’ve decided to put the calculations at the end of the article in order to avoid scaring anyone off.

 

For now let’s look at what to look for on a monthly price chart.

 

VixRSI14 on a Monthly Chart

 

OK, true confession time: there is (at least as far as I can tell) no “one best way” to use VixRSI14 on a monthly chart.  So I will simply show you “One way.”

 

*A “buy alert” is triggered when the monthly value for VixRSI14 first rises to 3.5 or higher and then drops back to 3.0 or below

 

*Before going on please note that there is nothing “magic” about 3.5 or 3.  Different values can be used and will generate varying results.

 

*Also, some may prefer to simply look for a drop from above 3 to below 3 without requiring a move above 3.5

 

*Finally please note the use of the phrase “buy alert” and the lack of the phrase “BUY AS MUCH AS YOU CAN RIGHT THIS VERY MINUTE!!!!”

 

Figures 1 through 4 show several different Dow30 stocks “through the years.

 

1

 

Figure 1 – Ticker AXP (Courtesy TradingExpert)

 

2

 

Figure 2 – Ticker BA (Courtesy TradingExpert)

 

3

 

Figure 3 – Ticker HPQ (Courtesy TradingExpert)

 

4

 

Figure 4 – Ticker IBM (Courtesy TradingExpert)

 

Summary

 

Buy alerts on monthly charts using the criteria I described are obviously very rare.  In fact many securities never see the VixRSI14 rise high enough to trigger an alert.  Likewise, not every 3.5 then 3 event for every stock will work out as well as those depicted in Figures 1 through 4.

 

Still, remember that I am just presenting an “idea” and not a finished product.

 

Code:

 

William’s VixFix is simply the 22-day high price minus today’s low price divided by the 22-day high price (I then multiply by 100 and then add 50).  That may sound complicated but it is not.

 

The code for TradingExpert EDS appears below.

 

########## VixFix Code #############

hivalclose is hival([close],22).

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

###############################

####### 14-period RSI Code ###########

Define periods14 27.

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

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

AvgU14 is ExpAvg(iff(U14&gt;0,U14,0),periods14).

AvgD14 is ExpAvg(iff(D14&gt;=0,D14,0),periods14).

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

###############################

VixRSI14 is then calculated by dividing the 3-period exponential average of VixFix by the 3-period exponential average of RSI14

####### VixRSI14 Code ###########

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

#########################

 

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.