Rate Of Change With Bands

The EDS code based on Vitali Apirine’s article in the March issue of Stocks & Commodities magazine “Rate Of Change With Bands,” can be obtained by copying the below into a new  WinWayCharts EDS file, saving the file and adding EDS custom indicators on your Charts

!Rate Of Change With Bands 
!Author: Vitali Aprine, TASC Mar 2021 
!Coded by: Rich Denning, 01/11/2021 
rocLen is 12. 
emaLen is 3. 
smaLen is 12. 
C is [close]. 
ROC is (C - valresult(C,rocLen)) / valresult(C,rocLen)*100. 
smaSqr is simpleavg(ROC*ROC,smaLen). 
ROCdev is sqrt(smaSqr). 
emaROC is expavg(ROC,emaLen). 
upROCB is ROCdev. 
dnROCB is  - ROCdev.

Code for the ROCB indicator is set up in the EDScode file. Figure 10 shows the indicators on a chart of Apple Inc. (AAPL). The red line in the first panel is the upper ROC band and the green line is the smoothed ROC. In the lower panel, the red line is the lower ROC band and the green line is the smoothed ROC.

Sample Chart

FIGURE 10:  The ROCB indicators are shown on a chart of Apple Inc. (AAPL). The red line in the first panel is the upper ROC band and the green line is the smoothed ROC. In the lower panel, the red line is the lower ROC band and the green line is the smoothed ROC.

—Richard Denning
for AIQ Systems

New updated Market Chart Ticker

With the price of the Dow Jones 30 (ticker INDU) in your WinWayCharts reaching beyond 32760,  your Market Chart may be experiencing a spike in Charts. A new updated file for INDU is now available for you at www.aiqsystems.com/INDU.dta

Close all open WinWayCharts programs.  Click the link above and Save INDU.dta to c:\wintes32\tdata, say yes when asked to overwrite.  Once done, open Data Manager, click on Utilities, Rebuild Master Ticker List.

If have any questions please contact Support support@winwaycharts.com


The error is due to the theoretical maximum length of an environment variable is around 32,760 characters.

Keeping a Wary Eye on the “Scary Stuff”

In many ways the markets imitate life.  For example, the trend is your friend.  You may enjoy your friendship with the trend for an indefinite length of time.  But the moment you ignore it – or just simply take it for granted that this friendship is permanent, with no additional effort required on your part – that’s when the trouble starts.

For the stock market right now, the bullish trend is our friend.  Figure 1 displays the 4 major indexes all above their respective – and rising – long-term moving averages.  This is essentially the definition of a “bull market.”

Figure 1 – 4 Major Indexes in Bullish Trends (Courtesy WinWayCharts)

In addition, a number of indicators that I follow have given bullish signals in the last 1 to 8 months.  These often remain bullish for up to a year.  So, for the record, with my trusted trend-following, oversold/thrust and seasonal indicators mostly all bullish I really have no choice but to be in the bullish camp.

Not that I am complaining mind you.  But like everyone else, I try to keep my eyes open for potential signs of trouble.  And of course, there are always some.  One of the keys to long-term success in the stock market is determining when is the proper time to actually pay attention to the “scary stuff.”  Because scary stuff can be way early or in other cases can turn out to be not that scary at all when you look a little closer.

So, let’s take a closer look at some of the scary stuff.


Figure 2 displays an aggregate model of four separate measures of valuation.  The intent is to gain some perspective as to whether stocks are overvalued, undervalued or somewhere in between.

Figure 2 – Stock Market valuation at 2nd highest level ever (Courtesy: www.advisorperspectives.com)

Clearly the stock market is “overvalued” if looked at from a historical perspective.  The only two higher readings preceded the tops in 1929 (the Dow subsequently lost -89% of its value during the Great Depression) and 2000 (the Nasdaq 100 subsequently lost -83% of its value).

Does this one matter?  Absolutely.  But here is what you need to know:

*Valuation IS NOT a timing indicator.  Since breaking out to a new high in 1995 the stock market has spent most of the past 25 years in “overvalued” territory.  During this time the Dow Industrials have increased 700%.  So, the proper response at the first sign of overvaluation should NOT be “SELL.”

*However, ultimately valuation DOES matter.

Which leads directly to:

Jay’s Trading Maxim #44: If you are walking down the street and you trip and fall that’s one thing.  If you are climbing a mountain and you trip and fall that is something else.  And if you are gazing at the stars and don’t even realize that you are climbing a mountain and trip and fall – the only applicable phrase is “Look Out Below”.

So, the proper response is this: instead of walking along and staring at the stars, keep a close eye on the terrain directly in front of you.  And watch out for cliffs.

Top 5 companies as a % of S&P 500 Index

At times through history certain stocks or groups of stocks catch “lightning in a bottle.”  And when they do the advances are spectacular, enriching anyone who gets on board – unless they happen to get on board too late.  Figure 3 displays the percentage of the S&P 500 Index market capitalization made up by JUST the 5 largest cap companies in the index at any given point in time.

Figure 3 – Top 5 stocks as a % of S&P 500 Index market cap (Courtesy: www.Bloomberg.com)

The anecdotal suggestion is pretty obvious.  Following the market peak in 2000, the five stocks listed each took a pretty significant whack as shown in Figure 4.

Figure 4 – Top Stocks after the 2000 Peak

Then when we look at how far the line in Figure 3 has soared in 2020 the obvious inference is that the 5 stocks listed for 2020 are due to take a similar hit.  And here is where it gets interesting.  Are MSFT, AAPL, AMZN, GOOGL and FB due to lose a significant portion of their value in the years directly ahead?

Two thoughts:

*There is no way to know for sure until it happens

*That being said, my own personal option is “yes, of course they are”

But here is where the rubber meets the road: Am I presently playing the bearish side of these stocks?  Nope.  The trend is still bullish.  Conversely, am I keeping a close eye and am I willing to play the bearish side of these stocks?  Yup.  But not until they – and the overall market – actually starts showing some actual cracks.

One Perspective on AAPL

Apple has been a dominant company for many years, since its inception really.  Will it continue to be?  I certainly would not bet against the ability of the company to innovate and grow its earnings and sales in the years ahead. Still timing – as they say – is everything.  For what it is worth, Figure 5 displays the price-to-book value ratio for AAPL since January 1990.

Figure 5 – AAPL price-to-book value ratio (Data courtesy of Sentimentrader.com)

Anything jump out at you?

Now one can argue pretty compellingly that price-to-book value is not the way to value a leading technology company.  And I probably agree – to a point.  But I can’t help but look at Figure 5 and wonder if that point has possibly been exceeded.


Nothing in this piece is meant to make you “bearish” or feel compelled to sell stocks.  For the record, I am still in the bullish camp.  But while this information DOES NOT constitute a “call to action”, IT DOES constitute a “call to pay close attention.”

Bottom line: enjoy the bull market but DO NOT fall in love with it.

Jay Kaeppel

Disclaimer: The information, opinions and ideas expressed herein are for informational and educational purposes only and are based on research conducted and presented solely by the author.  The information presented represents the views of the author only and does not constitute a complete description of any investment service.  In addition, nothing presented herein should be construed as investment advice, as an advertisement or offering of investment advisory services, or as an offer to sell or a solicitation to buy any security.  The data presented herein were obtained from various third-party sources.  While the data is believed 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.  International investments are subject to additional risks such as currency fluctuations, political instability and the potential for illiquid markets.  Past performance is no guarantee of future results.  There is risk of loss in all trading.  Back tested performance does not represent actual performance and should not be interpreted as an indication of such performance.  Also, back tested performance results have certain inherent limitations and differs from actual performance because it is achieved with the benefit of hindsight.

Join us for a special FREE WinWayCharts webinar – July 2, 2020

Yet more Power tools in your WinWayCharts plus a session on why you should use color studies in Charts

Thursday July 2, 2020 at 14:00 – 15:45

Part 1. Power tools in your WinWayCharts

An hour long session with UK Director Ray Foreman covering the power features in your WinWayCharts platform – great for new clients or those with more experience.


Part 2. Why you should use color studies in Charts

Steve Hill, founder of WinWayCharts will guide you through the powerful color studies tool in Charts and how you can take the indicators you already use and make them show signals on the price charts.


Join Ray Foreman and Steve Hill of WinWayCharts

Thursday July 2, 2020 14:00 – 16:00 BST

We look forward to having you join us.

The WinWayCharts Team

Questions? Call 0207 749 2205 or e-mail support@winwaycharts.com

AIQ Market Timing update 6-28-20

This video on the Market Timing signals in AIQ is also applicable for our WinWayCharts TradingExpert Market Timing. Check it out.

Market volatility continues. In this update we’ll take a look at the current AI signals on the Dow Jones. For folks less familiar with our AI engine here’s a recap of what we do.

TradingExpert Pro uses two AI knowledge bases, one specifically designed to issue market timing signals and the other designed to issue stock timing signals.

Each contains approximately 400 rules, but only a few “fire” on any given day.  In the language of expert systems, those rules that are found to be valid on a particular day are described as having “fired”.

Rules can fire in opposite directions.  When this happens, the bullish and bearish rules fight it out.  It’s only when bullish rules dominate that the Expert Rating signal is bullish, or when bearish rules dominate that the Expert Rating signal is bearish.

The Expert Rating consists of two values.

The upside rating is the value on the left and the downside rating is on the right.  Expert Ratings are based on a scale of 0 to 100.  An Expert Rating of 95 to 100 is considered a strong signal that the Stock or market may change direction.

An Expert Rating below 90 is considered meaningless.  A low rating means that there is not enough consistency in the rules that fired to translate to a signal.  The expert system has not found enough evidence to warrant a change from the last strong signal.