Beruflich Dokumente
Kultur Dokumente
Survivorship Bias
A wake-up call for
backtesting results 8
The V-Trade
Part 2: Technical analysis
for making buy & sell
decisions 12
Adaptive Averages
To identify turning points 18
Volatility
What’s the best measure? 22
INTERVIEW
Independent trader
Gareth Burgess on his
pivot level technique 32
REVIEWS
n Elliott Wave Turning Points
n NeuroShell Trader
APRIL 2018
Daily technical commentary
by expert analysts to help you
make smarter investing decisions
From daily blogs to live web shows, StockCharts.com hosts free
current market analysis and educational commentary from some
of the industry’s most distinguished technical analysts.
and more!
StockCharts.com
© StockCharts.com,Inc. All Rights Reserved. Information provided by StockCharts.com is not investment advice. You are responsible for your own investment decisions.
ALWAYS BE
DATA DRIVEN
Fidelity Active Trader Pro®
helps traders:
CVL
Today’s G/L -$10 -0.12% 220.00
S 16.85 220.00
16.80 Total G/L -$10 0.12% 210.00
210.00
TB 15.80
180.00
170.00
CLOSED POSITION 170.00
160.00
$
160.00
15.80 YTD G/L $2,735 3.60% 150.00
150.00
140.00
140.00
Volume 6,228,654 14.80
Volume 6,228,654
14.30
Positions News Research Options
†
Sell orders are subject to an activity assessment fee (from $0.01 to $0.03 per $1,000 of principal). Trades are limited to online domestic equities and
options and must be used within two years. Options trades are limited to 20 contracts per trade. Offer valid for new and existing Fidelity customers
opening or adding net new assets to an eligible Fidelity IRA or brokerage account. Accounts receiving $100,000 or more will receive 500 free trades.
Account balance of $100,000 must be maintained for at least nine months; otherwise, normal commission schedule rates may be retroactively applied to
any free trade executions. See Fidelity.com/ATP500free for further details. Fidelity reserves the right to modify these terms and conditions or terminate
this offer at any time. Other terms and conditions, or eligibility criteria may apply.
Active Trader Pro® is automatically made available to customers trading 36 times or more in a rolling 12-month period. If you do not meet the eligibility
criteria, please contact Active Trader Services at 800-564-0211 to request access.
Screens are for illustrative purposes only.
Fidelity Brokerage Services LLC, Member NYSE, SIPC. © 2017 FMR LLC. All rights reserved. 736003.6.0
CONTENTS APRIL 2018, Volume 36 Number 5
Copyright © 2018 Technical Analysis, Inc. All rights reserved. Information in this publication must not be stored or reproduced in any form without written permission from the publisher. Technical Analysis
of Stocks & Commodities™ (ISSN 0738-3355) is published monthly with a Bonus Issue in March for $89.99 per year by Technical Analysis, Inc., 4757 California Ave. S.W., Seattle, WA 98116-4499. Periodicals
postage paid at Seattle, WA and at additional mailing offices. Postmaster: Send address changes to Technical Analysis of Stocks & Commodities™ 4757 California Ave. S.W., Seattle, WA 98116-4499 U.S.A.
Printed in the U.S.A.
As
EDITORIAL
editor@traders.com the US economy continues to
Editor in Chief Jack K. Hutson chug along, with close to full
Editor Jayanthi Gopalakrishnan employment and inflation under control—
Production Manager Karen E. Wasserman
for the moment—it’s likely we’ll see some
Art Director Christine Morrison
interest rate hikes in 2018. With a changing
of the guard at the Federal Reserve, it’ll be
Graphic Designer Wayne Shaw
Webmaster Han J. Kim
Contributing Editors John Ehlers,
interesting to see if the economy continues
Anthony W. Warren, Ph.D. to move along the same path. During Jerome
Contributing Writers Thomas Bulkowski, Martin Pring, Powell’s first testimony to Congress in March
Barbara Star, Markos Katsanos
2018, he hinted the US economy continues
to be strong. Does that mean 2018 will be
OFFICE OF THE Publisher
Publisher Jack K. Hutson
similar to 2017?
Industrial Engineer Jason K. Hutson We know how the markets reacted at the first hint of interest rate hikes in early
Project Engineer Sean M. Moore February 2018. It initiated a selloff in which the Dow Jones Industrial Average
Controller Mary K. Hutson
saw its largest single-day decline. Markets around the world also witnessed
Advertising Sales selloffs, sending their indexes to drop significantly. In hindsight, the selloff was
4757 California Ave. S.W.
Seattle, WA 98116-4499
a much-needed correction. The drop in the markets was coupled with a spike in
206 938-0570 Fax 206 938-1307 volatility, something traders had forgotten about since it had hovered below its
advert@traders.com
average for all of 2017. The divergence between the stock market’s value and
volatility is enough to make traders jittery.
Circulation
Subscription & Order Service 1 800 832-4642 With interest rate hikes planned for the The divergence between
1 206 938-0570 Fax 1 206 938-1307
circ@traders.com remainder of the year, can we expect to see the stock market’s value
Subscription Manager Sean M. Moore selloffs and volatility spikes more often? It and volatility is enough
may make for a more exciting market for
Website traders but it comes with its share of risk. to make traders jittery.
http://www.traders.com
It
Staff members may be emailed through the Internet
using first initial plus last name plus @traders.com
The editors of S&C invite readers to submit their opinions and information on subjects
relating to technical analysis and this magazine. This column is our means of communi- Winner
cation with our readers. Is there something you would like to know more (or less) about?
Tell us about it. Without a source of new ideas and subjects coming from our readers, this 16 years
magazine would not exist. in a row!
Email your correspondence to Editor@Traders.com or address your correspondence
to: Editor, Stocks & Commodities, 4757 California Ave. SW, Seattle, WA 98116-4499. All
letters become the property of Technical Analysis, Inc. Letter-writers must include their full
name and address for verification. Letters may be edited for length or clarity. The opinions
Build powerful
expressed in this column do not necessarily represent those of the magazine.—Editor trading systems in
MINUTES
THE V-TRADE SERIES trading plan for this upcoming year.
without coding
Editor, I was wondering if he has coded his
It’s great to hear from strategies for either platform, preferably
author Sylvain Vervoort the former. Does he offer the code/strat-
again in the magazine. egy for sale? (And I wouldn’t be adverse ®
No Cherry-Picking
Survivorship Bias—
A Wake-Up Call
There’s more to trading systems than developing buy • Position size: 10% of current equity per posi-
and sell signals. Here’s one aspect you may not have tion.
been aware of that could make a difference to your
backtesting results. Backtest results
W
In Figure 2 you see the equity curve for the Nasdaq
hen I first began my research into techni- 100 stocks using the backtest settings I used.
cal analysis and trading system develop-
ment—that would have been around the
year 2000—I was focused on trading sys-
tem rules and code. I spent countless hours devel-
oping my own backtesting platform, and ensuring
the logic for my trading models was expressed cor-
rectly and that the results were accurate. But there’s
more to system trading than developing buy and
sell rules. I neglected to pay sufficient attention to
the data I was using in my backtesting, and it came
back to bite me.
Quantacula Studio
Example system: 4x2
To illustrate what I did incorrectly, I’ll use the 4x2
FIGURE 1: BUILDING THE STRATEGY. The 4x2 trading system was replicated. The
trading system that was published by James Altucher strategy is simple: Buy after four consecutive days of falling price (closing price); sell
in his 2004 book Trade Like A Hedge Fund. The rules after two consecutive days of rising price.
• Data range: most recent 10 years return as shown by the backtest is 18.28% with a Sharpe ratio of 1.23. Furthermore,
its maximum drawdown percentage is -28.32%, compared to a maximum drawdown
• Starting capital: $100,000 percentage of -51.03% for the benchmark SPY.
by Dion Kurczek
April 2018 • Technical Analysis of Stocks & Commodities • 9
It’s as if the backtest knew
what the winning lottery
numbers were and acted on
that information. This flaw in
backtesting methodology is
called survivorship bias.
‡Quantacula Studio
‡See Editorial Resource Index
FIGURE 4: COMPARING BOTH BACKTEST RESULTS. The blue area represents
†See Traders’ Glossary for definition
the original, flawed backtest, and the orange area represents the backtest that is not
subject to survivorship bias.
Extended hours trading is subject to unique rules and risks, including lower liquidity and higher volatility. Extended hours trading not available on
market holidays. See tdameritrade.com/600offer for offer details and restrictions. This is not an offer or solicitation in any jurisdiction where we are
not authorized to do business. TD Ameritrade, Inc., member FINRA/SIPC. © 2018 TD Ameritrade.
Tricked You!
The V-Trade
Part 2: Technical Analysis
Making buy and sell decisions are critical for any trader. But I’ll explain how I apply these techniques to make manual and
in some market environments, it’s difficult to gauge which automatic buy & sell decisions.
way prices will move. Are institutional traders just pushing
prices to make a quick buck? What’s a retail trader to do? Chart types
Here’s one way to know. Over the years I have used just about every type of chart. As
you are aware, you have many choices when it comes to chart
In
by Sylvain Vervoort types. Lines, bars, and candlestick charts use a fixed time
period for the x-axis. This period can be tick data, seconds,
WAVES: KEO/V: ARBUZ/V: ARBUZ/SHUTTERSTOCK/
this second part of my V-Trade article series, I’ll minutes, hours, days, weeks, or months. Most traders use
discuss the process of making buy and sell deci- candlestick charts related to fixed time periods, but is this
sions. I’ll focus on what you should know about the best solution?
COLLAGE: CHRISTINE MORRISON
technical analysis in order to successfully apply Institutional traders trade on price levels and look for the
the five basic trading rules I outlined last time in part 1. I’ll strongest levels of supply & demand without worrying about
go over several important components of technical analysis the time it takes to reach that support or resistance. Because
including chart types, passive support & resistance, active of this, I prefer to use charts not related to time. I have found
support & resistance, chart patterns, and wave count. Then the renko chart to be the best one to use, even though it comes
12 • April 2018 • Technical Analysis of Stocks & Commodities
TRADING SYSTEMS
MetaTrader4
to show the disadvantage of using this chart type. In
the highlighted areas, price is moving within a small FIGURE 1: 15-MINUTE CANDLESTICK CHART OF EURUSD. This is your typical candlestick
range. These small price moves impact everything chart displaying the body and wicks on a fixed-time scale.
that is derived from the basic chart, including moving
averages, indicators, and so on. As a result, you’ll see
a greater number of false buy and sell signals during
these timeframes.
Compare the 15-minute candle chart in Figure 1 to
the time period from October 13 to 14 on the modi-
fied renko chart in Figure 2. Most of the small price
moves from the 15-minute candlestick chart cannot
be seen in the four-pip modified renko chart.
The renko chart provides a clearer and more com-
pact view of the price move, which makes it easier to
make buy and sell decisions. It makes counting waves
straightforward. To give you a better understanding
of the modified renko chart, let me give you some
more details. FIGURE 2: MODIFIED RENKO CHART. In this four-pip chart of EURUSD, you’ll notice that
price moves are clearer and more compact compared to looking at a candlestick chart. This
The standard renko chart makes it easier to visualize price movement.
long trade at the close of the bar marked 1 in Figure 3. The renko chart
backtest program uses the next bar’s open marked 2, which is Given the shortcomings of the standard renko bar chart, I
incorrect. The open is at the level of the closing price of the use a modified version like the one shown in Figure 4. This
bar marked 1, and that is a difference of five pips. modified renko chart uses the correct opening price for the
Closing the long trade at the open of the bar marked 3 next bar and shows wicks for the lowest or highest price. A
gives the correct result. If you are opening a long trade at green upward-moving brick can have a wick only at the bot-
the close of the bar marked 4, the backtest program initiates tom side and a red downward-moving brick can only have a
the trade at the open price of the bar marked 5, which again wick at the upper side.
is incorrect. This modified renko chart is a more accurate representa-
April 2018 • Technical Analysis of Stocks & Commodities • 13
When there is a fake resistance
break, that is, price moving
above resistance within a flat
price move, there is a good
chance that professional
traders triggered that break.
FIGURE 4: MODIFIED FIVE-PIP RENKO CHART. Here you see the correct opening minimum green double brick size. If price continues the up
price for the next bar and wicks for the lowest or highest price. Compared to the move, a single additional brick is added after price moves up
standard renko chart, this modified renko chart is a more accurate representation
by the minimum basic brick size used in the chart. The wick
of the price move made within a single bar.
that’s below the body shows the lowest price reached before
tion of the price move made within a single bar. However, the the completion of that brick’s closing price.
problem concerning gaps filled with virtual bricks remains. The beginning of a downward reversal (point 2 in Figure 4)
Virtual bricks have no real buy and sell prices. With forex needs a minimum of a red double brick size. If price continues
pairs like the EURUSD or any instrument with a 24-hour to move downward, a single additional brick is added after
notation, the problem is limited, but if you are using under- price moves down by the minimum basic brick size used in the
lying instruments having large gaps, you must be careful chart. The wick that’s on top shows the highest price reached
and preferably avoid trading when a larger gap is expected. before the completion of that brick’s closing price.
Virtual bricks have no upper or lower wicks. You can use What if there is a reversing double brick but no price con-
that knowledge to recognize a series of virtual bricks in the tinuation in the direction of the reversal such as in points 3
modified renko chart. and 4 in Figure 4? In such cases, there needs to be a move
Let’s take a closer look at Figure 4 to better understand of three basic bricks—one double brick to compensate the
how these modified renko bricks form. A red body means an previous double brick and another single brick continuing
open at the body’s upper side and a close at the body’s low the previous down or up move.
side. A green body has an open on the low side and a close When you apply this last rule, you avoid a series of double
at the body’s top. An upward-moving green brick can only bricks that are not useful. This keeps the chart more com-
have a wick on the low side and a down brick can only have pressed, and longer series of double bricks do not influence
a wick at the upper side. indicators and averages. I am using MetaTrader4 here, which
The start of an up reversal (point 1 in Figure 4) needs a does not store historical tick data. Historical bricks are therefore
created using historical minute
data. Real-time tick data create
real-time bricks. As a result, the
same chart may show differences
depending on your starting point
of historical data and the real-time
starting point of the chart.
Long-term modified
renko chart
I’ll walk you through a longer-
term modified renko bar example
using the S&P 500 index (Figure
5). The brick size is 450 ticks
or 4.5 points. The chart starts
in mid-August 2017 and ends
on November 17, 2017. Note the
compact structure of the chart
where Elliott waves can be easily
FIGURE 5: LONG-TERM CHART OF THE S&P 500 INDEX USING A BRICK SIZE OF 450 TICKS (4.5 POINTS).
The compact structure of the chart makes it easy to recognize Elliott waves. A Fibonacci projection over wave (1) gives recognized. A Fibonacci projec-
exact targets for intermediate waves 1 and 3. It looks like wave (5) is completed. You can also see a head & shoulders tion over wave (1) gives exact
pattern. targets for intermediate waves 1
14 • April 2018 • Technical Analysis of Stocks & Commodities
Noisy indicators
delay your analysis
and 3. It looks like wave (5) is completed. You can also see
a head & shoulders pattern. I assume the first correction will
move down to the level of intermediate wave 4, the 100-brick
average (green), and the low side of the volatility channel,
forming correction wave C.
Futures, foreign currency and options trading contains substantial risk and is not for every investor. Only
risk capital should be used for trading and only those with sufficient risk capital should consider trading.
but has subtle differences.
The AMA is designed to account
for the location of the close relative
to the high–low range. You’ll find
that AMA closely follows prices
and can be combined with KAMA
to identify turning points and filter
price movements.
How’s it calculated?
The values 10, 2, and 30 are the
typical settings used with the AMA;
however, other values can be sub-
stituted depending on your trading
style and goals. These settings are
similar to KAMA.
where:
Lowest low = Lowest low for the
lookback period (10+1)
Highest high = Highest high for the
lookback period (10+1)
“ABS” stands for absolute value.
Keeping Up With Changes
Adaptive Moving
MLTP fluctuates between 1 and
zero and has a value from 0.8–1 if
Averages
price is near its high or low for the
given time period. When the close
is in the middle of the range, MLTP
equals zero.
Smoothing constant
The biggest challenge for any trader is identifying turning points in price movements. (SC)
You never know if you’ll end up getting whipsawed out of a trade. Here’s one way to The smoothing constant uses the
LANDSCAPE: TANYADZU/SHUTTERSTOCK/
T
avoid those whipsaws. MLTP and two smoothing constants
based on an exponential moving
by Vitali Apirine average.
COLLAGE: NIKKI MORR
he term adaptive moving average is associated with the Kaufman adaptive SC = [MLTP × (fastest SC - slow-
moving average (KAMA), developed by Perry Kaufman. In this article I will est SC) + slowest SC]2
discuss the adaptive moving average (AMA), which is based on the KAMA
18 • April 2018 • Technical Analysis of Stocks & Commodities
ABS (Close - Close
Periodic Volatility
Smoothing Con-
Smoothing Con-
Smoothing Con-
Smoothing Con-
10 periods ago)
stant 2/(30+1)
(Highest High - Current Close)] / (Highest
Slowest EMA
stant 2/(2+1)
Fastest EMA
stant KAMA
stant AMA
Efficiency
Direction
Ratio ER
KAMA
Close
AMA
High
Date
SCK
SCA
Low
Signals
Typically, the KAMA/price crossover
system will generate many signals
and whipsaws, but KAMA/AMA can
reduce the number of whipsaws. When
the AMA moves above KAMA, you
could look for bullish crosses and when
AMA moves below KAMA you could
look for bearish crosses. Crossovers
can last from a few days to a few weeks. It depends on the
move’s strength.
The chart in Figure 3 shows the S&P 500 index with
FIGURE 3: BULLISH CROSSES. On this chart of the S&P 500 index with KA (10,
2, 30), the green vertical lines identify low-risk entry points.
KA(10,2,30). Bullish crosses, displayed as green vertical
lines, provide low-risk entry points to participate in the strong
uptrend.
The chart in Figure 4 shows London Financial Times Index
(FTSE) with KA(10,2,30). Bearish crosses, displayed as red
vertical lines, provide entry points to participate in the strong
downtrend. Note that the bearish cross in late September 2015
was negated when the FTSE index exceeded the September
peak in early October.
You can use KAMA/AMA crossovers for swing trades.
Resistance break
Figure 5 shows the Dow Jones Industrial Average with KA
(10,2,30). Note there were some good signals and some bad
ones. Bullish/bearish crossovers (green/red vertical lines)
work better when price swings are relatively big (that is, prices
are up over 5%).
Note the whipsaw in early October 2004 was short-lived.
AMA’s requirement to hold the cross for a set number of days
could avoid this whipsaw.
FIGURE 4: BEARISH CROSSES. This chart of the London Financial Times Index
(FTSE) with KA (10, 2, 30) displays bearish crosses as red vertical lines. These The benefit of two
lines identify entry points to participate in the strong downtrend. KAMA/AMA can be used together to generate crossover
signals. Both have the same parameters and their crossovers
20 • April 2018 • Technical Analysis of Stocks & Commodities
The AMA closely follows
Whipsaw
prices and can be combined
with KAMA to identify
turning points and filter
price movements.
‡MetaStock
‡See Editorial Resource Index
†See Traders’ Glossary for definition
FIGURE 5: SWING TRADING WITH KAMA/AMA. On this chart of the Dow Jones
Industrial Average (DJIA), you’ll notice there were some good signals and some
bad ones. Bullish/bearish crossovers (green/red vertical lines) work better when The code given in this article is available in the Article Code sec-
price swings are relatively big (that is, when prices are up over 5%). tion of our website, www.Traders.com.
Further reading
Apirine, Vitali [2018]. “Weekly & Daily Percentage Price
Oscillator,” Technical Analysis of Stocks & Commodi-
ties, Volume 36: February.
[2016]. “The Middle-High-Low Moving Average,”
Technical Analysis of Stocks & Commodities, Volume
34: August.
A
problem has been that different measures produce different
by Mike B. Siroky, MD estimates of volatility. It turns out that the level of volatility
depends on your measuring stick. So, what is volatility and
century ago, John D. Rockefeller was asked what how is it best measured?
ALEX MOE/SHUTTERSTOCK
For each day, the logarithmic ratio of high to low price is In this formula, H is intraday high, L is the intraday low, O
calculated and squared. The sum of these squares is multiplied is the open, and C is the close. Because it uses the ratio of high
by a constant (0.361) and then the square root is taken. Note to open and close and low to open and close, this formula is
that by taking the logarithm of the high–low ratio, the high– able to measure volatility even when drift is present unlike the
low range (which is a price difference) has been converted Parkinson or Garman-Klass formulas. However, it still could
to a logarithmic return based on the intraday low. Also note not account for opening gaps. This is easily remedied if we
that by taking the square root of the sum of squares, the Par- modify the Rogers-Satchell formula by adding the square of
kinson volatility measure is actually the root mean square of the log ratio of opening price to the previous day’s close.
the high–low ratio. (For the derivation, see the 1980 article
For any time 0–t,
Modified RS =
Price movement Term
Closet-1 to closet Inter-day return � ∑ln(Ot/Ct-1)2 + ln(Ht/Ct) ln(Ht/Ot) [3]
Closet-1 to opent Overnight return
Opent to closet Intra-day return
Volatility criteria
Hight to low t Intra-day range A close study of the range-based volatility measures reveals the
Max(hight,closet-1) to Min(closet-1),low t) Wilder true range following requirements for a successful volatility estimate:
High0-t to low0-t Time segment range
FIGURE 1: VOLATILITY MEASURES CLASSIFIED ACCORDING TO PRICES. 1. It should include intraday prices and close-to-close prices
The first three time intervals are based on returns while the last three are based in order to include intraday volatility.
on range. What’s the difference between the two? “Range” refers to price from a
beginning and end time, whereas “returns” refers to the first derivative of price of 2. It should account for opening gaps to include overnight
a known time. volatility from news occurring when the market is closed
April 2018 • Technical Analysis of Stocks & Commodities • 23
Compared to standard deviation
of returns, true range accounts
for intraday price movement
FIGURE 2: Correlation between the modified Rogers-Satchell
formula and root mean square of Wilder’s true range (RMS-TR%).
while still measuring opening
Here you see 10 years of data on SPY ending September 29, 2017. The x and y gaps and drift.
axes both represent annualized percent volatility.
(such as earnings announcements). extracted and the result is multiplied by 100 to give the re-
3. It should be able to estimate volatility even in the pres- sult as a percentage. The result of equation 5 is annualized
ence of significant price trend or drift. by multiplying by √(N/n) where N=1 year in days and n=the
period of calculation. In this case, the period of calculation
The modified Rogers-Satchell formula in equation 3 is one month or about 25 trading days and one year is 256
should satisfy these requirements. How do the newer vola- trading days. Note these numbers were selected because they
tility measures compare to Wilder’s true range, a volatility are perfect squares. So the annualization ratio is √256/√25
measure commonly used in technical analysis? Wilder’s true = 16/5 = 3.2. We will refer to this measure as the annualized
range already meets two of the above criteria by including root mean square true range or RMS-TR% and compare it
intraday prices and handling opening gaps quite well. In to the newer volatility measures, all of which are annualized
order to compare Wilder’s true range to other measures, it is root mean squares.
necessary to put Wilder’s true range (TR) in the same terms Figure 2 shows the excellent correlation in annualized
as the other measures. volatility between the modified Rogers-Satchell volatility
measure in equation 3 and the simpler RMS-TR% measure
For any time t, in equation 5. This demonstrates that the true range, when
TRt= ln[max(Ht,Ct-1)/min(Ct–1,Lt)] [4] expressed in logarithmic terms, competes well with the newer
volatility measures.
This formula uses the maximum of today’s high and yester-
day’s close and compares it to the minimum of today’s low and Comparing volatility estimates
yesterday’s close, thus calculating the single day true range as We will use as our benchmark the volatility index published
a natural logarithmic ratio. If desired, the result of equation 4 by the Cboe Options Exchange commonly called the VIX.
can be expressed as a percentage by multiplying by 100. This measure uses the prices of out-of-the-money calls and
The following equation provides the root mean square true puts to estimate market perception of the volatility of the S&P
range% (RMS–TR%) over any time interval 0–t. 500 index over the next 30 days, which is then annualized. The
VIX has been calculated daily since 1990. We will compare
For any time 0–t, the following to the VIX:
RMS-TR%0–t =
1. The logarithmic true range (RMS–TR% from equa-
100* √ ∑ [ln[max(Ht,Ct-1) / min(Ct-1,Lt)]]2 [5] tion 5)
2. Wilder’s original true range
The results of equation 4 are squared, then summed over
3. The standard deviation of returns
time interval 0–t. The square root of the sum of squares is
4. The modified Rogers-Satchell formula from equation
3, and
5. Parkinson’s measure from equation 1.
Why it works
Welles Wilder stated in his 1978 book
on technical trading systems, “The one
thing that is directly proportional to
volatility is range.” His true range indi-
cator anticipated many of the formulas
currently being developed in academia.
These newer measures build on Wilder’s
concept of true range as logarithmic ratios
April 2018 • Technical Analysis of Stocks & Commodities • 25
Volatility measure R2 value rather than price dif- the median absolute annual
RMS TR% .7449
ference. Wilder’s key drift is 13.5%. In contrast,
insight was that in the median annual range is
Modified Rogers/Satchell .7445
order to fairly assess 21.6% or about 60% more.
Wilder’s True Range .7409 volatility, you must Compared to standard
Parkinson .7362 use the maximum deviation of returns, true
Standard deviation return% .6851 price movement in range accounts for intraday
FIGURE 4: ThE GOODNESS OF FIT. The R value2 any period and that price movement while still
of standard deviation of return% was lower than means using intraday measuring opening gaps
the R2 of the range-based volatility measures in highs and lows and and drift.
FIGURE 7: USING INTRADAY hIGhS
tracking VIX. the prior day’s close AND LOWS AND PRIOR DAY’S CLOSE. In
when necessary. hoW vaLid is true example A, you see two days’ trading with
Note in Figure 7 how Wilder’s true range takes the opening range? no opening gap. The red arrow indicates the
gap into account by using the lowest of the prior day’s close The results presented in close-to-close change. The vertical double
or the intraday low, thus maximizing the range. If there is a this article show that true
arrow indicates the true range. In example
B there is an opening gap, since the low of
down gap, it works in reverse to account for the opening gap. range, when calculated the second day is above the close of the
Wilder did not concern himself with accounting for price properly, can compete well previous day. In B there is a larger return
drift, indicated by the red arrows in Figure 7. But note that with newer volatility mea- and also a larger true range.
in example A there is minimal change in closing prices, but sures. The true range can be
the true range is at least twice as large. The standard devia- standardized against its own median, thus producing a useful
tion would pick up little volatility because it ignores intraday normalized volatility. Periods of high volatility are associated
price movement. When drift expands, as in example B, true with short, violent declines in price. Avoiding the high-volatility
range also expands. periods allows you to markedly reduce risk of loss.
It is possible to have a large change in closing price with a
smaller oscillation of intraday prices. In example B, the intraday Mike B Siroky, MD, is a retired surgeon living in Phoenix, AZ.
excursion and the price drift are almost equal. However, the He has more than 25 years of investment experience and is
construction of the true range ensures that range will always particularly interested in quantitative technical analysis and
be larger than drift. Looking at SPY data for the last 10 years, indicators. He can be reached at mike.siroky@yahoo.com.
further reading
Garman, Mark B., and Michael J. Klass [1980]. “On the estimation
of security price volatilities from historical data,” The Journal
of Business, Vol. 53, No.1, www.jstor.org/stable/2352358.
Parkinson, Michael [1980]. “The extreme value method for estimat-
ing the variance of the rate of return,” The Journal Of Business,
Vol. 53, No. 1, http://www.jstor.org/stable/2352357.
Rogers, L., and S. Satchell [1991]. “Estimating variance from high,
low and closing prices,” The Annals Of Applied Probability, Vol.
1, No. 4, www.jstor.org/stable/2959703.
Siroky, Mike B. [2018]. “Measuring Risk With The Normalized
FIGURE 5: 10 YEARS OF CLOSING PRICES OF SPY AS A PROXY FOR ThE Risk Index” Technical Analysis of StockS & commoditieS,
S&P 500. The VIX index is in green and the RMS true range% is in red. Both Volume 36: January.
measures are annualized. Wilder, J. Welles Jr [1978]. New Concepts In Technical Trading
Systems, Hunter Publishing.
Yang, Dennis, and Qiang Zhang [2000]. “Drift-independent
volatility estimation based on high, low, open, and closing
prices,” The Journal of Business, Vol. 73, No. 3, www.jstor.org/
stable/10.1086/209650.
What do we need to know about cash market price of bitcoin and cash- a futures contract with an experimental
bitcoin futures? (Part 2 of 2) adjust trading accounts accordingly. cybercurrency as the underlying “asset”
Last month, we looked at the contract Thus, there is no digital wallet necessary could leave bitcoin futures prone to ma-
specs for the two versions of bitcoin fu- because there is no actual bitcoin to take nipulation and inefficient pricing.
tures. This month, we’ll focus on market possession of.
characteristics and logistics. As a broker who has seen cash settle- Illiquidity is an issue
ments pick the pockets of speculators for Despite widespread chatter surround-
Are two bitcoin futures a crowd? years, I strongly recommend offsetting ing the bitcoin market and the newly
In my opinion, the listing of two compet- positions prior to expiration to avoid listed futures contracts enabling the
ing futures contracts with a new asset as unnecessary slippage in pricing. Keep masses to trade cryptocurrencies, the
the underlying is unfortunate. It divides in mind, the cash market bitcoin is far trading volume has been light. To be
liquidity between two different market- from being a transparent and central- fair, all newly listed futures contracts
places and creates challenges for brokers. ized arena. Instead, there are dozens of go through growing pains and it takes
For instance, not all futures brokers brokerages that are creating synthetic several months or years to acquire liquid-
offer Cboe products on their trading markets for their clients to buy and sell ity. In reality, many newly listed futures
platforms and not all stockbrokers offer bitcoin. In other words, it is a lot like the contracts are eventually delisted due to
CME Group futures on their platforms. a lack of interest so this isn’t necessarily
Further, those who use brokers with unexpected.
access to both might experience some If you venture into the Nevertheless, sparse volume in bitcoin
confusion on which is most advanta- game of bitcoin trading, futures creates an environment of wide
geous to trade. the futures markets are bid/ask spreads and poor fill quality.
I wish I could say it was uncommon For example, the BTC bid/ask spread is
for online traders to mistake similar
likely the most efficient generally around $50 but because of the
contracts for one another, but it isn’t. means of doing so. contract size for five bitcoins, this equates
Green traders using platforms with ac- to a hidden cost of $250 to execute a trade.
cess to both the BTC and the XBT might forex market, where there is the ambigu- The smaller contract size offered by the
unknowingly trade the larger contract ity of pricing from broker to broker. As a XBT seems to have attracted more specu-
after researching and being comfort- result, the futures exchange’s cash settle- lative interest, creating a tighter bid/ask
able with the smaller, and vice versa. ment price is somewhat arbitrary. spread (between $20 and $40), but there
After all, most platforms are capable of Most commodity-based futures con- is still plenty of room for improvement.
searching for futures contracts by term tracts are not cash-settled. Instead, those To put this into perspective, the emini
rather than by symbol. It isn’t far-fetched holding positions beyond the exchange’s S&P 500 futures offers a bid/ask spread
to imagine a trader typing in the word first notice day are subject to receiving of a single tick, or $12.50.
bitcoin and getting in over his head with delivery of the underlying commodity,
the five-bitcoin contract rather than the or make delivery of it if they are short Bitcoin futures are regulated, and
one-bitcoin contract. the futures contract. (Of course, this is a transactions are guaranteed (unlike
simplified statement; those not wishing the bitcoin cash market)
Bitcoin futures are cash-settled to make or take delivery can always get Unlike buying and selling bitcoin in the
Both versions of the bitcoin futures are out of the obligation). cash market, the futures market is regu-
cash-settled. This means traders who The delivery relationship between the lated. Further, the exchanges guarantee
hold a long futures contract until expi- cash market and futures market works to the integrity of every trade. This means
ration won’t be delivered actual bitcoin; keep commodity prices efficient. Some
instead, the exchange will determine the worry that the lack of physical delivery of Continued on page 37
April 2018 • Technical Analysis of Stocks & Commodities • 27
RaS RaS: An Alternative
Let’s Paint Our Screen
Charting Technique
Technical analysts rely on charts to make their trading deci- histograms, and so on), to those that are not time-uniform
ART: M STASY/SHUTTERSTOCK/COLLAGE: CHRISTINE MORRISON
sions. Some prefer to look at bar charts, others prefer candle (such as renko, kagi, point & figure, and so forth), to the most
charts, renko charts, line charts, or … There are many op- popular ones—bar and candlestick charts.
tions to choose from. Here’s another one to add to your list. It A traditional bar chart (HLC) uses three values per obser-
combines bar and candlestick charts and makes your charts vation—high (H), low (L), and close (C)—to produce a basic
more visually appealing and intuitive. plot of price evolution, which reveals the sequence of highs,
M
lows, and the relative position of closing prices in each bar.
by Marco Alves Older bar charts used standard black bars, but most charting
platforms these days allow for conditional coloring, usually
any types of charts are available to plot price dependent on closing price variation or, in more sophisticated
over time—from those that rely solely on closing ways, by combining indicators and color-coding them into the
prices (such as line charts, symbols, area graphs, price bars (the Elder impulse system, for example).
28 • April 2018 • Technical Analysis of Stocks & Commodities
NEW TECHNIQUES
Japanese candlestick charting, by adding a fourth value— displayed (more on this later). Figure 2 illustrates the three
open (O)—and combining it with the close (C) to produce a possible constructions for a given set of HLC values.
“body” (connected to H and L by “wicks”), became one of By highlighting one performance over the other, with a
the most sophisticated techniques available to display price different color and a pronounced thickness, a colored strip is
evolution. The relative positions of O, C, and the previous formed, as if painted by a roller (thus the name “RaS,” which
close, along with the relative sizes of the wicks, allow for a stands for roller and strip). The roller’s “handle” represents
vast array of configurations. More than 40 patterns (reversal the opposite pressure, displayed with a neutral color, and a
and continuation) are described in literature and while this thick marker is used for the close (the “roller”). I will use
technique may be an effective sentiment indicator and pre- green and orange coloring to represent positive and negative
dictive tool for the short term, its complexity frequently goes performance, respectively.
beyond the needs or skills of many analysts. The main difference between the RaS “strip” and the candle-
HLC bars are much simpler and easier to read (they don’t stick’s “body” is the emphasis, by the former, on the relation
look so cluttered when compared to candlesticks) but are more of the close to the extremes, in contrast to the relation of the
limited on the information they can transmit. This article pro- C to O highlighted by the Japanese symbol. Also, with RaS,
poses a new chart type, and it’s aimed at those who dispense there is only one wick (the “handle”) for each strip, whereas
with the opening price (and, thus, with the Japanese technique) candlesticks frequently have two wicks extending from the
but still appreciate a visually appealing and informative chart body. (The “opening marubozu” would be an exception, visu-
that goes beyond the traditional HLC technique. ally resembling an RaS icon. See “further reading” at end for
one primer on candlesticks.)
The duality of the closing price
If you look at a traditional HLC bar, it is easy to recognize that Interpretation
the closing price records a dual performance: a decline from Chart analysis is all about understand-
the high and an advance from the low (Figure 1). This duality ing how bulls and bears push prices—
reflects two types of pressure (buying and selling) within the that is, who is gaining control and who
H–L range, and the distances that separate the closing price is losing it. Reading RaS charts should
from the extremes serve as measures of those pressures. be straightforward: If a positive strip is
It is possible to design a new HLC icon that effectively displayed, it means the buying pressure
RaS
displays those pressures, but we must decide on a criterion was sufficient to carry price from the lows to a higher close
for choosing which component will be highlighted (by color than the previous observation, winning over the declining pres-
and thickness differentiation, for example). Although the sure. If a negative strip is formed, the bear’s selling pressure
largest distance from the close to an extreme could be such a forced prices to a lower close over any bullish performance
criterion, that approach wouldn’t add much to what is already above the low. In a neutral bar, the battle between bulls and
provided by a traditional bar. bears, regardless of the apparent winner (as measured by the
Another, more intuitive differentiation criterion is the varia- distances of the close to the extremes), was insufficient to
tion of closing prices: if the close in question is higher than change the price on a closing basis and indecisiveness is the
the previous one, then the advance should be distinguished; keynote of that observation.
the decline would be highlighted in the case of a lower close. Naturally, the relative sizes of the strip and of the handle
In the less common situation of an unchanged close, no must be compared, and this is where the differentiation
performance would be preferred and a regular bar would be provided by the proposed design becomes useful: A long
handle with a short strip
High (H) indicates a relatively
High (H) weak pressure, whereas
Decline
(selling pressure)
long strips with short
handles denote strong
Close (C)
Previous C>C 0 pressures. For instance,
C=C0
Close (C0) a relatively short posi-
C<C0 tive strip (say, one-third
of the handle) following
Advance
(buying pressure) a positive trend (a se-
quence of higher highs
and higher lows) may
Low (L) indicate exhaustion and
Low (L)
the possibility of a trend
FIGURE 1: DUAL PERFORMANCE OF CLOSING PRICE. FIGURE 2: THREE POSSIBLE CONFIGURATIONS FOR AN RaS
This depicts a decline from the high and an advance from ICON. The relative position of C, regarding the previous close, will
reversal initiating.
the low. determine the displayed icon: a positive strip (green), a negative strip Some patterns are
(orange), or a neutral bar (unchanged close, no strip). common to bars and
April 2018 • Technical Analysis of Stocks & Commodities • 29
RaS
candlesticks so it’s only natural they occur when charting
with RaS icons. Here are a few:
The RaS charting method
• Inside action: when an entire H–L range is containable is aimed at simplifying
by the H–L range of the previous observation
analysis (when compared to
• Outside action: The H-L range totally comprehends the
previous range
candlesticks) while adding
relevant information absent
• Gaps: when there is no overlap between adjacent icons
(the L is higher than the previous H, or the H is lower from traditional bar charting.
than the previous L)
• Island reversal: a gap in one direction, followed by a
consolidation encompassing several icons (the “island”)
and by a gap in the other direction figure out what textbook pattern would best match a real
data configuration.
• Double tops and double bottoms
Note some of the differences that may emerge between
• Triple tops/bottoms and the “head & shoulders” pat- candlesticks and RaS icons, for the same observations (the
tern. terms inside quotation marks are terms used in candlestick
interpretation):
Information on how to interpret these patterns is easily
available in literature and on the Internet, so I will not rep- A. The neutral/negative “spinning top” candlestick con-
licate it here. trasts with a positive RaS.
Other patterns, similar to those present in candlestick B. A “spinning top” candle followed by a bullish “opening
charting, may have correspondence in an RaS chart (the marubozu” compares to a neutral RaS followed by a
“hammer” and “hanging man” come to mind), but validation slightly negative RaS.
of those patterns would require statistical analysis on a large
database regarding frequency and performance (winning/
losing percentages, net profit/loss, etc.), and that goes beyond
the scope of this article.
Just remember not to “over-read” an RaS chart and main-
tain a simple approach. If you find yourself trying to extract
very elaborate information out of this technique, you would
probably find your efforts best served by studying Japanese
candlesticks instead. Again, the proposed charting method is
aimed at simplifying analysis (when compared to candlesticks)
while adding relevant information absent from traditional
bar charting.
As with any other chart type, RaS charting will benefit from
the blend with technical indicators that complement price
behavior, producing a more comprehensive picture. Choosing
from the dozens available is a matter of personal choice.
RaS
MdfO, high, low, and close columns as source data, and McGraw-Hill.
define a marker (the “roller”) to display the closing price.
If you need an example file, feel free to email me and I will
send you one.
Pivot Levels
With Gareth Burgess
After spending many years dabbling in the financial markets, Gareth
Burgess decided to take the leap to becoming an independent trader.
Many years of research into charts led him to come up with a trading
system that he believes is similar to Jesse Livermore’s tape-reading
techniques. His research into charting techniques and backtesting to
discover what works and doesn’t work also led to his book published
by Wiley, Trading And Investing In The Forex Markets Using Chart
Techniques.
Stocks & Commodities Editor Jayanthi Gopalakrishnan spoke
with Gareth Burgess on February 8, 2018 to find out more about his
trading system.
Customizable Scanning
Pring Murphy Hill
Fully customized to your technical
parameters, our world-class scan engine
allows you to instantly find the stocks that
meet your specific criteria. Plus, our technical
alerts notify you of key moves to help you
Swenlin Bowley Schnell
stay ahead of the curve.
and more!
What do you trade? And where are these levels on the chart?
I have a Eurex account and trade How do you find them?
lots of German bonds. I also have a If you look at the chart in Figure 1,
34 • April 2018 • Technical Analysis of Stocks & Commodities
you’ll see volume from 63.76 to 63.98 row of numbers right next to
and back to 63.76. I look for those sup- it and have the spreadsheet
port & resistance levels and note the deduct it for me. (For an I look at the one-minute
significance of these levels, even for example of the spreadsheet, chart to see where the
the following trading day and further see Figure 3.) market has been finding
out (Figure 2). At the 63.85 and 63.87
And this is important—I look at the levels, when the market goes
a lot of resistance or a
one-minute chart to see where the market back up again, there are pivot lot of support. But it’s the
has been finding a lot of resistance or a lot levels. They are difficult to volume that confirms the
of support. What level on the one-minute see on the one-minute time significance of that pivot
bar chart does the price get over and then chart or otherwise, and it is
find support at? But it’s the volume that not easy to see how much the
level.
confirms the significance of that pivot volume has changed when
level. On the first attempt higher, I record you’re looking at total vol-
the volume. It’s demanding because you ume. For example, at 63.85
have to be quick. I take a print copy of there were 1,056 more contracts traded You have to keep looking at volume and
the depth of market (DOM), copy the at that price on the second attempt. You keep adding it to your Excel table. Keep
volume out into an Excel spreadsheet, get that by deducting the total volume watching where the highest amounts of
and then wait for the market to move of the first attempt higher from the vol- volume are. In the spreadsheet in Figure
through this region again, either a return ume seen on the second attempt higher. 3, volume from the second attempt was
move or a return move followed by an- Volume should be higher and lower on subtracted from volume on the first at-
other attempt higher. Then I put the next either side of the pivot level. Then you tempt. The large volume on the bar chart
look back at the chart, and draw that is where the pivot levels are. The final
First Second line on the chart or confirm that line price touch would have been the same
Price Total
Attempt Attempt you have already suspected on the chart pivot level from yesterday. You can draw
6398 19 is the pivot line worth trading around. a line at around 85 and you’ll see that the
6397 321
It gives you, as a trader, a greater feel market hit that price during the trading
for the market. Keep in mind that the session of the following day.
6396 612
professionals who work in banks and
6395 566
financial institutions are going to have Do you use your technique for both
6394 567 more information than you as a retail longs and shorts?
6393 862 or prop trader. But afterwards, you have I don’t like to work from the short
6392 693 693 0 these important price levels recorded on side because I find that markets are far
6391 624 667 43 your Excel spreadsheet. more random when they’re selling off.
6390 900 1040 140 For whatever reason, the market trades If you’re working from the long side, it’s
6389 1534 1871 337
around these levels. It is a significant level important because these pivots work well
and you can eventually trade it. That’s from the long side as buy signals. It’s
6388 2573 3069 496
how I find my entry points. If you’re just usually three buyers to one seller, and
6387 2066 3357 1291
looking at price charts, it’s difficult to a market may only need one seller to
6386 1737 2232 495 find an entry level without having some knock the market down, and that creates
6385 1188 2244 1056 anxiety. I find the pivot lines through fear and price becomes random. When
6384 1071 2202 1131 volume, and then place them on the chart. you buy the market or buy a market as
6383 1071 1366 295 I then place the MACD indicator on a it is going up, it is not random and to me
6382 1130 1678 548 three-minute chart. I watch how price that’s professional investment. A market
6381 1879 2296 417
reacts to these levels. The MACD is a is going upwards because professionals
confirmation tool that indicates price are trading and investing in that market.
6380 2042 2560 518
direction. If it’s moving away and you’re And by the way, all the rate of change
6379 1698 2682 984
expecting the market to move back to that indicators that I have researched on
6378 1350 2571 1221 pivot level, which is where you want to charts work better as buy signals.
6377 1704 2485 781 buy, then you look for the last histogram I got that out of my research. So I look
6376 1715 1860 145 bar on the MACD to make its deepest at volume to find these levels, and then
FIGURE 3: FINDING PIVOT LEVELS USING A point. I often look for divergence as a enter them on an Excel spreadsheet so I
SPREADSHEET. A spreadsheet is used to record confirmation signal. But, you’ll only am aware of these levels for long periods
volume from the depth of market. When the market
moves through these regions again, these regions
find these pivot levels if you look at the ahead. For example, I got the bottom in
become significant. The market tends to trade around volume. They are too well hidden even oil recently, which was based on a pivot
these levels, so they can be used as entry points. on the one-minute chart. level from a while back. I look up and
April 2018 • Technical Analysis of Stocks & Commodities • 35
How do you manage your or technique is not complete. A good
positions? technique will generate reliable signals.
I look at volume to find pivot If you find the market They will be very good and you will
levels, and I enter them into gyrating around these lev- have tested your system and know what
an Excel spreadsheet so I els, eventually the market the risk/reward ratio is. Like this pivot
am aware of these levels for makes its final touch and
the MACD will confirm or
level method using volume. You’ve got to
find your own method and break it down
long periods ahead. there is divergence form- and understand it. If your system is not
ing and you’ll see volume working then try something new.
increase. Then you step in My pivot level method is time-con-
and place your stop just on suming and I am developing a software
down the column for these levels. They the other side. But if the market doesn’t program that will project all these levels
go on like that sometimes for weeks. move away very fast—in the futures for me.
market, they usually move very fast—
How do you use these pivot levels? then there’s something wrong. You can We’ve seen the markets putting up a
They’re market entry levels and if you place your stop on the other side so you strong rally. Any thoughts on if the
want to scalp off those levels, you can can get in and out two or three times if rally will continue this year?
use your short-term chart. If the price you are trading short term. You’re risk- Long-term investors were buying the
is not going to hold, the price will go ing two or three ticks, but you’re going second contracts behind the front month
below that level. You’ll see if it’s not to make a lot more than that once you’re back in 2017. The short-term traders
going to hold. If it holds, the market in rather than letting your position go eventually move on to those contracts but
won’t drop below that level any longer deep into a loss. they are buying and selling, not buying
and you’ll see volume increase while If you find a method, you must research and holding. But then larger sell orders
above that level. it by going back at least five years. Then appear from the longer-term investors
At the end you’re jumping on someone you’ve got to test going forward for at and fear is generated on a grand scale.
else’s “coat tails.” For whatever reason, least six months on paper. The futures Bids get pulled from the markets and
they have been buying and/or selling markets are a tug of war and as a trader, consequently there is a short-term abyss.
at that level. It’s interesting once you you want to maximize your gains, and You can see that in the open interest.
understand it but you have to do your at the same time minimize your losses. Everyone’s long, but eventually, there’s
own research. These two forces are always in conflict. no one left to buy and hold. So there has
Jesse Livermore was reading the tape, But if you find a method, this conflict to be a selloff. It’s always dramatic with
and he kept a book and kept seeing the balances itself out. If you find a method the media covering it.
same thing happen. It’s like looking on that fits your expectations, your trading I also have a pivot level system I use
an hourly chart and seeing a big run in will become good. The technique that for longer-term investments. It is useful
the market. But that’s not necessarily the you use as an entry signal, a buy signal, for finding market turns. For example,
high or the low for the day. The market becomes trusted to you. That counteracts I tried to look at the big picture in oil,
runs higher, drops back down, stays in these conflicting forces and balances which I think could still go down to 57
a range for a few hours, and then it goes it out for you emotionally. There is no or 58. (This has happened!) I think gold
up and makes the new high. But that last comfort zone in trading, which makes has come off a lot more than I thought.
final high is not a significant pivot level. this business difficult. It’s an uncomfort- I’m expecting gold to get back up into
It’s the first one after the initial run higher. able feeling and you have to find a way that pivot range of 134.50 and 136.50
I think that’s what he was looking at. If around it. that I identified and then for it to go
you look at a longer-term chart, you will If you find yourself looking for the higher. We’ll have to see what happens
see how the market gyrates around these opinion of other traders or chartists and/ there but certainly the levels to watch
levels. This happens all the time and I or you are experiencing fear or anxiety, are defined.
have mentioned that in my book. that is a sure sign that your method I don’t listen to fundamental news or
any other chartists or technical analysts
You said that there are two points about but I did learn from studying history that
Livermore that are worth taking with you have to read between the lines with
you. What is the second point? fundamental news. I listen to the evening
That he shot himself! He took huge news in general and think Germany is
risks and he blew his account out on more doing its best to keep the euro down.
than one occasion. He liked to short and The euro is important for the German
he liked to trade large. These are two economy but if it gets up too high it’s
aspects of market speculation that I think going to hurt their exports, and given that
a retail trader should avoid. it’s an industrial nation, this is important
36 • April 2018 • Technical Analysis of Stocks & Commodities
for that country. Maybe not so much for Thanks for sharing your approach with [2011]. “Channels In The Forex
other EU countries using the euro. us, Gareth. Best of luck with developing Markets,” Technical Analysis of
I try to understand the bigger picture your software product. Stocks & Commodities, Volume
and then drill down by looking at different 29: March.
timeframes on my own financial charts. I Gareth Burgess can be contacted via [2010]. “Forex Entry,” Technical
enjoy doing this type of analysis and can’t Twitter at @Futures__Trader. Analysis of Stocks & Commodities,
wait to get my software developed. It’s Volume 28: October.
tough to watch two or three markets, but Further reading LeFèvre, Edwin [1923]. Reminiscences
when my software is completed and up Burgess, Gareth [2009]. Trading And Of A Stock Operator.
and running, I should be able to trade up to Investing In The Forex Markets Using
20 different markets because the software Chart Techniques, Wiley.
will find and record the levels for me. I _____ [2014]. “Measured Income,”
am also thinking about starting my own Technical Analysis of Stocks &
investment company in the future. Commodities, Volume 32: June.
E
lliott Wave Turning Points is a on daily, intraday, weekly, or monthly combines his knowledge of Elliott wave,
real-time trading module recently price charts. Gann analysis, and Fibonacci techniques
designed as an addition to the op- Each turning point is marked by a pivot plus price & time projections into one
tions program from Dynamic Trend symbol, which does not change after the proprietary algorithm. The result is
that was reviewed in the July 2009 issue signal bar is completed. That enables a study that displays a visual entry,
of this magazine (see “Option Dynam- traders to take trades in the direction of target, and price level at which a signal
ics” in Further Reading). The good news an impulse or corrective wave without gets canceled on the chart once a pivot
is the new Elliott Wave Turning Points turning point appears (Figure 1).
module can be used for stocks, futures,
and forex trading. And for those who Elliott Wave Turning Elliott Wave Turning
also like to trade options, the even-better Points offers less Point pivots
news is that you receive both the Elliott guesswork for traders EWTP are represented by five colored
Wave Turning Points module plus access pivot symbols, each denoting a time and
to the options features at no additional
who are looking to find price that ranges from very short term to
charge. This review will focus mainly directional trades and a long term. The user can choose to display
on the features within the Elliott Wave realistic assessment of one or all of the pivots on the chart.
Turning Points module but will provide price and time targets. Once the algorithm has identified
some linkage to the options features. and displayed a turning point pivot, the
program automatically places colored
Elliott without the having to know anything about Elliott horizontal shaded zones for the entry
wave counts wave theory. So instead of wondering and the target. It places a single line on
Elliott Wave Turning Points (EWTP) which wave they are in, traders only need the chart, which can be used to cancel
takes a unique approach to identifying to know that a pivot displayed under or the trade in the event the trade does not
Elliott waves. Rather than provide the over a price bar alerts them to a potential trigger. The horizontal shaded bands not
typical numeric wave counts, which are directional trade. only identify the price levels but also the
subject to change as prices change, this The creator of the EWTP, Tom Jo- length of time in which to look for the
module uses Elliott wave–based concepts seph, is no stranger to Elliott and Gann entry to take place and the price target
and rules plus proprietary indicators to doctrine. He was an early developer of to be reached.
identify price direction and then locate computerized Elliott wave analysis with Once price has entered in the pre-
the trading points within that direction. the 1986 release of the Advanced GET dicted direction, the program places an
38 • April 2018 • Technical Analysis of Stocks & Commodities
automatic momentum trailing stop in
the form of dots. The trailing stop helps
to keep you in the trade until it is hit by
price, which, as seen in Figure 1, may
be well after the projected price target
is reached.
Let the mouse hover over any current
or prior pivot symbol on the chart, as
was done on the blue pivot in the lower
left side of Figure 1, to see specific in-
formation about the type of pivot, price
direction, two entry levels, two targets,
and the cancel price. Or click on any prior
pivot symbol to see the visual colored
horizontal entry and target levels as well Figure 2: Chart of Intel (INTC) with Tom’s Strength Levels (TSL). Four strength levels above
and below a neutral zone indicate price trend strength. The yellow level warns that price is becoming overex-
as its actual outcome. tended.
The software provides users the flex-
ibility to select their trading preferences
and risk tolerance. For example, rather
than display all turning point pivots,
traders can enable only the type that
matches their trading style—short term,
medium term, and so on. Users may
also choose a more aggressive entry,
change the distance of the initial cancel
line/stop-loss, and tighten or loosen the
trailing stops.
Average true range—A moving average of Resistance—A price level at which rising prices on a price chart.
the true range. have stopped rising and either moved side- T-statistic—The probability distribution used
Adaptive filter—Smoothing and/or forecast- ways or reversed direction; usually drawn to test the hypothesis that a random sample
ing prices with continuously updated as a horizontal line on a price chart. of n observations comes from a normal
weighting of past prices. R-squared (R2)—The percentage of variation population with a given mean.
Breakout—When price moves strongly above in the dependent variable that is explained Trading range—The difference between
the top of a chart pattern or below the by the regression equation. A relative the high and low prices traded during
pattern bottom. measure of fit. a period of time; in commodities, the
Curve-fitting—Developing complicated Standard deviation—A widely used statisti- high/low price limit established by the
rules that map known conditions. cal concept that describes how a given exchange for a specific commodity for
Mean-reverting—A state when price is oscil- distribution varies around its mean ob- any one day’s trading.
lating randomly about some (unknown) servation. In the case of the P/L statistic, Trendline—A line drawn that connects either
mean value. That is, it is not trending. a high standard deviation would indicate a a series of highs or lows in a trend. The
Normalization—Adjusting a data series so widely varying P/L, while a low one would trendline can represent either support
that the series lies in a prescribed normal, suggest a more stable performance. Also: as in an uptrend line or resistance as in
standard range, often from 1 to 100; adjust- The square root of the expected value of a downtrend line. Consolidations are
ing values measured on different scales the square of the difference between a marked by horizontal trendlines, appear-
to a notionally common scale, often prior random variable and its mean. A measure ing as a channel.
to averaging; rescaling to arrive at values of the fluctuation in a stock’s monthly Volatility—A measure of a stock’s tendency
relative to some size variable. return over the preceding year. to move up and down in price, based on
Pairs trading—Taking a long position and a Stop-loss—The risk management technique its daily price history over the last 12
short position on two stocks in the same in which the trade is liquidated to halt any months.
sector, creating a hedge. further decline in value. Volatility index—A widely used measure of
Pin (options trading)—When a stock’s Support—A historical price level at which market risk. Sometimes referred to as the
price closes near the strike price of falling prices have stopped falling and “investor fear gauge.”
heavily traded options on that stock at either moved sideways or reversed direc-
expiration. tion; usually drawn as a horizontal line
April 2018 • Technical Analysis of Stocks & Commodities • 41
Q&A
Chicken or Egg? policies that affect many aspects of the • The forces that are underpinning
I sometimes ask traders this question: economy and ultimately our lives. Henry any economy and market movement
“What moves the stock markets?” The M. Littlefield wrote an article suggesting may well have been at work for
responses I receive are quick, varied, and that the Wizard Of Oz novel, by L. Frank some time but do not necessarily
for the most part they are all correct. The Baum was a parable on populism and a translate into a trend that confirms
traders’ comments are reactive. political allegory. I do agree with his those forces.
If I ask traders, “What moves the analogy and comments and agree that • You cannot say with certainty that
stock market the most?” their responses this allegory written in 1900 was really the “trend is your friend.”
are slower, more thought-provoking, about the policies of central bankers, • Often, before events occur, red flags
vacillating as they second-guess their money, and banking, reminding us to have popped up, whether visible to
thoughts, and ultimately reveal they follow the yellow brick road. In the 1939 the onlooker or chatted about by
aren’t sure. The traders’ comments are movie version of the book, Dorothy’s the media.
reflective. magic silver slippers were changed by • An abrupt reversal of trend can occur
Normally, reflective thinking is more MGM to ruby slippers in order to take even when the most astute traders
powerful and accurate than reactive least expect it.
thinking. This reveals to me that in • Patterns cannot lead to a definitive
the trading community, there may be Many newcomers to conclusion. They are only reflections
a vacuum in knowledge. The current the markets can’t say, of the past but they can produce
generation and newer breed of short- probabilities from which to view
term and swing traders isn’t the same
“I’ve seen this movie the present and future.
bunch that was trading from 1997–2003. before.” • Contrarian thinking is necessary but
Others who are trading today weren’t is more of an art than a science.
trading in the 2007–2009 period either. • Trend traders can be those traders
Many newcomers can’t say, “I’ve seen advantage of the new Technicolor pro- trying to buy dollars for $0.90 all
this movie before.” cess of the time. With this color change, the while standing on a trap door
I have touched on the subject of what the relevance of silver and gold was lost, in the floor boards that could open
contributes most to market movements if it was truly meant as an educational at any time.
several times since 1998, which was the allegory, not to children, but to the adults • Contrarian traders can be those try-
year I moved from retail trading to a of his time. ing to sell dollars for $1.10 all the
professional trading career. I have now I want to encourage the millennials while trying to keep from getting
been with Bright Trading, a proprietary reading this column that not everything flattened by the steamroller.
trading firm, for 20 years, and I’ve wit- is new, the poets of our day are not that • Running scenarios of all possible
nessed firsthand many types of market much different than the poets of the past, outcomes to any open order you
conditions. From my perch, I see that and therefore, knowledge, sometimes submit, any fill you receive, and any
history repeats itself and some things even wisdom, can be garnered from the position you maintain, and having a
never seem to change. This is a timely penmanship of past authors. plan for each scenario is the only way
subject considering the 1987-like start to R.N. Elliott (1871–1948), the creator to take the “startling or surprised”
2018 with the stock market rout. of Elliott wave, said: “At best, news is words out of your vocabulary.
I feel that what moves the stock mar- the tardy recognition of forces that have • It is true that news is late and most
ket the most are macro influences and already been at work for some time and of the information has been factored
things that relate to the actions of the is startling only to those unaware of the in already.
Federal Reserve (the “Fed”). Central trend.”
banks control the money supply, set inter- Adding my thoughts about that This brings us to the chicken or egg
est rates, and engage in other monetary quote: question …
42 • April 2018 • Technical Analysis of Stocks & Commodities
Q&A
The largest and most influential market observation) play style “alien”: It sometimes wins by
participants factor in everything they • Historical volatility as low as 1994 offering counterintuitive sacrifices, like
know or can anticipate. They have an and lower than 2007 offering up a queen and bishop to exploit
underlying sentiment and bias. Their • Consumer confidence above 95. a positional advantage. “It’s like chess
psychology is to worry about what is from another dimension.”
approaching on the horizon and start On January 29, 2018: I think the day is coming when AI is
adjusting for it. just given the object of investing and the
Most other participants simply watch • The 10-year treasury bond yield regulatory rules governing securities and
things unfold and react to it as if the moved higher told to figure it out for itself … Then we
observable trend that is going higher • The VIX moved higher will see some different market action,
will always go higher, and as if a falling • The S&P 500 and many other in- but for now, we have hive sentience. In
instrument will fall forever. Neither of dexes moved down to sit exactly on simple terms, this means the independent
those beliefs are true, but since recent their respective trendlines. bodies feel and perceive experiences
market action is given the most weight, subjectively, and move together as one
that is how this group of “unprepared” The next day, January 30, 2018, the mind. We have seen all “insects” of the
participants respond. market gapped down through the trend- collective market hives move as one
Media observations can be helpful line as the bond yields soared. Is it the into stocks, into sectors, into bonds,
to recognize herd mentality, such as tail that wags the dog, or the dog that has into crypto, out of bonds, out of stocks,
when every commentator is bullish, or a tail wags it? Of course, the latter, which and so on.
when confidence and pessimism are is to say interest rates impact the stock In summary, I have learned over the
at extremes. The media in general is market and not the other way around. years that things start out as what the
late, promoting the obvious, that which The Fed could, however, be prompted to market can anticipate or what the “hive”
is sensational, and encouraging the change monetary policy by significant expects to occur. Therefore, things run
consumers of that media outlet to do stock market changes, as we have seen ahead of the confirmation. Then, once
whatever the “flavor of the day” talking historically. you have the proof of what was antici-
head suggests. pated, things can move again. This is the
Was it the technical break on January difficult part. Sometimes when you get
30, 2018 that caused the market to pick up Media observations can confirmation of what was anticipated,
speed to the downside? Most likely that be helpful to recognize you get an adverse directional move …
contributed, but it is still just a chart. and sometimes you get the move in the
An observation on a chart directs us
herd mentality. The same direction. Patterns can be helpful,
to ask, “What were the macro catalysts media in general is but you must ask what caused it. You can’t
that preceded that eventual technical late, promoting the obsess over each in too much detail or
break?” obvious. the result can be neurosis.
Can we identify something that pre- The markets may continue an upward
ceded the January 30th gap down? journey, but most likely, price discovery
Here is some prior context or back- Yes, the world is changing rapidly, is over for now, creating more resistance
drop: converging technologies are disruptive to the upside. If we happen to move lower
to many industries, but as to the stock or trade in a range for the next few years,
• S&P 500 up 20% in 2017 market, human nature is still entrenched pairs and long–short baskets can help.
• S&P 500 up 7% for January alone in the many lines of code that enable the
(up to the close on January 26) machines to buy or sell.
• USD declining rapidly despite Artificial intelligence (AI) that is
expectations of Fed rate hikes this
year
self-learning, separated from human
bias and examples, can act differently
Become An Author!
• Fed’s stance is quantitative tighten- from most computers being used on If you are knowledgeable about
ing (QT), which means shrinking Wall Street today. technical indicators, charting, trading
the balance sheet while projecting DeepMind stated in a reprint that, systems, money management,
to raise interest rates this year “Alpha Zero is a generic reinforcement intraday trading, trading psychology,
• USD decline contributing to rise in learning algorithm—originally devised options, cycles ... and more ... we’d
commodities and in the market for the game of Go—that achieved like to hear from you!
• VIX at historically low levels superior results within a few hours,
• Week of January 22–26, 2018 VIX searching 1,000 times fewer positions,
was rising along with the market given no domain knowledge except the
rising (I was talking about this rules.” DeepMind’s Demis Hassabis, a Click on ‘CONTACT US’ at Traders.com
for more information.
oddity with our traders during that chess player himself, called Alpha Zero’s
April 2018 • Technical Analysis of Stocks & Commodities • 43
product review
NeuroShell Trader
Version 6.5
N
systemsgroup.com
euroShell’s programming interface contains almost
can get any trader started down a 20 years of ex-
path of building trading systems amples and hun-
quickly. The point-and-click interface dreds of pages of
for the various types of trading systems, documentation and
indicators, and neural nets that can be cre- support.
ated and debugged reduces the learning NeuroShell
curve. You get a grasp of the numerous Trader combines
capabilities of NeuroShell when using t raditiona l a nd
many of its built-in operations, indica- artificial intelli- FIGURE 1: PROCESSOR CORES. Here you see an example of NeuroShell Trader
tors, and examples. gence techniques using all eight processing cores.
Ward Systems Group has for decades to build trading
been considered a solid and well-thought- systems that can
of company. NeuroShell Professional be backtested and
has won the top Technical Analysis optimized. So, a
of Stocks & Commodities Readers’ trader can combine
Choice Award in the category of artificial traditional indi-
intelligence software for 16 years in a cators and neural
row. The company produces software networks to create
solutions for education, research, and their own trading
forecasting outside the realm of finan- system. Dreaming
cial markets as well, such as medical up logical or not-
and scientific applications and process so-logical schemes
control. The company has software pack- to make profits in
ages that are used in hundreds of other trading can take
applications. Their software is stable, time and effort.
easy to use, well-documented, useful Running complex
across many disciplines, and appreciated models with mas-
by its users. sive amounts of FIGURE 2: TO OPTIMIZE OR NOT TO OPTIMIZE. By clicking a datastream you can
variables, data, and change whether NeuroShell uses a set parameter and whether it optimizes the pa-
ranges can put a rameter. You can also choose which parameter range to use in the optimization.
44 • April 2018 • Technical Analysis of Stocks & Commodities
FIGURE 3: Example of THE interface FOR
choosing data. This strategy used an optimization
that worked best during the eight-year optimization
FIGURE 4: OPTIMIZATION EXAMPLE. The equity curve is seen in the subchart below the price chart.
and two-year paper-trading amount of data. Then you
can see how the model worked in real trading over the
following two years.
I write this. While recently running spectacular during backtesting. NeuroShell provides the ability to test
optimizations on my home computer, The trading system can move forward trading systems directly on the price
I was pleasantly surprised with how through future unknown data while still chart. All you do is open up one or
NeuroShell took advantage of all my providing correct signals. This could several charts for a specific time period
computer’s processor cores (Figure show how profits could be made when and insert a trading system. Then you
1). This greatly increased the speed at trading your account (Figure 3). run an optimization and analyze at the
which I could debug and test new ideas. There are precise backtesting inputs system equity indicator. If you’re satis-
While using the program in 2005, I for approximating cost and trades associ- fied, see how the system performs in an
would just leave my computer be and ated with different-size orders, pyramid- out of sample period by expanding the
let it work through a complex amount ing, and brokerage fees. To simulate real chart. In Figure 4 you see out-of-the-box
of data. Today, my fairly old 2013 eight- trading, everything has to be accounted example optimization for Apple stock
core AMD processor whipped through (AAPL) while showing an equity curve
the same tasks. This means I can now in the second blue section. The data used
dream up new ideas and test even larger Having the system move went back to 2006 with eight years of
data-crunching ideas. This software is forward through future backtesting, two years of paper-testing,
fun to use. unknown data while and two years of actual trading.
The new interface in this version still providing correct You can use hundreds of built-in
allows you to control parameter opti- technical analysis indicators, create
mization on a case-by-case basis and signals can show how custom indicators within the NeuroShell
to choose or change the range. I found profits could be made interface, or pass data from NeuroShell
this to be a great feature since it can be when trading your to an external .dll. And if you’d like to
easy to curve-fit and over-optimize. Be- account. manipulate data or provide inputs from
ing able to turn off parts or change the other applications, you can do that by
optimization ranges helped me speed calling a .dll. The external .dll can return
up my thought process and debug my for, and NeuroShell gives you the op- an array or value to NeuroShell. This
systems and models (Figure 2). portunity to input every cost. There is ability extends the use of combining
You can backtest, optimize, and then also the ability to optimize for many programming that may be complex or
test on different amounts of new data. different objectives. Some examples are you already have from other programs
You can also backtest, optimize, and Maximize #Winners - #Losers, Minimize or languages. You can create an interface
use best parameters from paper-trading Max Drawdown, Maximize Return on between your work and NeuroShell by
results on a forward data range. You can Account, Maximize ReturnOnAccount* creating a .dll in a C, C++, or PowerBasic
test that best model on amounts of new EquityCurveCorrelation, among others. compiler and work directly with data to
data moving forward to simulate what Each objective pushes your model closer and from NeuroShell. You’re not limited
could happen if you traded your idea. to matching up with your real trading to stocks. You can test your models on
Thinking about trading systems in terms goals. Keep in mind that trading costs forex, commodities, indexes, and options.
of performance can be useful because and slippage can change your model and
you can curve-fit any system to look real-life trading scenarios. Continued on page 56
April 2018 • Technical Analysis of Stocks & Commodities • 45
TRADING ON MOMENTUM
If
by Ken Calhoun rises through each $0.10 increment during a breakout. Note
that tape reading is best used for early-morning open range
you rely on charts to manage your entries in real breakout daytrades between 9:30 am and 10:30 am ET.
time, daytrading momentum stock breakouts can The second signal is to look in the “size” column for large-
be a challenge. But adding the use of time & sales, volume trades of at least 400 shares or more. These “block
also known as “tape reading,” can help you detect trades” indicate institutional buying and are likely to drive
important entry signals and reduce the likelihood price higher, when large trades occur at the ask price.
of entering false breakouts. Reading the order flow in time The third signal is to look for an imbalance of size in the
& sales provides an important advantage you can use when “sizes” column. Look for a series of larger bids compared to
deciding whether or not to enter your next trade. ask sizes during a breakout lasting over a minute or longer.
The reason tape reading is a preferred technique used by
professional traders is that it reveals valuable data regarding Step-by-step action plan
directional trend strength. One key to successful daytrading Here’s how you can start using tape reading to confirm break-
is to make sure you enter at a price at which momentum is outs when daytrading:
likely to continue in your favor before consolidating or revers-
ing. Using time & sales properly is an essential technique to Step 1: Look for charts in which price breaks out above the
accomplish this. prior day’s high and continues up, as seen in Figure 1.
Top three Technical Breakout Signals Step 2: Visually check to see how long price action takes
You can see a daytrading chart and time & sales window in to break out above each $0.10 increment.
the chart of Chicago Bridge & Iron Co. N.V. (CBI) in Figure
1. It shows you the correct way to set up your workstation. The Step 3: Look to enter your trade when price action is moving
first signal to look for is provided in the price column. When faster than usual, as seen in the “price” column in time &
following the tape, you want to pay attention to how fast price sales. An initial entry trigger is set at the nearest $0.10 value
above the current high observed in
the price column.
Figure 1: DayTrading Breakouts with Tape Reading (CBI). Here you see a breakout in progress using
the time & sales window to follow price action. Continued on page 56
46 • April 2018 • Technical Analysis of Stocks & Commodities
vervoort/The v-trade
Continued from page 16
Institutional traders trade on
price levels and look for the
A and is moving back up to the 100-bar SMA. Mostly you
can estimate wave C’s size by taking wave A’s size, the blue
strongest levels of supply &
rectangle, and copying this rectangle from the top of wave demand without worrying about
B, the green rectangle. the time it takes to reach that
There’s now an ABC zigzag, possibly expecting a further support or resistance.
move down for a longer-term reaction with a double zigzag.
Wave C then becomes a new wave (A) of a higher degree. Next,
you can expect a correction wave (B) in the first instance. This
is an ABC correction retracing wave (A) between the Fibo- approximately the size of wave (A), they may close their short
nacci 50% and 61.8% retracement levels. There’s additional positions near that level with a large profit. A nonprofessional
passive resistance at the first wave a level and the upper side may have taken a long position at the fake resistance break.
of the volatility channel. But you know better. You would have realized it was fake
Once wave (B) is complete, you can estimate the expected and closed your position quickly.
size for wave (C) by projecting the size of wave (A) down-
wards from the top of wave (B). This is a five-wave impulse Next time…
wave. It becomes clear that you are addressing a longer-term Stay tuned for part 3, in which we’ll continue to look at pas-
reaction for the long-term up move. It’s possible the reaction sive support & resistance with Fibonacci projections and
is incomplete. The (A)(B)(C) wave is probably the first wave daily pivots. And there’ll be an indicator that shows pivot
down and you can now expect a second zigzag down. If that levels on a chart.
is the case, I assign the first wave with X, the reaction wave
with Y, and the wave down with Z. Sylvain Vervoort is a retired electronics engineer who has
The reaction wave Y goes up to the 100-bar SMA, which been studying and using technical analysis for more than
is the upper side of the volatility channel and the passive 40 years. Currently, he experiments with trading forex and
resistance of the previous correction wave 4, a common reac- CFDs with rule-based systems. His book Capturing Profit With
tion target. You can estimate the size of wave A, projecting Technical Analysis received a bronze medal from the 2010
Fibonacci targets using the last pullback. The index finds some Axiom Business Book Awards in the category of investing.
small support at previous low levels at Fibonacci 161.8% but His Band Break System Expert is available on DVD. More
continues the move down to the 261.8% second Fibonacci information about the V-Trade System will become available
target to form wave A. on his blog under construction at http://blog.stocata.org.
I will now copy the wave count from Figure 7 into Figure Vervoort may be reached at sve.vervoort@scarlet.be or via
8, which is a four-hour candlestick chart. That makes it easier his website at http://stocata.org.
to visualize where price is within the bigger move. The high-
lighted yellow parts retrace against the impulse or correction Further reading
waves, wave types B, 2, and 4. Note how these reactions almost Gopalakrishnan, Jayanthi [2014]. “Swing Trading With Syl-
always take the form of a flag or pennant pattern. vain Vervoort,” interview, Technical Analysis of Stocks
When price breaks above the resistance line A on July & Commodities, Volume 32: May.
12, 2017, which is the first wave in the (B) zigzag correction Vervoort, Sylvain [2013]. “An Expert Of A System,” Tech-
wave, you can assume a fake resistance break. It is likely nical Analysis of Stocks & Commodities, Volume 31:
that professional traders triggered this break to build a large October.
opposite (short) position from a large batch of short stop-loss [2013]. “The 1-2-3 Wave Count,” Technical Analysis
orders at higher price levels. of Stocks & Commodities, Volume 31: June.
On the following day, you can see how nonprofessional [2009]. Capturing Profit With Technical Analysis:
traders possibly followed the break by invoking a larger up Hands-On Rules For Exploiting Candlestick, Indica-
move. The professionals have open short limit orders around tor, And Money Management Techniques, MarketPlace
these levels. Books, Inc.
When the up move reaches these price levels, the short limit [2012]. Ground-Breaking Band Indicators: Newly
orders are executed and professionals end up with a large short Discovered Tactics for Timing Profit, DVD, http://stocata.
position in their portfolio. The professionals wait for buying org. Includes an autotrading expert system.
power to run dry. With the help of the professionals, price ‡MetaTrader 4 (MetaQuotes Software Corp.)
falls out of the flat channel move, which is the trigger signal ‡See Editorial Resource Index
to initiate a further move downward by the nonprofessionals. †See Traders’ Glossary for definition
When the professionals know the target for wave (C), which is
April 2018 • Technical Analysis of Stocks & Commodities • 47
For this month’s Traders’ Tips, the focus is
Vitali Apirine’s article in this issue, “Adaptive
Moving Averages.” Here, we present the April
2018 Traders’ Tips code with possible imple-
mentations in various software.
The code for the following Traders’ Tips se-
lections is posted here:
• Traders.com Home–S&C Magazine
Traders’ Tips
At Traders.com you can also right-click on any chart to
open it in a new tab or window and view the chart at a
much larger size.
The Traders’ Tips section is provided to help readers
implement a selected technique from an article in this Figure 1: TRADESTATION. Shown here is a daily chart of Apple (AAPL) with the
issue or another recent issue. The entries here are con- adaptive moving average indicator and strategy applied.
tributed by software developers or programmers for soft-
ware that is capable of customization.
if AlertEnabled then
begin
if AMA crosses over KAMA then
Alert( "AMA crossing over KAMA" )
else if AMA crosses under KAMA then
Alert( "AMA crossing under KAMA" ) ;
end ;
F TRADESTATION: APRIL 2018 TRADERS’ TIPS CODE
Strategy: Adaptive Moving Average
In “Adaptive Moving Averages” in this issue, author Vitali
Apirine introduces an adaptive moving average (AMA) tech- // TASC APR 2018
nique based on Perry Kaufman’s KAMA (Kaufman adaptive // Adaptive Moving Average
// Strategy
moving average). His update to the original KAMA allows the // Vitali Apirine
new method to account for the location of the close relative
to the high–low range. The author describes a trading system inputs:
Periods( 10 ),
that combines the AMA and KAMA, suggesting that the FastAvgLength( 2 ),
combination may reduce the number of whipsaws relative to SlowAvgLength( 30 ),
using either moving average by itself. Capital( 100000 ) ;
Here, we are providing the TradeStation EasyLanguage variables:
code for an indicator and strategy based on the author’s AMA( 0 ),
work. We have also included the code for an AMA function KAMA( 0 ),
TradeSize( 0 ) ;
so you can easily include the AMA in your own EasyLan-
guage code. AMA = _AMA( Periods, FastAvgLength,
SlowAvgLength ) ;
Indicator: Adaptive Moving Average KAMA = AdaptiveMovAvg( Close, Periods,
FastAvgLength, SlowAvgLength ) ;
// TASC APR 2018
// Adaptive Moving Average TradeSize = MaxList( 1, Capital / Close ) ;
// Indicator
// Vitali Apirine if AMA crosses over KAMA then
Buy TradeSize shares next bar at Market
inputs: else if AMA crosses under KAMA then
Periods( 10 ), Sell Short TradeSize shares next bar at Market ;
FastAvgLength( 2 ),
SlowAvgLength( 30 ) ; Function: _AMA
Figure 2: eSIGNAL. Here is an example of the studies plotted on a daily chart issue, “Adaptive Moving Averages.” The study is designed
of $INDU.
to assist you in identifying turning points and filtering price
movements.
FastSC( 2 / ( FastAvgLength + 1 ) ), The study contains formula parameters that may be con-
SlowSC( 2 / ( SlowAvgLength + 1 ) ), figured through the edit chart window (right-click on the
SSC( 0 ),
CST( 0 ), chart and select “edit chart”). A sample chart is shown in
MLTP( 0 ); Figure 2.
To discuss this study or download a complete copy of the
MLTP = AbsValue( ( Close - Lowest( Low, PDS ) )
- ( Highest( High, PDS ) - Close )) formula code, please visit the EFS Library Discussion Board
/ ( Highest( High, PDS ) - Lowest( Low, PDS ) ) ; forum under the forums link from the support menu at www.
esignal.com or visit our EFS KnowledgeBase at www.esig-
SSC = MLTP * ( FastSC - SlowSC ) + SlowSC ;
nal.com/support/kb/efs/. The eSignal formula script (EFS)
CST = Square( SSC ) ; is also available for copying & pasting from the Stocks &
Commodities website at Traders.com in the Traders’ Tips
if CurrentBar = 1 then
_AMA = Close[1] + CST * ( Close - Close[1] ) section.
else —Eric Lippert
_AMA = _AMA[1] + CST * ( Close - _AMA[1] ) ; eSignal, an Interactive Data company
800 779-6555, www.eSignal.com
To download the EasyLanguage code, please visit our
TradeStation and EasyLanguage support forum. The files
for this article can be found at https://community.trades-
tation.com/Discussions/Topic.aspx?Topic_ID=142776.
The filename is “TASC_APR2018.ZIP.”
For more information about EasyLanguage in general, see F WEALTH-LAB: APRIL 2018 TRADERS’ TIPS CODE
www.tradestation.com/EL-FAQ. In an attempt to improve the way that whipsaw signals may
A sample chart is shown in Figure 1. typically be generated by price/KAMA crossovers, Vitali
This article is for informational purposes. No type of trading Apirine, in his article in this issue, “Adaptive Moving Aver-
or investment recommendation, advice, or strategy is being made, ages,” combines two adaptive moving averages to create a
given, or in any manner provided by TradeStation Securities or
simple AMA/KAMA crossover system.
its affiliates.
By installing the TASCIndicators library’s latest version
—Doug McCrary
TradeStation Securities, Inc. from our website and restarting Wealth-Lab, users can re-
www.TradeStation.com build this system from the flexible blocks known as “rules.”
By simply combining and reordering them, one can come up
with some fairly elaborate strategies. Figure 3 illustrates the
easiness of it; the process can take less than a minute and
frees you from writing code.
The system naturally works better on stocks, which
steadily move in the direction of the trend rather than go
F eSIGNAL: APRIL 2018 TRADERS’ TIPS CODE sideways (even with higher volatility) or less volatile ones.
For this month’s Traders’ Tip, we’ve provided the study It’s the sideways movement that is one of the biggest perfor-
KAMA_AMA.efs, based on Vitali Apirine’s article in this mance killers of a moving average system like this. A market
April 2018 • Technical Analysis of Stocks & Commodities • 49
Figure 4: WEALTH-LAB. This shows successful trend trades followed by losses in
a sideways market in INTC (Intel).
filter might help avoid further whipsaws (Figure 4). Figure 5: THINKORSWIM. Shown here is a daily chart of the DJIA with an adap-
For those of you who’d like to customize every aspect and tive moving average and KAMA plot in blue, AMA plot in yellow.
build even more complex logic, C# language and the power
of the .NET framework is at your disposal in Wealth-Lab.
The code follows:
4. Set up the parameters to match your DLL. jaScript → Indicator from within the control center window
5. Select the finished button. and selecting the AMA file.
NinjaScript uses compiled DLLs that run native, not in-
terpreted, to provide you with the highest performance pos-
Users of NeuroShell Trader can go to the Stocks & Com- sible.
modities section of the NeuroShell Trader free technical A sample chart implementing the strategy is shown in
support website to download a copy of this or any previous Figure 7.
Traders’ Tips. —Raymond Deux & Jim Dooms
A sample chart is shown in Figure 6. NinjaTrader, LLC
—Marge Sherald, Ward Systems Group, Inc. www.ninjatrader.com
301 662-7950, sales@wardsystems.com
www.neuroshell.com
Figure 8: quantacula. An example setup is shown here for the AMA cross
model in Q-Web.
F TRADERSSTUDIO: APRIL 2018 TRADERS’
TIPS CODE
The TradersStudio code based on Vitali
Apirine’s article in this issue, “Adaptive Moving Averages,”
can be found at www.TradersEdgeSystems.com/traderstips.
htm as well as at the Stocks & Commodities website at
traders.com in the Traders’ Tips section.
Figure 10 shows the AMA (white line) and the KAMA
(yellow line) indicators on a chart of the mini S&P 500 fu-
tures contract (ES) during part of 2013 and 2014.
TradersStudio code
F MICROSOFT EXCEL: APRIL 2018 TRADERS’ TIPS CODE Several readers have reported receiving the following fail-
In his article in this issue, “Adaptive Moving Averages,” author ure message:
Vitali Apirine demonstrates an application of two complemen-
tary adaptive moving averages as a potential swing trade signal "User Defined Type Not Defined"
generator. Crossovers of these two averages can confirm trend
If the user selects the debug option, the following statement
changes within a couple of bars of what the eye would call a
is highlighted in the VBA code:
local bottom or top.
The article suggests that compared to a simple KAMA/ Dim MSXML2Object As MSXML2.XMLHTTP
price crossover system, by adding AMA, whipsaws are re-
duced (though not eliminated). For anyone having this failure and who is comfortable with
The article also suggests that whipsaws can perhaps be the VBA editor, two simple edits have proven to fix the
further reduced by requiring that a crossover should not be problem. First, find:
considered official until an AMA/KAMA cross has been Dim MSXML2Object As MSXML2.XMLHTTP
sustained for a number of bars.
In Figure 13, there are two whipsaw examples. In the first (which is failing) and change it to:
example, a downtrend is interrupted for two bars and then
Dim MSXML2Object As MSXML2.XMLHTTP60
resumes. The second is a one-day interruption of an uptrend
in progress. Later in the code, find and make a necessary mirroring
Deciding on the correct number of bars to delay the deci- change, from
sion to accept a signal is a conundrum for any trading sys-
tem. For this chart, one or two bars clearly is insufficient Set MSXML2Object = New MSXML2.XMLHTTP
to prevent dumping out of what the chart shows to be the
to
prevailing trends. Yet in an active market, a three- to five-
bar delay could mean a significant hit if the reversal signal Set MSXML2Object = New MSXML2.XMLHTTP60
is sustained.
The spreadsheet file for this Traders’ Tip can be down- The problem does not seem to be universal; at least one reader
loaded from Traders.com in the Traders’ Tips section. To has reported having a different experience on two different
successfully download it, follow these steps: computers, with the spreadsheet working correctly on one
yet failing on the other. When edited as described above, it
• Right-click on the Excel file link, then then works.
• Select “save as” or “save target as” to place a copy of the This month’s Traders’ Tips already has this change incor-
spreadsheet file on your hard drive. porated.
—Ron McAllister
Important note regarding Yahoo Finance interface: Excel and VBA programmer
rpmac_xltt@sprynet.com
This note applies to Excel spreadsheets that I have provided
here for Traders’ Tips from the December 2017 issue (which
was my first spreadsheet to support the new Yahoo Finance
interface) through the March 2018 issue:
T
rading liquidity is often over- very high volumes. The greatest number three-year period. Thus, all numbers in
looked as a key technical of dots indicates the greatest activity; this column have an equal dollar value.
measurement in the analysis futures with one or no dots show little Columns indicating percent margin
and selection of commodity activity and are therefore less desirable and effective percent margin provide
futures. The following explains how to for speculators. a helpful comparison for traders who
read the futures liquidity chart pub- Courtesy of CBOT wish to place their margin money ef-
lished by Technical Analysis of Stocks ficiently. The effective percent margin
& Commodities every month. is determined by dividing the margin
value ($) by the three-year price range of
Commodity futures contract dollar value, and then multiply-
The futures liquidity chart shown be- ing by one hundred.
low is intended to rank publicly traded
futures contracts in order of liquidity. Stocks
Relative contract liquidity is indicated Trading liquidity has a significant ef-
by the number of dots on the right-hand fect on the change in price of a secu-
side of the chart. rity. Theoretically, trading activity can
This liquidity ranking is produced by serve as a proxy for trading liquidity
multiplying contract point value times All futures listed are weighted equally and equals the total volume for a given
the maximum conceivable price motion under “contracts to trade for equal dol- period expressed as a percentage of the
(based on the past three years’ historical lar profit.” This is done by multiplying total number of shares outstanding. This
data) times the contract’s open interest contract value times the maximum pos- value can be thought of as the turnover
times a factor (usually 1 to 4) for low or sible change in price observed in the last rate of a firm’s shares outstanding.
Jurik Research
Jurik algorithms FREE 2-WEEK TRIAL
deliver low lag, Come visit one of the
low noise analysis. most popular trading chat rooms
educational
See Jurik Tools on NinjaTrader. for Breakout Trading.
https://tinyurl.com/jurik-ninja
FINALLY!
CHARTPATTERN.COM
A simple yet highly effective
strategy on SPY options. Build and test
Free e-book ‘Kick Ass SPY Options’ To Advertise here contact:
®
systems without
Trade with confidence; trade with Hugh!
www.DayTradeSPY.com/sc
coding!
www.NeuroShell.com
Advertising
Advert@traders.com • (206) 938 0570
TRADERS'
RESOURCE
TOP 10 VIEWED FOREX BROKERAGES
The information in Traders’ Resource is the most accurate at the time of posting and is subject to change. Because the vendors posting to Traders’ Resource are responsible for their own listing, Technical Analysis, Inc. declines any and all liability
for any representations made by the businesses and individuals listed. Nor can Technical Analysis, Inc. endorse any business or individual listed on Traders’ Resource. Technical Analysis, Inc. makes no warranties, express or implied, as to the
accuracy and reliability of claims herein. You agree to release Technical Analysis, Inc., together with its respective employees, agents, officers, directors and shareholders, from any and all liability and obligations whatsoever in connection with or
arising from your use of Traders’ Resource. If at any time you are not happy with the information posted to Traders’ Resource or object to any material within Traders’ Resource, your sole remedy is to cease using it. This list is updated frequently.
If you are aware of a business that should be listed, please email us at Editor@Traders.com.
A Range-Bound Strategy
Markets move in trends and markets move in trading ranges. A guide to range-bound trading
Looking at any chart makes it plain to see that a trader can 1. Establish the range
make money during trends, but we shouldn’t rule out the pos- Look for a range of prices that have tested the resistance or
sibility of making successful trades during trading ranges. support areas at least two to three times. The high and low
Here’s how one forex trader does it. points created do not have to stop and reverse at the exact
same level but will be relatively close to each other. You can
A
by Solomon Chuama establish a resistance level when you connect the high points
with a horizontal line. Similarly, when you connect the low
range is when there’s a series of prices marked points with a horizontal line, you create a support line. Since
by a high and low level. Ranges occur as a result all highs and lows are not of the same price, the differences
of buyer and seller indecision. Neither group is between them result in a resistance & support zone, respectively.
able to push the price of a currency pair beyond The range-bound market becomes stronger as price reaches
BULL: ALBERTO CLEMARES EXPOSITO/EURO/SWISS BILLS: SARA
MICHILIN/SHUTTERSTOCK/COLLAGE: CHRISTINE MORRISON
the high and low point or resistance and support high and low points more times. This strong level is likely to
levels, respectively. This is known as a range- eventually lead to a breakout.
bound market. It is possible to trade a market A range trader will choose to enter short positions near the
when prices oscillate between these levels, if there’s enough resistance zone and enter long positions near the support zone.
distance between them. But if a ranging market is choppy, it’s In the daily chart of EURGBP in Figure 1, you see that:
not worth trading. A choppy market consolidates tightly and
• Price reached three highs at different prices
the distance between the levels is not enough to allow for a
good risk–reward ratio. • Price reached five lows at different prices
To trade a range-bound market, what rules or conditions • The distance between the support and resistance levels
need to be met? Here are some guidelines that may help. has a good range.
60 • April 2018 • Technical Analysis of Stocks & Commodities
FOREX TRADING
Sneak preview...
Rocket RSI—A Solid Propellant For Moving Average Hammer Pivots Get More Value Using A Trading
Your Rocket Science Trading by Ken Calhoun Checklist
by John F. Ehlers Combining a Japanese hammer candle with a by Thomas Bulkowski
The RSI is a favorite indicator among technical Western technical moving average line allows What is a trading plan or checklist, and how
analysts. Yet it can be improved by becoming you to capitalize on trading technical signals can it help? We’ll find out.
a tad bit more flexible. Plus, you can use it to generated by both approaches.
address a statistical approach to technical
analysis. We’ll see how. …Coming soon!
8999
1 year.........................
$
2 years.................... 149
$ 99
3 years.................... 199
$ 99