Documente Academic
Documente Profesional
Documente Cultură
T
FIGURE 1 SMOOTH MOMENTUM
A raw, one-day momentum calculation is very choppy and does not highlight
he True Strength Index (TSI) the trend. Applying a 20-period EMA to the momentum line produces
is a momentum-based indi- a smoother line that better reflects the market trend and still tracks
cator, developed by William shorter-term swing points.
Blau, designed to determine
Nasdaq 100 Trust (QQQ), 30-minute
both the trend and overbought-oversold 42.00
conditions. The TSI is applicable to intra-
day time frames as well as longer-term
horizons. 41.00
Like most momentum indicators, the
TSI uses a differencing function to
40.00
measure price change. Differencing func-
tion is a fancy way to say subtraction.
The term is used here for comparison to an +75
averaging function, which is used to One-day momentum
smooth prices. By measuring the differ- +50
ence in prices (i.e., the current close minus
+25
the close 10 bars ago, which is the basic
momentum calculation), an indicator 0
can lead changes in the price trend.
As price moves mature, they often -25
lose momentum. For example, as an
-50
uptrend continues, its gains from bar to 20-day EMA
bar may become smaller and smaller. As -75
a result, the price difference calculated 23- 8:30 24- 8:30 25- 8:30 26- 8:30 27- 8:30 30- 8:30
over a certain number of bars will
Source: CQGNet
become stagnant or decrease even
Source: CQGNet
The averaging function used to create the
TSI is called double smoothing, a nearly random, jumping back and forth across zero. However,
process by which a first exponential moving average (EMA) is applying a 20-period exponential moving average to the one-
applied to the data (in this case, momentum), and then a second day momentum (blue line) results in a much less noisy line that
shorter-term EMA is applied to the result of the first EMA cal- reflects the price trend.
culation. The result is a smoother line that introduces less lag For example, on the left side of the chart, the market is in a
than a single EMAwith a longer period length. The formula for downtrend and the smoothed one-day momentum is consis-
the TSI is: tently below zero. The market bottoms on July 25, an uptrend
ensues and the smoothed version of the one-day momentum is
TSI(close,r,s) = consistently above zero. This calculation is the basis for the TSI,
100*EMA(EMA(mtm,r),s)/EMA(EMA(|mtm|,r),s) but is too raw to be used as a trading tool. The next steps cre-
ate a more practical indicator.
where The TSI compares a double-smoothed version of momentum
(an EMAof an EMAof momentum) to a double-smoothed ver-
mtm = closetoday closeyesterday sion of the absolute value of the momentum. The double
EMA(mtm,r) = exponential moving average of mtm with smoothing removes the noise, leaving smoothed representa-
period length = r tions of momentum. Dividing the smoothed momentum by the
EMA(EMA(mtm,r),s) = exponential moving average of smoothed absolute value of momentum creates a ratio that is
EMA(mtm,r) with period length = s bound by +1 to -1, which is then multiplied by 100 to produce
|mtm| = absolute value of mtm an indicator that ranges from +100 to -100. Most TSI values fall
r = 25, between +25 and -25, and Blau suggested using these values as
s = 13 overbought and oversold levels, respectively.
Blau also advised adding a signal line in this case, a
For custom formulas for CQGNet and MetaStock, visit seven-period EMA of the TSI line to better indicate trend
www.activetradermag.com/code.htm. changes (similar to the role of the signal line in the MACD).
Lets delve into the formula to better understand what the Figure 2 shows the TSI (blue line) with the addition of the sig-
indicator tells us. First, the TSI measures one-day momentum nal line (red line). Trend changes are indicated when the TSI
(todays close minus yesterdays close). Calculating the one- crosses above or below its signal line. In this example, the TSI
day price difference may seem unimportant because, as Figure accurately tracks the longer-term price trend, while penetra-
1 shows, the one-day momentum (red line) appears to be a tions of the 25 and +25 overbought and oversold levels (com-
LEAD OR LAG
T he simplest momentum indicators calculate the Momentum indicators remove the trend from the price
difference or ratio between closing prices. Moving series. When you plot a detrended price series, the behav-
average-based indicators smooth prices. Momen- ior of prices around this trend is apparent and the line
tum indicators lead price tops and bottoms, while moving appears as an oscillation. In effect, the zero line of the indi-
average-based indicators lag price peaks or bottoms. cator serves as a proxy for the price trend. The price fluc-
Figure A illustrates these characteristics, showing the tuations above and below this trend are reflected in the
relationship between price, a 10-period momentum calcu- indicator oscillations.
lation (current bars price minus price 10 bars ago) and a A momentum indicator will lead changes in the price
10-period moving average of price. The left y-axis is for trend. However, if there is a trend present greater in length
price and the moving average, and the right y-axis is for than the lookback period of the indicator, the oscillator will
momentum. be shifted up (in the case of an uptrend) or down (in the
The price series begins at 50, rises to above 85, turns case of a downtrend). That is why most oscillators are con-
down and falls back to 50. At point A, prices are rising at sistently at high levels during strong upward markets, and
an increasing rate and momentum is leading prices, low levels when the market is in a persistent downtrend.
reflecting the rate increase in 10-period price differences. Moving averages filter out price activity with cycles
The 10-period moving average lags price, as it is calculat- shorter than the lookback period. Consequently, the plot of
ing the average of the current price as well as the lower the moving average is a smooth line correlated with the
prices over the previous nine periods. trend greater than the lookback period. But this indicator
At B, price has reached its fastest rate of increase, and lags trend changes.
begins to slow as it nears the price peak at C. The
momentum indicator peaks at point B and begins to FIGURE A MOMENTUM LEAD, AVERAGE LAG
decline. The 10-bar momentum is still positive, but the
differences are decreasing. The key point is the
90 Momentum Price Moving 20
momentum indicator peaks at B, leading well ahead of C
peaks breaks average
the price peak at point C. The moving average at B is C
85 peaks 15
rising, but it still lags price, ascending at a slower rate 10-period B
than price. 80 momentum 10
Just after the price peak at C, the momentum indi-
cator crosses below zero, indicating that the 10-bar 75 A D 5
price difference is now negative. The moving average
B
peaks later, lagging the price peak. As price declines, 70 B E 0
the momentum indicator continues to fall to lower lev- C
els (D) as the price drop picks up speed. The moving 65 -5
average is above the falling prices, lagging the decline. A D F
At point E, price reaches its steepest rate of decline and 60 Prices E -10
A 10-period
the momentum indicator reaches its lowest levels. Price moving average
55 E -15
is still trending down, but at a slower rate, and the F
momentum indicator bottoms and turns up (F), once F
50 -20
again leading price.
the leading 0
-11.75
characteristic of
-25
TSI Diff E E
a momentum Crosses zero
L E
L L
LE
LE +5
calculation with
+0.29
-5
the lagging 10:30 12:30 25- 8:30 12:30 26- 8:30 12:30 27- 8:30 12:30
Source: CQGNet
characteristic of
FIGURE 4 SHORT TRADES
a moving average Short trades are signaled when the TSI difference moves below the zero line
to create an or the histogram traces out a saucer sell, such as the one that occurred just
prior to 12:30 p.m. Trades are exited when momentum (as represented by the
TSI difference histogram bars) reverses.
indicator that Nasdaq 100 Trust (QQQ), 30-minute
E
reflects price E E
L 43.00
S 42.65
direction and L
L
S
42.00
E
is in sync with E
S
S E
ference is below zero and turning back up or sell when the TSI July 30 and 31, are indicated by the TSI difference tracing out a
difference is above zero and turning back down. Also, false bottom and then a top, with the market dropping back within
breaks of support or resistance, such as those that occurred on the confines of the trading range. Moving back in time, Figure
5 shows two nice trends the TSI differ-
FIGURE 5 TRENDS AND SWINGS ence captured, as well as one small loss
and a small profit. These charts indicate
This chart highlights the TSIs ability to capture trend moves (middle) and the the TSI is able to identify trend changes,
TSI difference indicators capacity to time short-term trades. and the outcome of the trade signals
depends on the current volatility of the
Nasdaq 100 Trust (QQQ), 30-minute 43.00
E market.
L 42.41 Figure 6 illustrates the same concept
E 42.00 applied to daily bars. Again, market
S peaks and bottoms coincide with the
E L peaks and bottoms in the TSI-difference
E 41.00
L indicator. The first trade, a short sale at
the close of June 8, resulted in a nearly $5
40.00 profit. As the market trend began to
TSI 25 move from a downtrend to more of a
sideways trading-range condition, the
0
-10.63 zero-line crossings resulted in less fol-
-25 low-through price movement. However,
a number of the signals exceed $1 in
E -11.75
TSI Diff profit before price reversed.
+10
L E E L
L There are a number of ways to modify
+1.02
S the TSI and the TSI difference indicators.
E You can vary the period lengths (look-
10:30 12:30 10- 8:30 12:30 11- 8:30 12:30 12- 8:30 back periods) of the EMAs, r and s, to
better reflect the current volatility of the
Source: CQGNet
market you trade. Also, you could use
different exit strategies than the one sug-
FIGURE 6 CATCHING THE DAILIES gested here, because the TSI-difference
peaks or troughs tend to be just past the
The previous examples consisted of intraday charts. This daily chart shows price peaks or troughs.
the TSIs message remains constant regardless of time frame. The caveat, though, is stop-loss points.
Nasdaq 100 Trust (QQQ), daily The TSI and signal line, as well as the TSI
difference, are vulnerable to sudden
47.50
S changes in market direction.
Consequently, a risk-management plan
45.00
L that prevents having to wait for the indi-
E E
E L cators to produce new signals must be in
E L 42.32
S
L E place.
E
E S 40.00
TSI 5
0
-3.75 Resources
-6.59
-10 William Blau details the basis
-15 for the TSI in his book Momentum,
E Direction, and Divergence
TSI Diff E +2.834
L L ELE (Wiley & Sons, 1995).
L 0
S S E S E Bill Williams discusses buy and
sell saucers in his book New
-5
E Trading Dimensions: How to Profit
4 11 18 25 2 9 16 23 30 1 6 from Chaos in Stocks, Bonds, and
July August Commodities (Wiley & Sons, 1998).
Source: CQGNet