Professional Documents
Culture Documents
of "Technical Analysis"
Author(s): Salih N. Neftci
Reviewed work(s):
Source: The Journal of Business, Vol. 64, No. 4 (Oct., 1991), pp. 549-571
Published by: The University of Chicago Press
Stable URL: http://www.jstor.org/stable/2353293 .
Accessed: 10/07/2012 23:03
Your use of the JSTOR archive indicates your acceptance of the Terms & Conditions of Use, available at .
http://www.jstor.org/page/info/about/policies/terms.jsp
.
JSTOR is a not-for-profit service that helps scholars, researchers, and students discover, use, and build upon a wide range of
content in a trusted digital archive. We use information technology and tools to increase productivity and facilitate new forms
of scholarship. For more information about JSTOR, please contact support@jstor.org.
The University of Chicago Press is collaborating with JSTOR to digitize, preserve and extend access to The
Journal of Business.
http://www.jstor.org
Salih N. Neftci*
Graduate School, City University of New York
549
550 Journal of Business
1040 -
940-
840 --otlyee
740 - The 9- month
mossing overoge
640-
540-
440-
340-
240
40
1929 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 1977
1040-
940-
840 - Monthlyindexn.
740 i 9 -month movingoverage
640-
540-
440-
340
240
140
40
1929 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 1977
b
Dow showingimportant
FIG. 1.-The trendcrossingmethod.a, Long-term
trendlines. b, Long-termDow showingimportantbear-market
bull-market
trend lines. Source: Pring (1980).
900
860-
820-
780-avrg
740
iI I II 11I1 II 11 1 1 11
IIIIIIIIIIIiIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 1I111 1 1 1 II 1 11 I IIIII
1973 1974 1975 1976 1977 1978
Markov Times
Let {X,} be an asset price observed by decision makers. Let {I} be the
sequence of informationsets (sigma-algebras)generatedby the X, and
possibly by other data observed up to time t.
DEFINITION.We say that a random variable T is a Markov time if
the event
A, = {a < t}
240
030 -
2 10 D
200
190
180
170
40 -NYSE Volume
30 (
20-
10
Jan. Feb. Mar. Apr May Jne July Aug. Sepn. Oct.Noc . Dec.
Inds
160-
150
140-
130
120
110
100
Jan. Feb Mar. Apr. May June July. Aug. Sept. Oct Nov
3~ NYS
Markov ~~T
Volume.or:dlntld
times 1}
better, and to emphasize the importance 1
of this concept
in studying methods of technical analysis, two examples are discussed.
Example I. Let v2 denote the date at which a process {Xy, ob-
served continuously, shows a 10%jump for the first time during te
[0, cc):
T inf ~t& [0, cc) :d(In X7)/dt> .1}I.(1
exhaustiongap
runawaygap
breakaway gap
Common
gap
displaying observed data, the beginning dates of any uptrend can easily
be identified, yet these dates are not Markov times as example 2 dem-
onstrates. Graphic methods are not the best ways of determining
classes of Markov times that are useful in prediction. Yet, more often
than not, this is how technical analysis rules are defined. Hence the
importance of developing formal algorithms that can duplicate the buy
and sell signals given by technicians.
This discussion suggests that any method that exploits the current
inflection point of a series will fail to generate Markov times since
these latter are not It-measurable. At the same time, several popular
forms of technical analysis use past local maxima (minima) and these
are It-measurable.
We now have a criterion to determine which rules of technical analy-
sis can be quantified. Indeed, if one can show that signals generated
by a rule of technical analysis are Markov times, then this would simul-
taneously imply (1) that the method can be quantified, (2) that it is
feasible, and (3) that one can investigate its predictive power using
formal statistical models.
The following theorem is important in sorting out Markov times.
THEOREM. Let {XtJ be a random process assuming values on the
real line R. Let B be the set of all intervals belonging to R, and It be
the information set at time t. Then the times {TA},
A= inf{t < s: Xt E A, A E B}, (2)
t
1000 7
Dow Jones /
Industrial Average /
900
800 ~~~~~T(t)
700
56 001
59C
industry advance /
5 70 decline line_ _ _ _ _ _ _ _
560 /T Wt _ __ _ _
550 -A J__ _ _ _ _ _ _ _ _ _ _
local minima (maxima) that occur after some predetermined time tim TI
But such an event is not I,-measurable since, before it can be decided
whether a local maxima is highest or second highest, one needs to
know the levels of subsequent maxima. Figure 4 illustrates this point.
None of the trend lines shown here utilize the first two local maxima
in determining the T(t). There were several local maxima between the
selected t1 and to, and these were ignored in obtaining the trend lines
of figure 4. Two of these are shown on figure 4 as dotted lines.
Thus we see that trend crossing techniques will not generate Markov
times unless one specifies an It-measurable mechanism for ignoring the
local minima (maxima) between t1 and to.
Characterization of Patterns
The third class of procedures used by technical analysts utilizes the
occurrence of various patterns to issue signals. Some of these patterns
are shown in figures 3a-c. The theorem above suggests that, if these
patterns are well-defined signals of upcoming events, one should be
able to formulate them as first entries of an It-measurable random
process in a set A E R. In this article, the two most popular patterns
are considered, namely, "triangles" and "head and shoulders." I first
show that, in principle, these patterns can be formally defined using
560 Journal of Business
Since {ti < t, i = 1, . . , k}, the local minima defined in (8) are
It-measurable.Hence an event describinghead and shouldersbecomes
It-measurableonce a formal way of subdividingthe three sets of local
extrema shown in (8) is selected. Such a criterionis needed in order
to decide when the local minimain the middleexceed significantlythe
local minimain the first and third sets. This requiresan a prioriselec-
tion of a lower bound on the difference M** - M*, although the
levels of M* and M** need not be specified individually.If all these
conditions are met, a head and shoulders pattern becomes It-mea-
surable.
This constructionshows that actual signalsgeneratedusing observed
head and shoulders patterns are not Markov times. For example, in
figure 3, the first occurrence of such an event is illustratedby the line
AB ratherthan the suggested head and shoulderspatternCD selected
by technicians. The only way one would select CD is if one anticipated
that a local minimumsuch as D would occur at time t. Accordingly,
in this example, the decision of whetherX = t or not depends on future
values of the underlyingseries. The stoppingtime illustratedin figure
3a cannot be a Markov time.
Further,head and shoulders patternsdefinedformallyas above are
likely to be probability-zeroevents if one insists that the minima in
the first and second sets have the same heightM*. Conversely, remov-
ing this requirementwill impose furthera priorirestrictionson the sets
of local minimashown in (8).
Figure 3b illustratesa triangle.In principle,this patterncan also be
Naive Trading Rules 561
probabilityis less than one, then the rule may never give a signal. This
may be uneconomical. Yet, in terms of formalstatisticalcriteria,there
is nothing wrong with a Markov time that fails to be finite. In this
section, I discuss which categories of technical analysis are likely to
yield finite Markov times.
562 Journal of Business
31 0-
30 5-
300 -
295 -Trend Lie
290 - t
285 (t
280 - kit
275-
270 -
265-
260-
255-
250-
245-
240-
235-
230-
225-
220-
215 5
210-
205-
200-
195-
190
185
180
175
t t
0
That is, the process is linear if expectations of Xt given finite past X's
are linear in the latter. In particular,Gaussianprocesses are linear. In
fact, the class of processes that have the linearitypropertyis identical
to the sub-Gaussianprocesses (Hardin1982).However, our definition
of linearityis not identical to the one given in Hardin(1982),who does
not discriminatebetween past and futureX's as conditioningfactors.
REMARK.It is interestingto note that the definitionof linearitythat
we have here is not equivalent to E[XtIXt-1, Xt-2, Xt-3 . . .] being a
linear combinationof past Xt's. It is possible to constructfinite moving
average (MA) processes with infinite autoregressiverepresentations,
that are not linear accordingto the definitionused here.5
I now show that nonlinearityof asset prices is a necessary condition
for the usefulness of technical analysis.
2. If the Xt process is linear in the sense above, then
PROPOSITION
no sequence of Markovtimes obtainedfrom a finite history of {XJ}can
be useful in prediction over and above (vector) autoregressions.
Proof. If {vT} are Markov times obtained from a finite history of
{XJ},they must be measurablewith respect to {XM, Xt-1, . . .,Xtk
some finite k. This means that
E[Xt+sjjXtXtj,-l-*Xt-k}, jTi:Ti<t}]
5. An interesting example provided by the referee is the following: Let Etbe i.i.d. and
f-I with probability 2/3
Et 2 with probability 1/3.
Construct the process Xt using
Xt= Et + .5Et-1.
if a rule is well defined and yet stock prices are Gaussian, then, due
to proposition 2, we immediately know that the rule is useless as a
prediction technique. If, however, there is some evidence that stock
prices are nonlinear, technical analysis may be useful in prediction-
that is, it may be a simple way of taking such nonlinearitiesinto ac-
count. Under these conditions, the question of whethertechnicalanal-
ysis rules have any predictive power becomes an empiricalissue.
Recent work such as Hinich and Patterson(1985)and Diebold (1989)
provide evidence on the nonlinearityof data from financialmarkets.
Yet because notions of linearityand nonlinearityused in these papers
and here are not identical, these empiricalresults do not necessarily
imply that there are forms of technical analysis useful in prediction.
For example, Diebold (1989)shows that takingnonlinearitiesinto con-
sideration does not improve forecasts of exchange rates, although
there appears to be a great deal of evidence that these latter are non-
linear.
Since Martingalesare linear processes, a corollaryto proposition2
is the following:
COROLLARY. If the X, process is a Martingale,then no sequence of
finite Markovtimes {vT}, calculatedfrom a finite history of {XJ},can be
useful in prediction over and above linear regressions.
The point is that, if some technical analysis rules are indeed useful
in prediction, then this should rule out a Martingalerepresentationfor
the series under consideration. Using these propositions we provide
some empiricalresults.
Empirical Results. To illustrate how one can test the predictive
value of technical analysis, I select the method claimed to work the
best accordingto participantsin financialmarkets. "Althoughtechni-
cal analysts caution that investors should consider a variety of factors
in tryingto discern the market'sdirection,they say the single, clearest
factor is probablythe 150-daymoving average. History has shown that
when the (Dow-Jones)index rises decisively above its moving average
the marketis likely to continue on an upwardtrend. When it is below
the average it is a bearish signal."6
The moving average method was one of the few rules that generated
Markovtimes. Also, these Markovtimes were easy to quantify.This,
plus one other consideration, made me choose stock prices as the X,
in (3), and the 150-day moving average as the X*. We then use the
algorithmin (4) to obtain a sequence of Markov times {vT}. The last
considerationfor makingthese selections was the availabilityof a long
samplefor the Dow-Jones index. In fact, when using Dow-Jonesindus-
trials it is possible to go all the way to 1792 and work with almost a
200-year-longmonthlydata series. This greatlyfacilitatesinvestigating
where
and where the disturbances {e} form an innovation sequence with re-
spect to the finite history of Xt,
E[Et+>jXt-j.* ,Xt-k] = 0.
According to this, Et+? measures all unpredictable events between t
and t + V. The {f3} represents the contribution of the Markov times
{vT} in explaining Xt+ over and above the own past of the series. To
the extent the D 's are obtained from {Xt1, . . . , Xt-k}, they should
have no contribution to forecasting Xt+, beyond the finite history of
Xt if this latter is a linear process.
There is an important point that concerns inference with equation
(13). Note that (13) requires a sufficiently long autoregressive compo-
nent (i.e., a large k). Otherwise, if k is small, then some Dt-i's may
become significant simply because they are calculated from a more
distant past of {Xt}.
The parameter V in (13) determines how many periods ahead one is
forecasting. It captures the claim that the moving average method de-
tects changes in long-run trends, and that it is not necessarily useful
for 1-period-ahead forecasts, Hence the value of p. should be selected
as greater than 1 or 2 months. In the empirical work reported below,
I selected [t (arbitrarily) as 12 months. The results remain qualitatively
similar for p. greater than 12. Inference with the equation shown in
(13) appears to be straightforward at the outset. However, if p. > 1,
the errors of equation (13) will be serially correlated, and this needs
568 Journal of Business
cipants that such a rule is useful would be self-fulfilling and would lead
to significant {vT}.
For this last period, all lags of the dummy variable that indicates
buy (+ 1), sell (- 1), and no action (0) signals are significant. Further-
more, the signs are in the right direction, in that they are all positive.
It is also interesting to note that the coefficients of the dummy vari-
able have a nice reverse V shape, with the peak occurring at lag 23
(table 1).
Hence, the moving average method does seem to have some pre-
dictive value beyond the own lags of Dow-Jones industrials. In fact,
the results displayed in these tables remained qualitatively similar
when different values were used for VL,except for V = 1, where the
150-day moving average turned out to be insignificant in all equations.7
7. Estimates of the same equation with p. = 1 yields no significant lags for the dummy
variable in consideration. This supports the contention that the method predicts longer-
run behavior of the Xt.
570 Journal of Business
NOTE.-R2 .91; sum of square of residuals = 6521516; F-statistic 3.71. 1911:1 = January
1911.
Conclusions
This article discussed some criteria that one can apply in evaluating
the set of ad hoc prediction rules widely used in financial markets and
generally referred to as technical analysis. I showed that a few of
these rules generate well-defined techniques of forecasting. Under the
hypothesis, economic time series are Gaussian, and even well-defined
rules were shown to be useless in prediction.
At the same time, the discussion indicated that if the processes under
consideration were nonlinear, then the rules of technical analysis might
capture some information ignored by Wiener-Kolmogorov prediction
theory.
Tests done using the Dow-Jones industrials for 1911-76 suggested
that this may indeed be the case for the moving average rule.
Appendix
PROPOSITION
(Breiman 1968). Let the process {YJ be stationary, such that
P(Yn' O at least once) = 1;
Naive Trading Rules 571
then the i-i, I = 1, 2, . . . are finite almost surely and on the sample space
{w: YO2 O} they form a stationary sequence under the probability p(- I YO2
0), and
E[TJIYo00] = l/p(Yo>-0).
References
Breiman, L. 1968. Probability. Reading, Mass.: Addison-Wesley.
Brockett, P. L.; Hinich, M. L.; and Patterson, D. 1985. Bispectral based tests for the
detection of Gaussianity and linearity in time series. Manuscript. University of Texas
at Austin.
Diebold, F., and Nason, J. M. 1989. Nonparametric exchange rate prediction? Manu-
script. Washington, D.C.: Federal Reserve Board of Governors.
Granger, C. W., and Andersen, A. 1978. An Introduction to Bilinear Time Series Models.
Gottingen: Vandenhoeck & Ruprecht.
Hardin, C. D. 1982. On the linearity of regressions. Zeitschriftfiur Wahrscheinlichkeits-
theorie 61:291-302.
Hinich, M. L., and Patterson, D. M. 1985. Evidence of nonlinearity in daily stock
returns. Journal of Business and Economic Statistics 3 (January): 69-77.
Leadbetter, M. R.; Lindgren, G.; and Rootzen, H. 1983. Extremes and Related Proper-
ties of Random Sequences and Processes. New York: Springer-Verlag.
Pring, M. J. 1980. Technical Analysis Explained. New York: McGraw-Hill.
Rhea, R. 1932. Dow Theory. New York: Barron's.
Shiryayev, I. 1985. Probability. New York: Springer-Verlag.
Tong, H. 1983. Threshold Models in Non-linear Time Series Analysis. New York:
Springer-Verlag.