Category Archives: Uncategorized

The V-Trade, Part 6: Technical Analysis —Divergence Indicators

AIQ EDS code based on Sylvain Vervoort’s August 2018 S&C article, “The V-Trade, Part 6: Technical Analysis—Divergence Indicators,”
This sixth part of a multipart series continues with a look at the stochastic RSI indicator (SRSI) to identify divergences… is available below

The code is shown here:

!The V-Trade Part 6 !Author: Sylvain Vervoort, TASC Feb 2019 
!Coded by: Richard Denning
!www.TradersEdgeSystems.com

!INPUTS:
stochLen is 5.
stochSum is 8.
rsiW is 21.

!RSI WILDER:
U is [close]-val([close],1).
D is val([close],1)-[close].
rsiLen is 2 * rsiW - 1.
AvgU is ExpAvg(iff(U>0,U,0),rsiLen).
AvgD is ExpAvg(iff(D>=0,D,0),rsiLen).
rsi is 100-(100/(1+(AvgU/AvgD))).
hiRSI is highresult(rsi,stochLen).
lowRSI is lowresult(rsi,stochLen).
RSIlow is rsi - lowRSI.
RSIhilow is hiRSI - lowRSI. ema1 is simpleavg(RSIlow,stochSum).
ema2 is simpleavg(RSIhilow,stochSum).
sveStochRSI is (ema1/(ema2 + 0.1))*100.

Figure 7 demonstrates the indicator on a chart of IBM.

Sample Chart

FIGURE 7: AIQ. The sveStochRSI is shown on a chart of IBM.

—Richard Denning
info@TradersEdgeSystems.com
for AIQ Systems

The V-Trade, Part 5: Technical Analysis—Moving Average Support & Resistance And Volatility Bands

The AIQ EDS file for Sylvain Vervoort’s July 2018 article in S&C, “The V-Trade, Part 5: Technical Analysis—Moving Average Support & Resistance And Volatility Bands,” can be obtained on request via email to info@TradersEdgeSystems.com. The code is also available below.

!THE V-TRADE, PART 5
!Author: Sylvain Vervoort, TASC July 2018
!Coded by: Richard Denning 11/15/18
!www.TradersEdgeSystems,com

!ABBREVIATIONS:
C is [close].
C1 is valresult(C,1).
C2 is valresult(C,2).
C3 is valresult(C,3).
C4 is valresult(C,4).
C5 is valresult(C,5).
C6 is valresult(C,6).
C7 is valresult(C,7).
C8 is valresult(C,8).
C9 is valresult(C,9).
C10 is valresult(C,10).
C11 is valresult(C,11).
C12 is valresult(C,12).
C13 is valresult(C,13).
C14 is valresult(C,14).
C15 is valresult(C,15).
C16 is valresult(C,16).
C17 is valresult(C,17).
C18 is valresult(C,18).
C19 is valresult(C,19).
PD is {position days}.
PEP is {position entry price}.

!MOVING AVERAGES:
!SIMPLE MOVING AVERAGES:
smaLen1 is 50.
smaLen2 is 100.
smaLen3 is 200.
esaLen is 20.
esaBandPct is 10.

sma1 is simpleavg(C,smaLen1).
sma2 is simpleavg(C,smaLen2).
sma3 is simpleavg(C,smaLen3).

!LINEAR WEIGHTED 
LWMA is (C*20+C1*19+C2*18+C3*17+C4*16
      +C5*15+C6*14+C7*13+C8*12+C9*11
      +C10*10+C11*9+C12*8+C13*7+C14*6
      +C15*5+C16*4+C17*3+C18*2+C19*1)/210.

!ESA BANDS:
esa is expavg(C,esaLen).
upperESA is esa*(1+esaBandPct/100).
lowerESA is esa*(1-esaBandPct/100).

!BOLLINGER BANDS:
!SET PARAMETERS FOR BANDS:
 BBlen 	is 20.!Default is 20
 Mult1 	is 2. !Default is 2
 Mult2 	is 2. !Default is 2

Variance is Variance([close],BBlen).
StdDev is Sqrt(Variance).
SMA is simpleavg([close],BBlen).
UpperBB is SMA + StdDev *  Mult1.
LowerBB is SMA - StdDev *  Mult2.

ShowValues if 1.

Squeeze if upperESA > UpperBB and lowerESA < LowerBB.

SqIndicator is iff(Squeeze,1,iff(not Squeeze,0,-1)).

Buy if upperESA < UpperBB  and valrule(Squeeze,1)
	 and C > sma3 and C<LWMA. 
Sell if (PD>=3 and  LWMA < valresult(LWMA,1)) or C < PEP.

The EDS file contains the code for the various moving averages mentioned in the article as well as code for the Bollinger Bands and exponential bands. I did not code the SVE bands discussed by Vervoort in his article. I coded a system that uses the concept of a squeeze, as discussed in the article.

A squeeze occurs when the Bollinger Bands are inside the exponential bands. Figure 8 shows a sample trade from the system on NVDA.

Figure 9 shows the EDS summary report for a four-year backtest using the NASDAQ 100 list of stocks.

Sample Chart

FIGURE 8: AIQ. This shows a sample trade from the squeeze system.

Sample Chart

All Eyes on Energy

The energy sector – not just unloved, but pretty much reviled not that long ago – is suddenly everybody’s favorite sector.  And why not, what with crude oil rallying steadily in the last year and pulling pretty much everything energy related higher with it?

Anecdotally, everything I read seems to be on board with a continuation of the energy rally. And that may well prove to be the case. But at least for the moment I am waiting for some confirmation.

Two Concerns

The first – which I mentioned in this article – is the fact that the best time of year for energy is the February into early May period.  See Figure 1.

0

Figure 1 – Ticker XLE Seasonality (www.Sentimentrader.com)

With that period just about past it is possible that the energy sector may at least pause for a while.

The second concern is that a lot of “things” in the energy sector are presently “bumping their head” against resistance.  Here is the point:

*This does not preclude a breakout and further run to higher ground.

*But until the breakout is confirmed a little bit of caution is in order.

I created an index comprised of a variety of energy related ETFs. As you can see in Figures 2 through 4 that index recently was turned away at a significant resistance level.

Figure 3 shows the same information on a weekly chart.

2a

Figure 3  – Jay’s Energy ETF Index – Weekly (Courtesy AIQ TradingExpert)

Figure 4 zooms in to view the action on a daily basis.

3

Figure 4  – Jay’s Energy ETF Index – Daily (Courtesy AIQ TradingExpert)

As you can see in Figure 4, the index made an effort to break out above the January high then reversed and closed lower before declining a little bit more the next day.

The action displayed in the charts above may prove to be nothing more that “the pause that refreshes.” If price breaks out to the upside another bull leg may well ensue.  But note also in Figure 5 that ticker XLE – the broad-based SPDR Energy ETF – demonstrated the same type of hesitation as the ETF Index in the previous charts.

It too faces it’s own significant resistance levels as seen in Figure 5.

5

Figure 5 – Ticker XLE faces resistance  (Courtesy AIQ TradingExpert)

Summary

Energies have showed great relative strength of late even in the context of a choppy stock market overall.   So there is no reason to believe that the rally can’t continue. But two things to watch for:

1. If energy related assets clear their recent resistance levels a powerful new upleg may ensue.

2. Until those resistance levels are pierced, a bit of caution is in order.  Energy has been the leading sector of late.  Any time the leading sector runs into trouble it pays to “keep an eye out” for trouble in the broader market.

No predictions one way or the other – just some encouragement to pay close attention at a potentially critical juncture.

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.

One of the things …….. is that the U.K. is not in great financial shape right now – comments June 21, 2016

The Dow shot up over 270 points at the open, then spent the rest of the day giving back about half of those points to close up 130 at 17,805.  Volume was moderate, coming in at 96 percent of its 10-day average.  There were 178 new highs and only 9 new lows.

Yesterday’s rally was the Big Move predicted by last Thursday’s small change in the A-D oscillator.  It also came on the heels of last Wednesday’s VIX Buy Signal.
The rally was fueled by two polls released in the U.K. over the weekend that showed the ‘Stay’ vote taking a small lead. Prior polls had been showing the ‘Leave’ vote with a small lead, so the markets took the change in polling as a positive sign.  I wouldn’t get too excited about the polls, because the result of Thursday’s vote is still way too close to call, especially in view of the impact that a ‘Leave’ vote could have on financial markets.
One of the things that students should realize is that the U.K. is not in great financial shape right now.  The country is running significant account deficits and a lower pound won’t be that much help to British consumers and exporters.
In September 1992, when the UK last devalued its currency by 15 percent, the country was able to recover because interest rates had been running over 10 percent, so consumers and businesses benefited by the devalued pound which lowered interest rates.  But now with interest rates running near zero, a 10-15+ percent devaluation of the pound could have entirely different consequences.  It could severely impact the UK’s economy and put the country into a deep recession that could take years to recover.
So we need to be on our toes going into Thursday’s vote.  If the ‘Leave’ voters win, Friday could be a very bad day for world markets.  On the other hand, IF the ‘Stay’ voters get the upper hand, world markets should react positively with the Dow likely to re-test the 20 April high of 18,168.
Please be careful going into Thursday.  In my opinion, the vote on Brexit is too close to call and could go either way.  This means that the risk to your portfolio is very high.
So because of the high risk, I am mostly focused on short-term scalps.  With a positive Dean’s List, a neutral Tide, and negative DMIs and Money Flow indicators, the cockpit indicators are about as mixed as they can be.  They’re telling me to be on the sidelines or scalp trade only.

Try our Cum Laude service for 2 weeks and receive 8 nightly updates (just like this one)

and 2 weekend strategy reviews
PLUS the Dean’s List of favored stocks
ONLY $9.99 
However, my custom VTI turned positive after yesterday’s trading, so I’m going to look for scalp trades to the long side today.  One of the things I’ve found is that whenever the VTI changes direction, stocks highlighted for the Honor Roll tend to do well over the short term.  We’ll see if this holds true today with BP and Continental Resources (CLR), the two energy stocks that were highlighted last night.
My other focus will be on gold.  Yesterday’s early rally in the equity markets caused most gold stocks to pull back.  It also caused UUP to drop off the Dean’s List and the UDN, inverse Dollar ETF, to re-appear. So for the very short term, the Dean is telling is us the Dollar is weakening, which means the environment for gold could be getting stronger.
Also, the 2-period RSI Wilder on ABX closed with an oversold reading of 22.17. So with ABX in an Uptrend (50>200) and an oversold RSI on the Daily chart, its telling me that it might be a good time to go hunting. I spent several hours last night polishing my Rifle)
That’s what I’m doing,
The Professor
Market Signals for
06-21-2016
DMI (DIA) NEG
DMI (QQQ) NEG
COACH (DIA) NEG
COACH (QQQ) NEG
A/D OSC
DEANs LIST POS
THE TIDE NEU
SUM IND NEG

Try our Cum Laude service for 2 weeks and receive 8 nightly updates (just like this one)

and 2 weekend strategy reviews
PLUS the Dean’s List of favored stocks
ONLY $9.99 

AIQ monthly FREE scan – get yours now

For years the fundamental module in TradingExpert Pro has provided
a unique trading strategy tool for filtering stocks. These include
·        
Advanced weighting the impact of different fundamentals
·        
Quick build of reports and lists
·        
Chart list from fundamental reports
·        
Rank and tag tickers so you’ll always know where they
stand fundamentally  
Each month we’ll be providing one or two insightful scans for FREE with
accompanying list files where appropriate that you can download and use in your
TradingExpert Pro.
March 2016 screen identifies stocks with EPS momentum.
Stocks which will likely see earnings per share growth over the next two
quarters. 
We’ll need your name and
e-mail address to get you access to the AIQ list files and scan
results. There are several other scans also available for you after you
register, including
·       
Under Valued High Yielding Stocks, best used when there has been a market
correct of 8-10%.
·       
Stocks with a Price to Sales ratio below the median for its Industry show
greater returns.
Visit the AIQ home page
at 
http://aiqsystems.com and fill out the form 
Yes please I’d like to receive AIQ Data Power

Packs FREE scans or list each month

The most popular use of the fundamental data is in
combination with technical strategies in the Expert Design Studio. What better
way to hone in on candidates than to combine both approaches in one strategy
that you can run every night.
Now with the launch of the AIQ Data Power Pack FATI®, you can get updated fundamentals each
month directly into your TradingExpert Pro again. 
Over 4400 Charts with instant click to 60 fundamentals fields

Unleash the power of fundamental
ranking with any number of strategies
Suppose
I want a list of stocks to short that are fundamentally weak what would I look
for?
How about a
High Risk, High Debt strategy?
This
strategy finds stocks that are having a hard time meeting their day-to-day
obligations. It finds stocks with the lowest quick and current ratio. The
lower, the more debt and liabilities and the less able a company is to pay
current debt. Add in a high debt to equity ratio and rank them all equally.
You’ll have a list of stocks that are worth keeping an eye on for a technical
entry to the short side. 
Here’s
Charter Communications, the top high risk high debt ticker on 2/18/16
Build a technical and fundamental strategy in Expert Design
Studio and run it every night
EDS
allows you to design, test, and automate virtually any trading idea with the
point-and-click interactive trading library and pre-built strategies that have
been fine-tuned by our analysts to produce outstanding results. 
With the FATI® fundamentals fields, you can add in another layer of screening
to your technical screening and uncover hidden gems in your database.

Included
with your fundamentals FATI® Sector and Group Structure and Extra bonus
FATI® Market Capitalization