5.1 OHLC measures
There are several OHLC measures of volatility, each with different characteristics
Instead of relying solely on closing prices, Parkinson was first who proposed using the highest and lowest prices for volatility calculation
σ2P=ln(HL)24ln(2)
The advantages of Parkinson estimator lie in the availability of data, the simplicity of the calculation, and a more efficient volatility estimate compared to the historical volatility (it is 2.5 to 5 times more efficient)
However, estimator σ2P also has some drawbacks, i.e. it assumes continuous trading, meaning that there are no overnight returns, and consequently, the opening price is equal to the previous day’s closing price
Building on Parkinson’s work, Garman and Klass expanded the data range by using, in addition to the highest and lowest prices, the opening and closing prices, thus incorporating all four available infromation
σ2GK=12ln(HL)2−2ln(2)−12ln(CO)2
It has been shown that the Garman–Klass estimator is most suitable for stocks prices that follow Brownian motion with zero drift and no jumps
Rogers and Satchell have modified the Garman–Klass estimator, i.e. they also use the OHLC range, but their estimator is not sensitive to zero drift, which means that the estimator can accurately estimate volatility even in the presence of a trend in the stock prices
σ2RS=ln(HO)×ln(HC)+ln(LO)×ln(LC)
- The duo after whom the estimator was named, Yang and Zhang, constructed a superior estimator that is insensitive both to zero drift and to overnight jumps
σ2YZ=σ2O+kσ2C+(1−k)σ2RS
where:
- σ2O=(ln(O/previous close))2 — the open-to-close variance
- σ2C=(ln(C/O))2 — the close-to-open variance
- k=0.34/(1.34+(n+1)/(n−1)) — a weighting factor
- n — number of observations
Estimator | Zero drift | Overnight jump | Efficiency |
---|---|---|---|
Close–to–close | 1.0 | ||
Parkinson | 5.2 | ||
Garman–Klass | 7.4 | ||
Roger–Satchell | ✓ | 8.0 | |
Yang–Zhang | ✓ | ✓ | 14.0 |
- All mentioned OHLC estimators can be easily computed in R using
volatility()
command from the packageTTR
(Technical Trading Rules)