Historical Volatility Ratio

Historical Volatility Ratio(HVR) is an indicator, which shows volatility change relative to the previous periods in the chart. The StdDev indicator is used to calculate the values.

To calculate the ratio at each bar, the natural logarithm is calculated by the following formula:

lr(t) = ln(Close(t)/Close(t-1))

Then the obtained values are used when calculating the short and long StdDev indicators. The final ratio is calculated by the formula:

HVR(t) = StdDevShort(lr(t))/StdDevLong(lr(t))

The indicator view in the chart:

Image 30224

The indicator has the following parameters:

Image 30225


Settings

Short Period - set the StdDev indicator short period.

Long Period - set the StdDev indicator long period.

Drawing
Panel - selection of the indicator location in the chart:

  • New panel
  • Chart

Visualization

Show value - display of the indicator value on the price scale on the left.

Scale/Auto-scaling - if this option is on, the scale will be automatically calculated, based on the minimum and maximum indicator values, so that the indicator would fit in the chart.

Color - color setting of the indicator.

Visual type - visual setting of the indicator display in the chart:

  • Line
  • Histogram
  • Hash
  • Block
  • Cross
  • Square
  • Dots
  • Up arrow
  • Down arrow
  • Axis label
  • Hide

Line style - setting of the line display style:

  • Solid
  • Dash
  • Dash - dot
  • Dash - dot - dot

Width - setting of the indicator line width.

Is this article helpful for you?