Category Archives: Uncategorized

Vitali Apirine’s – Average Percentage True Range

The AIQ code based on Vitali Apirine’s article in the November issue of Stocks & Commodities, “Average Percentage True Range,” is provided at www.TradersEdgeSystems.com/traderstips.htm.
The code provided is used as an indicator (which I’ve called “PATR”). An example of the PATR is shown in Figure 7 on a chart of Apple Inc. (AAPL) compared to the same indicator on the S&P 500 index (SPX).
Sample Chart

FIGURE 7: AIQ. Here is the percentage average true range (PATR) on a chart of AAPL in comparison to the same indicator plotted on the SPX index.
As mentioned, the code and EDS file can be downloaded fromwww.TradersEdgeSystems.com/traderstips.htm, and is shown below.
!AVERAGE PERCENTAGE TRUE RANGE
!Author: Vitali Apirine, TASC Nov 2015
!Coded by: Richard Denning 9/7/2015
!www.TradersEdgeSystems.com

WilderLen is 14.
Index is "SPX".
H is [high].
L is [low].
C is [close].
C1 is valresult(C,1).

LH is H - L.
HC is Abs(H - C1).
LC is abs(L - C1).

M is max(LH,HC).
MM is max(M,LC).

ATR1 is iff(MM=HC,HC,0).
MID1 is iff(ATR1>0,(valresult(C,1)+(HC/2)),0.00001).

ATR2 is iff(MM=LC and ATR1=0,LC,0).
MID2 is iff(ATR2>0,(L+(LC/2)),0.00001).

ATR3 is iff(MM=LH and ATR1=0 and ATR2=0,LH,0).
MID3 is iff(ATR3>0,(L+(LH/2)),0.00001).

ATRS is iff(ATR1>0,ATR1/MID1,iff(ATR2>0,ATR2/MID2,iff(ATR3>0,ATR3/MID3,0)))*100.

ExpLen is WilderLen*2-1.
APTR is expavg(ATRS,ExpLen). !PLOT

APTRidx is TickerUDF(Index,APTR). !PLOT

ShowValues if 1.
—Richard Denning
info@TradersEdgeSystems.com
for AIQ Systems

Vitali Apirine’s – The Money Flow Oscillator

The AIQ code I am providing here is based on Vitali Apirine’s article in October issue of Stocks & Commodities, “The Money Flow Oscillator.” This code displays an indicator based on Apirine’s money flow oscillator (MFO), an example of which is shown in Figure 7.
Sample Chart

FIGURE 7: AIQ. Here is an example of the MFO(20) indicator on a chart of SFUN.
The code and EDS file can be downloaded from www.TradersEdgeSystems.com/traderstips.htm and is also shown here:
!THE MONEY FLOW OSCILLATOR
!Author: Vitali Aprine, TASC October 2015
!Coded by: Richard Denning, 8/11/15
!www.TradersEdgeSystems.com

!INPUTS:
MFOlen is 20.
H is [high].
H1 is valresult(H,1).
L is [low].
L1 is valresult([low],1).
V is [volume].

!INDICATOR CODE:
MFmult is ((H-L1)-(H1-L))/((H-L1)+(H1-L)).
MFvol is MFmult*V.
MFO is sum(MFvol,MFOlen)/sum(V,MFOlen)*100. !PLOT
—Richard Denning
info@TradersEdgeSystems.com
for AIQ Systems

ChartProfit Weekly Market Analysis

Every week for the past 10 years Bob Debnam, Senior Partner – Investment Research at Financial Themes has published his ChartProfit newsletter. This comprehensive assessment includes market charts, major ETFS and market sentiment and these key areas with commentary:

  • Key support ad resistance points on major markets
  • consensus polls plotted as an indicator including AAII, Investors Intelligence, NAAIM exposure index and more
  • Mutual Funds –  Bobs own version of the Rydex Asset ratio and Lippurs funds flow
  • Commitment of traders large and small in major markets
  • Unique breadth analysis of major US and UK markets including support and resistance on the QQQ, DIA, SPY and more
  • Option sentiment vs major market and VIX and VXN analysis
  • Bonds, Gold, Oil and Dollar analysis with commitment of traders and unique ChartProfit Price Oscillator 
  • EURUSD, JPYUSD and more

36 pages of analysis. Check out the current issue http://chartprofit.com/test/index.html

Bob Debnam

Senior Partner – Investment Research, Financial Themes
Bob began developing computer based market systems as far back as 1983. Using DOS based programs he developed systems to help him trade stocks and later to trade futures from 1987.  In 1999, interest created by articles that Bob had written for Investors Chronicle and Shares magazine led to speaking engagements and since then Bob has taught hundreds of investors at seminars both here and in the U.S.A.
In early 2010, he co-founded Financial Themes. http://www.financialthemes.com/ a wholly independent Wealth Management and Financial Advisory firm
Bob also edits the ChartProfit service for AIQ Systems which is a unique weekly video/ebook analysis of the major markets mainly for U.S. investors. If you would like to learn more about this service and the future ChartProfit services with AIQ Systems, please email us at AIQ Sales with the subject “Let me know when ChartProfit services are available” and we’ll keep you posted.

The Slow Volume Strength Index

The AIQ code based on Vitali Apirine’s June 2015 article in S&C, “The Slow Volume Strength Index,” is provided for download from the following website:
!THE SLOW VOLUME STRENGTH INDEX
!Author: Vitali Aiprine, TASC April 2015
!Coded by: Richard Denning 6/10/2015
!www.TradersEdgeSystems.com

!INPUTS FOR INDICATOR:
emaLen is 6.
wilderLen is 14.

!INDICATOR FORMULAS:
ema is expavg([close],emaLen).
pDif is iff([close] - ema > 0,[volume],0).
nDif is iff([close] - ema < 0,[volume],0).

rsiLen is 2 * wilderLen - 1.
AvgU  is expavg(pDif,rsiLen).
AvgD  is expavg(nDif,rsiLen).
svsi is 100-(100/(1+(AvgU/AvgD))). !PLOT 
The code provided for the slow volume strength index (SVSI) may be plotted as an indicator, as shown in Figure 6.
Sample Chart

FIGURE 6: AIQ. Here is the SVSI (6,14) indicator compared to the classic RSI (14).
—Richard Denning
info@TradersEdgeSystems.com
for AIQ Systems

What to Expect From Here

If you have been in the markets for any length of time, then you have seen this movie before:
*The market is moving along swimmingly.  A few brave souls shout “The End is Near” as the Dow catapults a couple thousand points higher and then starts to level off.
*Suddenly [the financial press agrees on] one or more “causes” (circa 2015, think “China”), um, “cause” the market to plummet.
*We see the obligatory BOLD HEADLINES reading “Dow Down [-xxx] Points” accompanied by the also obligatory pictures of “worried traders” (who are these guys anymore anyway, hired actors?  I thought everyone traded electronically now? Seems like they should show a picture of a guy sitting at his computer with his mouth wide open, palm to forehead, with that WTF look on his face) standing and staring up at some distant screen, dumbfounded.
*Soon comes the (I am thinking about trademarking this phrase)“Obligatory Technical Bounce”, accompanied by  the equally obligatory “Dow [+xxx] Points – Is the Worst Over?” headline.
*Shortly thereafter we see the resounding answer – “No, the worst is not over”!
*And over a period of months the stock market becomes an endless roller-coaster, alternating with extreme volatility between “swooning and soaring”.
*Each “soar” is accompanied by more “Is The Worst is Over?” headlines and a lot of “Brace for more trouble” articles.
*Each “swoon” is accompanied by more “Dow Down [-point value here]” headlines and more “forlorn trader” photos.
And so it goes and so it goes.  To wit:
1a-2002
Figure 1 – 2002 (Courtesy: AIQ TradingExpert)
1a-2006
Figure 2 – 2006 (Courtesy: AIQ TradingExpert)
1a-2007
Figure 3 – 2007 (Courtesy: AIQ TradingExpert)
1a-2008
Figure 4 – 2008 (Courtesy: AIQ TradingExpert)
1a-2010
Figure 5 – 2010 (Courtesy: AIQ TradingExpert)
1a-2011
Figure 6 – 2011 (Courtesy: AIQ TradingExpert)
As you can see in Figure 7, the 2015 decline is “off to a good start” (“off to a good start” being  defined as “big drop” followed by “soar” followed by “swoon”).
1s-2015
Figure 7 – 2015 (Courtesy: AIQ TradingExpert)
Summary
Expect big prices swings by the major stock market averages.  Also expect to have the financial press raise your hopes that “The Worst is Over” each time the averages “soar” and to attempt to scare the crud out of you each time the averages “swoon.”
In the meantime:
*If you are an excellent short-term trader then there is the opportunity to make a lot of money.
*If you are a poor short-term trader then there is the opportunity to lose shocking sums of money in an incredibly short period of time (so assess your skills carefully before attempting to ride each “swoon” and/or “soar”).
*If you are a more traditional investor then the reality is that you should continue to follow your investment plan (you do have one, right?  Right?) and not “react” every time you see a picture of a dumbfounded trader juxtaposed to be staring at the latest “Dow Down [xxxx] Points” headline.  Remember:
Jay’s Trading Maxim #29: If you had a trading plan that you were following yesterday, you should continue following it today.
Jay Kaeppel
Chief Market Analyst at JayOnTheMarkets.com and AIQ TradingExpert Pro (http://www.aiq.com) client