Volume and Volatility Ratio Indicator
Apr 15, 2025

The Volume and Volatility Ratio Indicator is a technical tool that combines relative trading volume and price volatility to identify abnormal market activity and potential trend reversal signals. By normalizing volume against its moving average and factoring in price amplitude, it provides a composite index designed to highlight periods of high market "heat" and exhaustion.
Usage
The indicator is primarily used to spot peaks in market activity that often precede reversals. It appears in a separate pane with a histogram and several line plots.
- Identifying Market Heat: The "Volume/Volatility Index" (drawn as a step-line) rises when both volume and price movement increase. Values above the threshold line indicate significant market participation and potential volatility spikes.
- Reversal Detection: The script automatically scans recent price action for specific reversal patterns. When conditions are met—such as the index exceeding the threshold while price shows specific K-line characteristics—the histogram bars change color.
- Trend Analysis: Short-term and long-term moving averages of the index help smooth out noise and show whether market activity is increasing or waning relative to recent history.
- Visual Cues:
- Green/Red Bars: Indicate potential bullish or bearish reversal patterns detected over the lookback period.
- Blue Bars: Represent volume that is higher than the average, suggesting active participation.
- Gray Bars: Represent below-average volume.
Details
The script functions by calculating a relative volume percentage (current volume / simple moving average) and a volatility percentage (high-low range / close). The product of these two metrics forms the "Volatility Index."
The logic behind this approach is that significant market turns often happen when high volume is coupled with wide price swings. By using a loop to check the lookbackBars, the indicator ensures that signals are only generated when specific price and volume sequences align, such as a climax in the index followed by a change in price direction.
Settings
Core Parameters
- Volume MA Length: Sets the lookback period for the simple moving average of volume used to calculate relative intensity.
- Index Short/Long MA Length: Determines the periods for the two moving averages applied to the final composite index.
- Index Sensitivity: A multiplier used to scale the moving averages for better visual alignment on the chart.
- Index Threshold: The level at which the market activity is considered "abnormal" or high-intensity.
- Pattern Detection Length: The number of preceding bars checked to confirm a reversal sequence.
FAQ
How do I interpret the threshold line? The threshold line acts as a filter. When the Step-line (Volatility Index) moves above this level, it suggests the market is entering an extreme state where a reversal becomes more statistically likely based on the script's criteria.
Can I use this for all assets? Yes, because the index is based on percentage-based volatility and relative volume, it is designed to be adaptive across different symbols and timeframes.
How can I access the Volume and Volatility Ratio Indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

