All indicators

Interval Volatility Bands

Aug 12, 2018

Static chart image
Volume BasedChannelsFibonacciMoving AveragesVolatility

The Interval Volatility Bands indicator provides a comprehensive framework for estimating price volatility by combining anchored volume or time-weighted calculations with Fibonacci expansion levels. This tool allows traders to visualize potential support and resistance zones based on historical price dispersion within specific intervals.

Usage

The tool can be used to identify trend direction and volatility extremes. When the price is above the basis, the bands act as potential profit targets or resistance zones, while price below the basis suggests a bearish bias with the bands acting as support.

Key usage examples:

  • Trend Identification: Use the basis line (VWAP/TWAP) to determine the current market bias. The basis color changes dynamically based on price position.
  • Volatility Reversals: Monitor price action around the outer Fibonacci bands (e.g., 78.6% or the expansion limit) for signs of exhaustion or mean reversion.
  • Interval Customization: Switch between "Automatic Segmented" for hands-free interval management or "Time Anchored Cumulative" to track volatility from a specific significant event or market open.

Details

The script functions by first establishing a central basis using either Volume Weighted Average Price (VWAP) or Time Weighted Average Price (TWAP). The VWAP calculation can utilize real or tick volume, while TWAP offers Simple, Exponential, or Double Exponential smoothing options.

Following the basis calculation, the indicator determines the standard deviation (volatility) from that basis. Users can choose between three calculation modes for the bands:

  • Standard: Uses the immediate standard deviation.
  • Cumulative Average: Uses the average volatility over the entire interval for smoother bands.
  • Hybrid: Uses the maximum value between the Standard and Cumulative methods to ensure bands expand quickly during high volatility but remain wide during subsequent consolidations.

Finally, the deviation is scaled by an expansion coefficient and subdivided using Fibonacci ratios (23.6%, 38.2%, 50.0%, 61.8%, and 78.6%) to create a tiered visual heatmap of price action.

Settings

General

  • Interval Type: Determines the reset frequency of the calculations (Automatic, Custom, Cumulative, or Time Anchored).
  • Input Source Price: The price point used for all calculations (default is Close).
  • Calculation Method: Selects between VWAP (volume-weighted) or TWAP (time-weighted) for the basis.

Calculation Options

  • VWAP Volume Type: Choose between Default (real volume) or Tick volume.
  • TWAP Smoothing Type: Selects the averaging algorithm (Simple, Exponential, or Double Exponential).
  • Band Calculation Method: Determines how volatility is processed (Standard, Cumulative Average, or Hybrid).
  • Expansion Coefficient: Sets the multiplier for the outer boundary of the bands.

Time Anchor

  • Timezone/Anchor Settings: Configures the specific start point for "Time Anchored Cumulative" calculations.

FAQ

How do I access Interval Volatility Bands?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

What is the difference between the Hybrid and Standard band modes?

The Standard mode reacts immediately to current volatility, causing bands to contract quickly. The Hybrid mode maintains the highest recorded volatility (between current and average), preventing premature band contraction during choppy markets.

Can I use this for intraday and daily charts?

Yes, the "Automatic Segmented" interval type will automatically adjust the calculation window based on your current chart timeframe to provide relevant volatility data.

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.