Volume Accumulation Percentage Indicator
Apr 11, 2015

The Volume Accumulation Percentage Indicator tool measures the intensity of accumulation and distribution by weighing volume based on the price's position within its intraday range over a specified period. It provides traders with an oscillator that highlights the strength of buying or selling pressure, helping to identify potential trend reversals and momentum shifts.
Usage
The Usage section describes how the script can be used to interpret market sentiment and volume flow.
- Trend Confirmation: When the VAPI is positive and rising, it indicates strong accumulation, suggesting that the current upward trend is supported by volume. Conversely, a negative and falling VAPI suggests distribution and a strengthening downtrend.
- Zero-Line Crossovers: A move from negative to positive values can be interpreted as a bullish signal, indicating that accumulation is beginning to outweigh distribution. A move from positive to negative values serves as a bearish signal.
- Range Analysis: In a sideways market, if the price is trading at the lower end of its range while the VAPI oscillator begins to slope upward, it suggests hidden accumulation, often preceding a bullish breakout.
- Divergence Trading: Divergences between price and the VAPI are significant. If price achieves a new high but the VAPI fails to do so, it indicates weakening buying pressure and a potential bearish reversal.
Details
The Volume Accumulation Percentage Indicator (VAPI) is a variation of classic volume-accumulation indicators like On-Balance Volume (OBV). While OBV adds or subtracts the total volume based on the close-to-close change, VAPI assigns weights to the volume based on where the close falls relative to the high and low of the bar (intraday volatility).
The core calculation determines a value 'x' based on the position of the close within the high-low range. If the close is at the high, the multiplier is positive; if at the low, it is negative. The script then calculates the Total Volume Accumulated (TVA) by summing the product of volume and 'x' over the chosen length. This value is then divided by the total volume over that same period and multiplied by 100 to create a percentage-based oscillator. This normalization allows for better comparison across different instruments and timeframes.
Settings
- Time Periods: Defines the lookback window used to calculate the sum of weighted volume and total volume. Adjusting this parameter changes the sensitivity of the oscillator; a shorter length reacts faster to price changes, while a longer length provides a smoother trend indication.
FAQ
How does VAPI differ from standard volume indicators? Unlike simple volume bars or OBV, VAPI accounts for the price action within each candle. It rewards volume more heavily when price closes near its daily highs and penalizes it when closing near lows, providing a more nuanced view of market conviction.
Is VAPI effective for spotting market reversals? Yes, it is particularly effective through the use of divergences. When volume-weighted momentum fails to follow price action, it often signals that the current move lacks the necessary participation to continue.
How can I access the Volume Accumulation Percentage Indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Unlock Unlimited Access to the LuxAlgo Library
Upgrade your plan to get all indicators, strategies, charts, and full access to Quant, our AI agent.
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.

