Volatility models: GARCH, Local volatility, CEV, Hull-White, NATR, Skew
SpreadFighter volatility indicators: GARCH with GARCH, GJR-GARCH, GARCH-M and AGARCH modes, local volatility, CEV, Hull-White, NATR and the Skew volatility asymmetry.
Available indicators
| Indicator on the chart | Name in the list | Plan |
|---|---|---|
| [SF] GARCH | [SFQA] GARCH Volatility Estimation | all plans |
| [SF] LV | [SFQA] Local volalility | all plans |
| [SF] CEV vol | [SFQA] Simple CEV volatility approximation | all plans |
| [SF] Hull-White vol | [SFQA] Hull-White volatility model | all plans |
| [SF] NATR | [SFQA] Normalized average true range volatility | all plans |
| [SF] Skew | [SFQA] Skew volatility | Pro and above |
There are no separate Realized volatility, APGARCH and IK indicators on the platform. The GARCH-M and AGARCH models are now modes of the [SF] GARCH indicator, and asymmetric volatility is the [SF] Skew indicator.
Description
GARCH
The GARCH model (generalized autoregressive conditional heteroskedasticity) is a statistical model for estimating the volatility of a financial asset. It takes into account that volatility changes over time and depends on past events: in GARCH, the variance at a given moment depends both on past values of the variance itself and on past disturbances (innovations) in the data.
The [SF] GARCH indicator draws three lines: GARCH Vol, the model estimate; σ, the standard deviation of the close price over bars; and ATR over bars. The model is selected with the Volatility Model setting: GARCH, GARCH-M, AGARCH or GJR-GARCH.
GARCH. The conditional variance is calculated from the log return :
where , , are the Omega, Alpha and Beta parameters. The indicator shows . On the first bar, the unconditional variance is used instead of .
GJR-GARCH, AGARCH and GARCH-M. In these modes the "disturbance" is the deviation of the close price from its exponential average . The variance is found by iterating until convergence (at most 100 steps, threshold = Omega):
Volatility is expressed as a percentage of the average: .
The modes differ in the asymmetry adjustment . The coefficient is the ratio of the standard deviation of negative to the standard deviation of all over bars:
- GJR-GARCH: if on the previous bar, otherwise . Declines add more volatility than rises of the same size (the leverage effect);
- AGARCH: when the price is below its average (), otherwise ;
- GARCH-M: , and the result is additionally multiplied by : volatility enters the estimate together with itself, as in Engle's (1987) GARCH-in-Mean model, where the conditional variance serves as a factor of the risk premium.
If , the model is non-stationary and the indicator shows zeros.
Settings:
| Parameter | Default | What it sets |
|---|---|---|
| Volatility Model | GARCH | Mode: GARCH, GARCH-M, AGARCH, GJR-GARCH |
| Measure | pips | pips means price units, percent means percent |
| Omega | 0.000001 | and the iteration convergence threshold |
| Alpha | 0.1 | |
| Beta | 0.85 | |
| Length | 20 | Length for EMA, σ and ATR |
Local volatility
The traditional volatility calculation is the standard deviation of returns around the mean return. When the price is trending, the mean return is noticeably different from zero, and changing the window length can artificially inflate volatility. Local volatility is calculated from the differences between neighboring prices, not from deviations from the mean. It shows how much the price changes from bar to bar, regardless of the overall trend.
The [SF] LV indicator:
where is the selected price source (Price source, close by default) and is Length (10 by default). In Measure = Percent mode (the default), the result is divided by the typical price and expressed in percent; in USD mode, in price units.
Constant Elasticity of Variance
The constant elasticity of variance volatility model (CEV) assumes that an asset's volatility depends on its price level. CEV is commonly used in financial mathematics and for options analysis.
The [SF] CEV vol indicator is a simplified approximation: volatility grows together with the price's deviation from its average.
where is the price source (Price source, close by default), is Length (10), and is Multiplier (2).
Hull-White volatility model
The Hull and White volatility model (1987) extends the Black–Scholes option pricing model. In the Black–Scholes model an asset's volatility is constant, which is far from always true. Hull and White allowed volatility to change over time, which reflects real price behavior more accurately and gives more accurate option value estimates.
where .
The [SF] Hull-White vol indicator calculates volatility from the bar range (a Parkinson-style estimate):
where and are the bar's high and low, and is Length (10).
The CEV and Hull-White indicators do not reproduce the full models with all their mathematical features and are intended only for a qualitative assessment of volatility changes.
Normalized average true range volatility
The [SF] NATR indicator measures market volatility by normalizing the average bar range to the price level:
where is the bar's high, is the bar's low, is the average of the current bar's open, high, low and close, and is Length (10 by default).
Skew
The [SF] Skew indicator compares upward and downward volatility: which side is currently moving more strongly relative to its recent history. Available on the Pro plan and above.
First, the upward and downward price moves are calculated. The Price source setting picks the price, close by default:
Averages over bars (Length, 10 by default):
Both values are divided by the average absolute price change over the same bars, so they become the shares of upward and downward movement.
Then both lines are smoothed with a simple average (Smooth length, 5) and normalized to the range from 0 to 1 by the minimum and maximum over the Normalization length window (150 bars):
The indicator draws two lines, Downward volatility and Upward volatility. The background is green when the normalized upward volatility is not less than the downward volatility, and red when the downward volatility is greater. In the Style tab you can turn on the 0.8 and 0.2 levels; they are hidden by default. The Symbol setting lets you calculate the indicator on another ticker.
Local volatility (LV): what it is and how it works
What is local volatility (LV)?
Local volatility (LV) is a volatility measure used in quantitative analysis. It helps give a fuller picture of volatility by taking into account both strike prices and time to derive price and risk statistics. Local volatility is related to an option's implied volatility and can be extrapolated from it.
Understanding local volatility
The concept of local volatility was introduced by economists Emanuel Derman and Iraj Kani. Local volatility tries to determine the actual volatility of an asset across a range of strike prices. Local volatility uses two-factor analysis to give more accurate actual volatility readings than implied volatility. When plotted, local volatility usually fits the data better than implied volatility. Some scholars believe that although implied volatility can be used to get the right price, local volatility is, from a logical point of view, a more suitable input.
Local volatility essentially replaces the constant volatility function that is calculated from the strike price. Instead, local volatility answers the same risk question differently, by looking at the asset price and time, which gives a different view of volatility from the same inputs.
Because local volatility is often extrapolated from implied volatility, it is sensitive to changes in implied volatility. This means small changes in implied volatility lead to sharper changes in local volatility.
How local volatility is used
One of the main criticisms of the original Black-Scholes model is that it tried to fix the volatility of the underlying asset at a constant level over the whole life of the option. This does not reflect the actual market data we have, but the model is still one of the most effective option pricing schemes.
Local volatility can be especially useful when pricing exotic options, which are hard to fit with standard models. It is designed to match market prices and can be used to price all combinations of strikes and maturities, as opposed to a single maturity that implied volatility covers.
Still, both local and implied volatility are often studied together and compared with historical volatility. While local and implied volatility are generated from current price levels using the Black-Scholes model, historical volatility can be used to produce a Black-Scholes model price that is adjusted by past data on actual price movements.
Source: investopedia
The GARCH model: definition and use in statistics
What is generalized autoregressive conditional heteroskedasticity (GARCH)?
Generalized autoregressive conditional heteroskedasticity (GARCH) is a statistical model used in analyzing time series data, where the error variance is believed to be serially autocorrelated. GARCH models assume that the variance of the error term follows an autoregressive moving average process.
Understanding generalized autoregressive conditional heteroskedasticity (GARCH)
Although GARCH models can be used to analyze a number of different types of financial data, such as macroeconomic data, financial institutions usually use them to estimate the volatility of returns on stocks, bonds and market indexes. They use the resulting information to set prices and judge which assets will potentially bring higher returns, and to forecast the returns of current investments, to help with asset allocation, hedging, risk management and portfolio optimization decisions.
GARCH models are used when the error variance is not constant. That is, the error term is heteroskedastic. Heteroskedasticity describes the irregular pattern of variation of an error term or variable in a statistical model.
Essentially, wherever there is heteroskedasticity, observations do not follow a linear pattern. Instead, they tend to cluster. Therefore, if statistical models that assume constant variance are applied to this data, the conclusions and predictive value you can draw from the model will not be reliable.
The error variance in GARCH models is assumed to vary systematically, depending on the average size of the error in previous periods. In other words, it has conditional heteroskedasticity, and the reason for the heteroskedasticity is that the error term follows an autoregressive moving average model. This means it is a function of the average of its own past values.
History of GARCH
GARCH was developed in 1986 by Dr. Tim Bollerslev, then a graduate student, as a way to solve the problem of forecasting asset price volatility. It is based on economist Robert Engle's groundbreaking 1982 work introducing the autoregressive conditional heteroskedasticity (ARCH) model. His model assumed that the variation of financial returns is not constant over time, but is autocorrelated, or conditional on or dependent on each other. For example, this can be seen in stock returns, where periods of return volatility tend to cluster together.
Since it first appeared, many variations of GARCH have emerged. They include the nonlinear one (NGARCH), which accounts for correlation and the observed "volatility clustering" of returns, and integrated GARCH (IGARCH), which constrains the volatility parameter. All variants of the GARCH model seek to account for the direction, positive or negative, of returns in addition to the magnitude accounted for in the original model.
Each GARCH derivation can be used to account for the specific qualities of a stock, an industry or economic data. When assessing risk, financial institutions include GARCH models in their risk premium and in their maximum expected loss (whether for a single investment or trading position, a portfolio, or at the level of a division or the whole firm) over a given period of time. GARCH models are considered to give more accurate risk measurements than those obtained by tracking only the standard deviation.
Various studies have been carried out on the reliability of different GARCH models in different market conditions, including in the periods before and after the Great Recession.
Source: investopedia