You are here

HVOL - Historic Volatility

Printer-friendly versionPDF version
The Historic Volatility indicator is used mainly as an option evaluation tool. It gives the trader an idea of how volatile the market has been for a previous period of time.

Changing the period of time the study observes allows the trader to fine-tune options prices. If a market has been extremely volatile for the past 3 months, for example, near-term options should be more expensive. If the market has been calm for an extended period of time, longer-term options should be reasonable. In futures, we use it for observation. It tells us if prices are calming down or becoming more erratic.

The key to using historic volatility is determining the correct period of time for each market. The market you are looking at may show a history of volatility years ago but has been relatively calm the last few months. Getting an idea of the behavior of the market recently may be of no use to the trader that is looking at distant options.

For the futures trader, this tool is useful as a guide for order placement. Changing market volatility may indicate that it is time to move stops closer or farther away. If the trader is profitable with the trend and volatility is changing, it might be a time to move stops closer to protect profits. If a trader is trading against the trend, he might want to move stops further away to avoid getting bumped out prematurely.

Options traders could use this study to help them purchase profitable options. The basic idea is to buy options when volatility is decreasing to take advantage of a change in that volatility. Any rise in volatility will translate to an increase in option values. Look at options strategies that take advantage of low volatility, such as straddles or ratio spreads. When volatility is high, selling options would be better because any decrease in volatility will translate to a loss of option value. Options strategies that take advantage of a decrease in volatility are strangles and regular short option positions.

Obviously, historical volatility is only one component of options pricing. Any changes in the underlying futures market could negate the changes in option prices due to volatility. For example, if you were to buy a low volatility Put option and prices go higher, that option will lose value but not as quickly as a higher volatility option.

For the futures trader, the basic concept is to expect market changes during periods of increased volatility. George Soros, the trading legend, said: “Short-term volatility is greatest at a turnaround and diminishes as a trend becomes established.”

This indicator is commonly viewed as very mean regressive. What this term means is that the historic volatility indicator tends to return to the opposite end of the spectrum and therefore return to an average. If volatility is great it will eventually cool off and return to that place. If volatility is low it will not stay quiet forever. What this means to traders is that a market that is erratic will sooner or later calm down and a market that is quiet will eventually get loud again.

Calculation

The calculation for the historical volatility is rather involved. The number of periods per year varies depending on the type of price chart used for the study. The following table lists the number of periods for each type of chart:

Chart Type

Trading Periods Per Year

Perpetual 252
Daily 252
Weekly 52
Monthly 12
Variable Based on chart period (see below)
Tick Not available for this study

When using variable charts, you must first calculate the number of trading periods per year. To do this, you must determine the trading time of the selected commodity. The formula is as follows:

TP = (Tt / Pn) x 252

TP: The total number of trading periods per year.
Tt: The total trading time in a day.
Pn: The length of the period.
252: The number of weekdays per year.

Example: The S&P 500 trades from 8:30 a.m. to 3:15 p.m. That is a total trading time of 6 hours and 45 minutes. On a variable chart using 5-minute bars, the number of periods for the day is 81:

6 hours x 60 minutes = 360 minutes + 45 minutes
Total minutes of trading = 405 minutes
405 / 5 minute bars = 81 trading periods per day

Now that you have calculated the trading periods per day, you now must calculate the number of periods for the year. Since historical volatility considers every weekday of the year when calculating total periods for the year, the multiplier is 252:

TP = (405/5) x 252
TP = 81 x 252
TP = 20,412

Note: This formula applies only to historical volatility on a variable chart. It does not apply to other chart types.

Now that you have the total number of periods per year, continue with the calculation of the historical volatility, by calculating the natural logarithm of the price change for each price in the specified time span of n periods:

LOGSi = LOG(Pi / Pi-1)

LOG: The natural logarithm function. 

Pi: The current price.
Pi-1: The previous price.

Now that you have the natural logarithms of the price changes, calculate the total natural logarithms for the time span you are reviewing:

Equation1 

Tlogs: The total of the natural logarithm price ratio for the time span. 

S: Indicates to sum all n natural logarithms. 

LOGSi: The natural logarithm of the price change for period i. 

N: The number of periods for the specified time span.

The next step is to calculate the average of the logs by dividing the total natural logarithm by the number of periods:

ALOGS = Tlogs / n

ALOGS: The average of the natural logarithms. 

Tlogs: The total of the natural logarithm for the time span. 

N: The number of periods for the specified time span.

The last calculation is to sum the squares of the difference between the individual natural logarithms for each period and the average natural logarithm:

Equation 2 

SSD: The sum of the squared differences.
S: Indicates to total the squares of all n differences.
LOGSi: The natural logarithm of the price change for period i. 

ALOGS: The average of the natural logarithms.

Now that the elements of the final formula are complete, the following formula calculates the historical volatility for a given period over a specified time span:

Equation 3 

SSD: The sum of the squared differences.
n: The number of periods for the specified time span.
TP: The total number of trading periods for the year.

Due to the complexity of the formula, it is preferable to use a scientific calculator when attempting to manually calculate the historical volatility of a futures instrument.

Example of Historical Volatility

HVOL Example

Preferences

Open the Preferences Tab in your Control Panel. Select the HVOL quick link at the right of the indicator window. (Once you click on the chart, the Preference tab will go back to chart settings.)

HVOL PrefRestore Settings: TNT Default will change your settings back to the original software settings. My Default will change current settings to your personalized default settings. Apply To All Charts will apply your selected settings on all open charts. Save As My Default will save your current personal settings.

HVOL Period: To specify the number of days used in calculating Historic Volatility, simply click on the box, highlight the current number, and type in a new value.

HVOL: Change the color, line style, and line thickness of the HVOL.

Use Relative Scale: When choosing this option, the 100% location is changed to the highest point value in the HVOL indicator.

Thresholds: Gives you the option of displaying four threshold lines, which can be displayed as a value or a percentage in the Indicator Window. You also have the option to change the color of the threshold line. Threshold 1 will be used to create sell signals on the HVOL crossover above the upper threshold. Threshold 2 will be used to create sell signals on the HVOL line crossover below the lower threshold.

Reverse Arrows: Used to reverse the direction of all signals received.

One Buy for every Sell: Limits buy/sell signals to generate only one buy or one sell in a row.