Volume Price Trend
systemic:core-vptIndicatorsInputs
| Name | Type | Description |
|---|---|---|
| Smoothing Factor | Whole number | The number of bars in the moving average that smooths the raw VPT. |
| Price | Number series | The price series of the asset, usually the closing price of each bar. |
| Volume | Number series | The trading volume of each bar: the number of shares, contracts or tokens traded. |
Outputs
| Name | Type | Description |
|---|---|---|
| VPT | Number series | The cumulative Volume Price Trend at each bar, smoothed if a Smoothing Factor is set. |
Cost
0.208 + 0.00588·n credits for n bars, rounded up. The marks are each plan's limit of bars.
The Volume Price Trend indicator measures the balance between supply and demand by combining price movement with volume. VPT weights each bar's volume by how much the price moved. This shows whether large price swings have volume behind them, or whether small moves hide significant accumulation.
VPT was developed from On-Balance Volume (OBV). It answers one question: Is the volume flowing into this asset in proportion to the price move?
The Core Formula
Where:
- = Volume Price Trend at time
- = Previous VPT value (the running total starts at 0)
- = Current bar's volume
- = Current closing price
- = Previous closing price
The term is the percentage price change (or rate of change). This is the key idea: volume is weighted by how much the price moved, not only by whether it went up or down.
Worked Example: AAPL December 2025
Let's calculate VPT step by step on Apple (AAPL) daily data, with no smoothing:
| Date | Close ($) | Volume | Price Change (%) | Volume × Change | Cumulative VPT |
|---|---|---|---|---|---|
| Dec 22 | 270.97 | — | — | — | empty (no prior price) |
| Dec 23 | 272.36 | 29,641,999 | +0.513% | +152,055 | +152,055 |
| Dec 24 | 273.81 | 17,910,574 | +0.532% | +95,353 | +247,408 |
| Dec 26 | 273.40 | 21,521,802 | −0.150% | −32,227 | +215,182 |
Calculation for Dec 23:
The Dec 26 decline adds a smaller amount (−32K) than Dec 24 although its volume was higher, because the percentage drop (−0.15%) was smaller than the Dec 24 gain (+0.53%). Simple volume analysis misses this.
How VPT Differs from OBV
On-Balance Volume (OBV) treats volume as all or nothing: if the price goes up, add all the volume; if it goes down, subtract all the volume. This creates a problem:
flowchart LR
subgraph OBV["OBV Logic"]
direction TB
O1["Price up $0.01?<br/>Add ALL volume"]
O2["Price down $0.01?<br/>Subtract ALL volume"]
end
subgraph VPT["VPT Logic"]
direction TB
V1["Price up 0.01%?<br/>Add 0.01% of volume"]
V2["Price up 5%?<br/>Add 5% of volume"]
end
O1 ~~~ V1
O2 ~~~ V2
Example: If a stock rises $0.01 on 10 million shares, then rises $5.00 on 10 million shares:
- OBV treats both days identically (+10M each)
- VPT gives far more weight to the $5 move
This proportional weighting makes VPT more sensitive to the conviction behind price moves.
Reading the VPT Line
The level of VPT matters less than its direction and its relationship to price:
Trend Confirmation
flowchart TD
subgraph Confirmed["✓ Trend Confirmed"]
C1["Price ↑ + VPT ↑<br/>Strong uptrend"]
C2["Price ↓ + VPT ↓<br/>Strong downtrend"]
end
subgraph Warning["⚠ Warning Signs"]
W1["Price ↑ + VPT →/↓<br/>Rally lacks volume support"]
W2["Price ↓ + VPT →/↑<br/>Decline lacks selling pressure"]
end
When price and VPT move together, volume supports the trend. When they diverge, pay attention.
Divergence: The Reversal Signal
Divergence between price and VPT often comes before a trend reversal:
| Divergence Type | Price Action | VPT Action | Signal |
|---|---|---|---|
| Bullish | Making lower lows | Making higher lows | Selling exhaustion → potential reversal up |
| Bearish | Making higher highs | Making lower highs | Buying exhaustion → potential reversal down |
Why this works: If the price makes a new low but VPT does not, the new low came with less volume-weighted selling than before. Sellers are losing conviction.
Signal Line Strategy
A common technique is to apply a moving average to VPT and use it as a signal line:
- VPT crosses above its MA: Positive money flow accelerating → bullish signal
- VPT crosses below its MA: Negative money flow accelerating → bearish signal
This smooths out noise and gives clearer signals. With a Smoothing Factor, this module outputs that moving average instead of the raw VPT. To detect a cross, compare it with a second VPT module that has no smoothing.
Combining VPT with Other Indicators
VPT works best as confirmation, not as a signal on its own:
| Pair With | Purpose |
|---|---|
| ADX (Average Directional Index) | Confirm trend strength. ADX > 25 + rising VPT = strong trend |
| Moving Average Crossovers | Validate breakouts. 20-day crosses 50-day + VPT rising = confirmed |
| RSI | Filter divergences. RSI oversold + VPT bullish divergence = higher conviction |
The Smoothing Factor
The Smoothing Factor applies a simple moving average to the raw VPT. Set it to 1 (or 0) for no smoothing.
Why smooth VPT?
- Raw VPT can be noisy, especially in volatile assets
- Smoothing shows the underlying trend
- It makes signal line crossovers clearer
Trade-off: Higher smoothing = smoother line but more lag. Lower smoothing = more responsive but noisier.
For most uses, a smoothing factor between 5 and 20 bars works well. Start with 10 and adjust it to your period and the asset's volatility.
Practical Considerations
Cumulative Nature
VPT is cumulative and has no upper or lower bound. This means:
- You cannot directly compare VPT values from runs with different start dates
- Focus on direction and divergence, not levels
- The running total starts at 0 on the first bar of the run
Volume Data Quality
VPT is only as good as your volume data. Be careful with:
- Cryptocurrencies: Exchange volume can be inflated or manipulated
- Thinly traded stocks: Low volume makes VPT choppy
- After-hours trading: May be missing from some data sources
Period Selection
Because VPT is cumulative, it is more reliable on longer periods:
- Daily/weekly: Good for swing trading and position building
- Intraday: Can work, but expect more noise; consider more smoothing
Real-World Application: Accumulation Detection
One use of VPT is to detect institutional accumulation or distribution before the price confirms it:
Scenario: A stock trades sideways for weeks, but VPT steadily climbs.
Interpretation: The price is flat, but up bars carry more volume-weighted change than down bars. Someone may be accumulating, and the sideways pattern may break upward.
This is especially useful in:
- Crypto markets during consolidation phases
- Stocks before earnings announcements
- Sector rotation detection
Limitations
- Lagging indicator: Based on completed bars; it does not predict the first move
- No overbought/oversold levels: Unlike RSI, VPT does not tell you when an asset is "too high"
- Cumulative drift: Over very long runs, the level becomes less meaningful
- Volume dependency: Not useful for assets without reliable volume data
Missing Data
An empty bar in Price or Volume (closed-market weekend or holiday, missing data) gives an empty VPT bar. It is never filled:
| Scenario | Output |
|---|---|
| Closed-market gap | Empty at that bar. The next bar's price change is measured from the last available price (the real Friday→Monday move) |
| First bar with a price (no prior price to compare with) | Empty |
| Smoothing Factor warm-up (fewer VPT values so far than the Smoothing Factor) | Empty. No partial average is returned |
| All bars empty | Every output bar is empty |
VPT is cumulative: an empty bar adds nothing to the running total, which continues at the next valid bar. A bar whose previous price is zero is treated the same way, because its percentage change is undefined.
Further Reading
- Volume Price Trend - Investopedia
- Understanding Money Flow in Trading - CFI
- On-Balance Volume (OBV) - Investopedia
Indicator Assessment
%%{init: {'theme': 'base', 'themeVariables': { 'cScale0': '#2563eb', 'cScale1': '#7c3aed'}}}%%
quadrantChart
title VPT Indicator Assessment
x-axis Low Complexity --> High Complexity
y-axis Low Reliability --> High Reliability
quadrant-1 High Value
quadrant-2 Specialized
quadrant-3 Limited Use
quadrant-4 Accessible
Stocks: [0.35, 0.70]
Crypto: [0.35, 0.55]
| Dimension | Stocks | Crypto | Notes |
|---|---|---|---|
| Popularity | 7/10 | 6/10 | Well-known among volume analysts, but overshadowed by OBV due to its simpler formula |
| Reliability | 7/10 | 5.5/10 | Excellent in liquid markets with accurate volume; crypto volume reporting can be unreliable |
| Complexity | 3.5/10 | 3.5/10 | Simple idea (percentage change × volume), but you need to understand divergences to read it |
| Versatility | 7/10 | 6/10 | Works across periods and asset classes; most effective in trending markets |
| Recent Interest | 6/10 | 7/10 | Steady usage in traditional markets; growing interest in crypto for accumulation/distribution detection |