All indicators

High/Low Historical Volatility Bands

Sep 18, 2022

Static chart image
SignalsChannelsMoving AveragesVolatility

The High/Low Historical Volatility Bands indicator provides a volatility-based envelope around price movement by utilizing high/low price range data rather than standard closing price deviations. This tool aims to identify periods of expanding or contracting volatility, helping traders assess risk and potential mean reversion levels.

Usage

The Usage section describes how to interpret the volatility bands and the center line.

  • Trend and Volatility Assessment: The bands expand when price volatility (based on high/low ranges) increases and contract during stable periods.
  • Center Line Interpretation: The middle line changes color based on the slope of both the upper and lower bands. If both bands are rising, the middle line turns green; if both are falling, it turns red. If they are moving in opposite directions, the line remains white, indicating a lack of unified volatility direction.
  • Smoothing Selection: By selecting different moving average types for the middle line (such as HMA, EMA, or LSMA), traders can adjust the responsiveness of the indicator to suit different timeframes or asset classes.
  • Signals and Bar Coloring: The indicator provides visual cues for trend changes and bar coloring to highlight market conditions directly on the chart.

Details

Historical Volatility (HV) measures the dispersion of returns over time. While standard implementations often use closing prices, this script focuses on the High/Low range.

A core component mentioned in the conceptual framework is the Parkinson’s number. Parkinson's volatility is an estimator that uses the high and low prices of a period instead of just the close. It is considered significantly more efficient than traditional close-to-close volatility because it captures intraday price action. By applying this logic to a set of bands, the script creates a dynamic range that reflects the true "spread" of market movement, aiding in the identification of stop-loss clusters and mean-reverting tendencies.

Settings

  • Source Settings: Allows users to choose from a wide variety of source types, including standard price points, Heikin-Ashi variants, and "Better Smoothing" options (AMA, T3, Kaufman).
  • Basic Settings:
    • Period: Sets the lookback period for the historical volatility calculation.
    • Deviations: Adjusts the multiplier for the band width.
  • Bands Settings:
    • Double Smoothing MA Type: Selects the moving average algorithm used for the middle line and bands (options include SMA, EMA, HMA, LSMA, etc.).
  • UI Options: Toggle bar coloring and signal visibility.
  • Moving Average Inputs: Fine-tune parameters for specific adaptive moving averages like KAMA or AMA.

FAQ

How do I interpret the three different colors of the middle line? The middle line is green when both bands are trending upward and red when both are trending downward. A white line indicates that the bands are not moving in the same direction, suggesting a transitional or non-trending volatility state.

Is this a directional indicator? No, Historical Volatility is non-directional. It measures the intensity of price changes rather than the trend direction itself. However, when combined with the price-based middle line, it can help identify trend strength.

How do I get access to this tool? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.