ISSN: 2168-9458
+44 1223 790975
Research Article - (2012) Volume 1, Issue 4
As a technical indicator, technical range is widely used by chartists to read the minds of the markets. Theoretical properties and applications of this technical indicator would be of great interest to both academics and chartists. The main findings of this paper are: (1) technical range is a unit root process; (2) technical range is co-integrated with closing prices; (3) technical ranges are co-integrated if the corresponding closing prices are co-integrated. These findings are of great significance as it indicates that it is possible to scrutinize the predictive power of technical indicators by co-integration analysis. An empirical study performed on the US Apple Inc. stock prices demonstrates that trading strategy based on these findings could beat the simple buy-and-hold even after the trading costs have been removed.
<Keywords: Parkinson range, Technical analysis, Technical range, Range decomposition, Co-integration MR (2000) subject classification
For a long time in history, most of the research interests were devoted to investigating the behavior of the closing prices, totally ignoring the other available information such as the highest, the lowest, and the opening prices. Recently, more attention has been given to the extreme values in the stock prices for a fixed time interval partly due to the contribution of Parkinson [1], who, by employing the extreme value theory and some well-known propertied of range, forcefully argues and demonstrates the superiority of using range as a volatility estimator compared with the standard methods. Since then, great progress has been made in investigating the range estimator. Beckers [2], among others, further extends the range estimator by incorporating information about the opening and closing prices and other treatment of a time-varying drift, as well as other considerations. Other references concerning range estimator include Garman and Klass [3], Wiggins [4], Rogers and Satchell [5], Kunitomo [6], and more recently Yang and Zhang [7]. Alizadeh, et al. [8] prove theoretically and empirically that the log range is approximately normal. For more results on range volatility, we propose to refer [9].
Despite so much interest in the range estimator, no academic literature is so far available to explore the theoretical properties of technical range which is part of the Japanese candle stick. Candle stick charts are said to have been developed in the 18th century by a legendary Japanese rice trader Homma Munehisa. The charts give one an overview of opening, high, low, and closing market prices over a certain period. This style of charting is very popular due to the level of ease in reading and understanding the graphs, and believed to be a reliable tool to predict future. Some nice introduction books to the candle stick are Candlestick Charting Explained by Morris [10] and Japanese candlestick charting techniques by Nison [11].
This paper makes the first attempt to investigate the theoretical properties of technical range with range decomposition technique. The structures of this paper are as follows: Section 4 presents range decomposition technique. Section 5 presents the theoretical properties of the technical range. Section 6 performs an empirical study on Apple Inc. stock to argue that trading strategy based on these properties can beat the market. We conclude in Section 7.
Range Decomposition Technique
Before presenting the range decomposition technique, some preliminary knowledge on ranges are needed
Ranges: Parkinson range and technical range
The Parkinson range is obtained by taking log difference between the high and the low stock prices for a given time interval (t-1,t):
PRt = ln(Ht)−ln(Lt) (1)
where PRt is the Parkinson range, Ht the high price, and Lt the low price for the given time interval. Specifically is the security price. Based on the assumption of Brownian motion without drift, Parkinson [1] suggests the following volatility estimator:
= (ln(Ht) − ln(Lt))2/4ln2 = (PRt)2/4ln2 (2)
Furthermore, Alizadeh, et al. [8] show both theoretically and empirically that the log Parkinson range is approximately normally distributed.
Different from the definition of Parkinson range, the technical range is obtained directly by taking difference between the high and the low prices:
TRt = Ht − Lt (3)
where TRt is the technical range. Technical range is part of the Japanese candle stick, which is widely employed by chartists for trading.
Both ranges can be used as volatility estimators, larger ranges mean more turbulent trading periods.
Range decomposition
The idea of range decomposition is straight forward and is presented as follows:
(Ht − Lt)/Ct = (Ht − Ct)/Ct + (Ct − Lt)/Ct
= ln(Ht/Ct) + ln(Ct /Lt)
= ln(Ht/Lt),
where Ct is the closing price. Taking logarithmic transformation on both sides and rearranging yields
ln(Ct) = ln(Ht − Lt) − ln(ln(Ht /Lt). (4)
Substituting TRt and PRt for Ht − Lt and ln(Ht) − ln(Lt) respectively, we get
ln(Ct) = ln(TRt) − ln(PRt). (5)
(5) is called the range decomposition technique as it indicates that price can be approximated by two ranges.
We first present the main properties of technical range and then list the proofs for each property in detail. The main properties of technical range are as follows:
Proposition1. Technical range is a unit root process.
Proposition2. Closing price and technical range are co-integrated of order (1,1).
Proposition3. Technical ranges are co-integrated if their corresponding prices are co-integrated
Before giving the proofs for each proposition, it is necessary to clarify the definition of co-integration. The use of the notation of co-integration as a long-run equilibrium relationship between time series was suggested by Engle and Granger [12]. A series is said to be integrated of order d, denoted as I(d), if it has a stationary, invertible autoregressive moving average (ARMA) representation after applying the differentiating operator (1 − L)d. Consider in general a pair of series, x1t and x2t, which are I(d). Let Xt = (x1t, x2t)′. The linear combination
θt = αXt (6)
Will generally also be I(d). If a vector α exists such that θt is I(d-b) with b>0, however, x1t and x2t are said to be co-integrated of order (d,b), and αXt=0 represents an equilibrium constraint operating on the longrun components of Xt .
Proof for Propositions 1-2: Given the facts that closing price is a unit root process and that Parkinson range, as a volatility estimator, is a stationary process, it is self-evident that technical range is a unit root process. Since ln(Ct) - ln(TRt) = ln(PRt) and ln(PRt) is a stationary process, it is obvious by the definition of co-integration that closing price and technical range are co-integrated of order (1, 1).
Proof for Proposition 3: Suppose two price series C1t and C2t are cointegrated of order (d, b) with a co-integration vector of (α1, α2). By the definition of co-integration, there exists a linear combination
ωt = α1 C1t + α2 C2t (7)
such that ωt is I(d-b) with b>0. Substitute Eq. (5) for Ci,t in Eq. (7), one obtains
ωt = α1ln(C1t) + α2ln(C2t) (8)
= α1[ln(TR1t) − ln(PR1t)] + α1t[ln(TR2t) − ln(PR2t)] (9)
= [α1ln(TR1t) + α2ln(TR2t)] − [α1ln(PR1t) + α2ln(PR2t)] (10)
By rearranging, we get
ωt + [α1ln(PR1t) + α2ln(PR2t)] = α1ln(PR1t) + α2ln(PR2t) (11)
Equ.(11), by definition, indicates co-integration between ln(TR1t) and ln(TR2t) of order (d, b) with a co-integration vector of (α1, α2).
It has been well recognized that financial markets are rather efficient, thus it is of great difficulty to predict the market using history price information. In this section, we are going to answer whether or not trading strategy based on the technical range can beat the simple buy-and-hold.
Data preparation
As technical indicators are widely used to analyze individual stock, we collect the monthly index data of the Apple Inc. for the sample period from September, 1984 to April, 2012 with 332 observations. We collect the Apple Inc. stock price for the following reasons: first it is now the most charming stock and attracts the global attention; second, it now has the largest capital value; finally, the stocks of Apple Inc are of high liquidity. These features make the Apple Inc. stock price more efficient in reflecting information, which makes it a nice stock for verifying the efficiency of technical analysis. For each month, four pieces of information, opening, closing, high, low are reported. The data sets are downloaded from the finance subdirectory of the website “Yahoo.com”. Figure 1 presents the high (Ht), low (Lt) and closing (Ct) price plots of Apple Inc. on the left panel. The plot of technical range is presented on the right panel in Figure 1.
Table 1 presents the summary statistics for returns, closing price and technical range. Consistent with the well known facts, stock returns shows left skewness and high kurtosis and deviates from the normal distribution with great significance. Augmented Dickey- Fuller (AD-F) statistics cannot reject the hypothesis of unit root for both technical range and closing price, which is consistent with Proposition 1. Numbers in () are p-values. Table 2 reports the Johansen co-integration test for technical range and closing price. The results indicate co-integration between technical range and closing price at a significance level of 1%, which is consistent with Proposition 2. Figure 2 presents the auto regression functions (ACF) on the left panel and partial auto regression functions (PACF) on the right panel. Consistent with the arguments of efficient market hypothesis, Figure 2 indicates no linear dependence between stock returns.
Returns | Closing Price | Technical Range | |
Mean Median Max Min Std. Dev Skewness Kurtosis |
0.00951 0.0241 0.374 -0.861 0.150 -1.263 7.647 |
3.890 3.714 6.396 2.575 0.851 0.918 3.284 |
2.203 2.048 4.656 0.113 0.859 0.476 2.880 |
ADF | −16.394 | −0.364 | −1.659 |
(0.000) | (0.912) | (0.451) |
Table 1: Summary statistics for returns, closing price and technical range of Apple Inc.
No. of CE(s) | Eigenvalue | Trace Statistic | Critical Value | P-value |
None | 0.0871 | 31.277 | 20.262 | 0.0010 |
At most 1 | 0.00451 | 1.479 | 9.165 | 0.877 |
Table 2: Johansen co-integration test for technical range and closing price: Apple Inc.
Figure 2: ACF and PACF of Stock Returns: Apple Inc.
Econometric methodology
Following the conventional framework for analyzing stock price predictability, the following predictive regression model is used:
rt+1 = α + βxt + εt +1 , (12)
Where rt+1is the return on stock price from period t to t + 1, xt is a predictor, and εt+1 is a zero-mean disturbance term. In this paper, xt is the residual produced by the following regression:
ln(Ct) = c + γln(TRt) + μt, (13)
Where μt is a mean-zero disturbance term also known as error correction term, which will be used as the predictor:
rt+1 = α + βμt + εt+1. (14)
Notice that μt can be thought of as an equilibrium error (or disequilibrium term) occurred in the previous period. If it is non-zero, rt+1 will be corrected to restore equilibrium. As it is possible that the way how rt+1 will be corrected depends on the conditions of μt taking positive values or negative values. Taking this into consideration, we adopt the following regression framework:
rt+1 = α + β1μt- + β2μt + + εt+1, (15)
where μt- = -|μt| + μt and μt+ =|μt| + μt.
To mimic the actual technical forecasting, we employ rolling window technique to produce out-of-sample forecasts. Suppose there are T observations, the rolling window out-of-sample forecasting procedures are presented as follows:
First, are generated from the following regression:
(16)
Where are the least ordinary squares (OLS) estimates of c and γ, respectively, in (13) computed by regressing on a constant c and L is the window length, and i=1,2,...,T−L+1 is the starting point in the window.
Second, we regress on a constant c, and
(17)
If F-statistics in (17) are statistically significant at a level of 5%, the out-of-sample forecast i+L+1 is produced as follows:
(18)
Where â, and are the OLS estimates of α, β1 and β2, respectively, in (17). Produced from the following regression:
(19)
Where are the OLS estimates of c and γ, respectively, computed by regressing on a constant c and
Parameters estimates
To be robust, different windows are used. To be specific, we choose L=24, 36, 60, which corresponds to two, three and five years, respectively. Figures 3-5 present the plots of parameters estimates of ct, γt, αt, β1t and β2t evolving with the rolling window. pt is p value corresponding to the F statistics. We use subscript t to highlight that these parameters are vary with the window rolling. Plots in the left panel of each figure present ct and γt, and plots in the right panel of each figure presents αt , β1tand β2t. Figures 3-5 demonstrate something of great interest:
first, the co-integration relationship between closing price and technical range becomes stronger as window length (L) extends since more p values (pt) falls below 5%.
Second, the co-integration vector is time varying given the evidence that ct and γt change with the window rolling.
Third, ct and γt are negatively correlated. It can be observed from figures 3-5 that ct and γt are negatively correlated, when ct goes up, γt tends to go down.
Fourth, returns are corrected in an asymmetric way. Returns are corrected more when μt taking positive values, since β2t are almost unanimously larger than β1t in terms of absolute value, which is more obvious by observing the plots in the right panel in figures 3-5.
Fourth, returns are corrected in an asymmetric way. Returns are corrected more when μt taking positive values, since β2t are almost unanimously larger than β1t in terms of absolute value, which is more obvious by observing the plots in the right panel in figures 3-5.
Finally, the stock prices of Apple Inc. are in-sample predictable for some time. It can be observed from the right panel in figures 3-5 that there are some periods when pt values are persistently below 5%.
The efficient market hypothesis (EMH) argues that financial markets are informationally efficient, thus it is impossible to beat the market by predicting using history information [13]. A natural conclusion from EMH is that we cannot beat the market by technical indicators.
In this subsection, we are going to investigate whether or not trading strategies based on the out-of-sample forecasts of (18) can beat the simple buy-and-hold. The trading strategy in the present paper is going as follows: if the forecasts are negative, we sell the Apple Inc. stock and hold cash, otherwise we hold the stock. Since the forecasts are produced using co-integrating relation between technical range and closing price, the trading is denoted as co-integration trading strategy.
Suppose our initial investment is one US dollar, Figure 6 presents how the accumulative returns evolve with the investment period. Plots from left to right in Figure 6 present different accumulative returns when window length L taking different values. For L=24, the accumulative returns from co-integration strategy is about 293.856% which is 11.341% larger than buy-and-hold; for L=36, the accumulative returns from co-integration strategy is about 311.984% which is 40.401% larger than buy-and-hold; for L=60, the accumulative returns from co-integration strategy is about 273.937% which is 20.896% larger than buy-and-hold. Even after removing the trading costs, the cointegration trading strategy still outperforms the simple buy-and-hold. Suppose for each trading, the cost is 0.3%. If N tradings are made then the total trading costs are 0.3%*N. The trading costs for L=24 are 4.2% (N=14); trading costs for L=36 are 7.2% (N=24); trading costs for L=60 are 6% (N=20).
Figure 6: Trading Strategy: Cointegration vs Buy-and-hold.
As part of the Japanese candlestick, technical range is widely employed by chartists to read the markets. This paper makes the first attempt to investigate the theoretical properties of this technical indicator. The main findings of the present paper are that: first, technical range is a unit root process; second, technical range and closing price are co-integrated; third, technical ranges are co-integrated if their corresponding closing prices are co-integrated. An empirical study performed on the Apple Inc. stock indicates that stock markets are not sometimes inefficient, thus trading strategy based on these properties are profitable. The findings in this paper are also suggestive, as they indicate that these properties can be used to design automatic trading strategies, which will be the future studies.