Zero-line Volatility Quality Index (VQI)
Aug 28, 2022

The Zero-line Volatility Quality Index (VQI) indicator provides a refined approach to identifying trend direction and momentum by analyzing price volatility and filtering noise using an ATR-based threshold. Unlike traditional versions that rely on multiple averages, this tool utilizes the slope of the Volatility Quality calculation and centers it around a zero line to offer clearer entry and exit signals.
Usage
The Zero-line Volatility Quality Index (VQI) is primarily used to identify trend shifts and momentum strength. Traders can interpret the indicator through several visual cues:
- Zero-Line Crossovers: When the VQI line crosses above the zero level, it suggests a bullish trend shift. Conversely, a cross below the zero level indicates a bearish trend shift.
- Color Transitions: The indicator changes color based on the current trend state (green for bullish, red for bearish), making it easy to identify the prevailing market sentiment at a glance.
- Filtering: The ATR-based filter helps minimize whipsaws in sideways markets by requiring a minimum change in value before updating the trend state.
- Bar Coloring: The tool can optionally color the price bars to match the indicator's trend state, allowing for better correlation between price action and momentum.
Details
The Volatility Quality Index was originally conceptualized by Thomas Stridsman to measure the quality of a trend by comparing true range and internal price movement. This specific implementation introduces several enhancements:
- Zero-Line Centering: Traditional VQI often uses arbitrary levels; this version transforms the calculation into an oscillator around zero, removing the need for static levels and simplifying signal interpretation.
- ATR-Based Filter: Many VQ indicators use a fixed pips filter, which fails when switching between different assets (e.g., Forex vs. Crypto) or different timeframes. This script uses a percentage of the Average True Range (ATR) as a filter, making it dynamic and self-adjusting to the current volatility and timeframe of the chart.
- Source Smoothing: The input prices (Open, High, Low, Close) are smoothed prior to calculation using customizable moving average types (EMA, WMA, RMA, SMA) to further reduce high-frequency noise.
Settings
Basic Settings
- Source Smoothing Period: Determines the length used for the initial smoothing of price data.
- ATR Percentage %: Sets the sensitivity of the filter. Higher values result in fewer, more significant signals, while lower values make the indicator more sensitive.
- Smoothing Type: Allows selection of the moving average algorithm (EMA, WMA, RMA, SMA) used for the internal calculations.
UI Options
- Color bars?: Toggles the coloring of price candles based on the indicator's trend state.
- Show signals?: Enables or disables the visual "L" (Long) and "S" (Short) labels on the chart.
FAQ
How do I interpret the zero-line in the Zero-line Volatility Quality Index (VQI)?
The zero-line acts as the equilibrium point. A value above zero indicates that the quality of bullish volatility is dominant, while a value below zero indicates bearish dominance.
How does the ATR filter improve the indicator?
The ATR filter ensures that the indicator only reacts to price changes that are significant relative to current market volatility. This prevents the indicator from flipping signals during tight consolidation or "noise" that doesn't represent a true change in trend.
How can I access the Zero-line Volatility Quality Index (VQI)?
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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.