Systemicbeta

Volume Price Trend

systemic:core-vptIndicators

Inputs

NameTypeDescription
Smoothing FactorWhole numberThe number of bars in the moving average that smooths the raw VPT.
PriceNumber seriesThe price series of the asset, usually the closing price of each bar.
VolumeNumber seriesThe trading volume of each bar: the number of shares, contracts or tokens traded.

Outputs

NameTypeDescription
VPTNumber seriesThe cumulative Volume Price Trend at each bar, smoothed if a Smoothing Factor is set.

Cost

7
credits per run
1,000
bars

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

VPTt=VPTt−1+Vt×Pt−Pt−1Pt−1VPT_t = VPT_{t-1} + V_t \times \frac{P_t - P_{t-1}}{P_{t-1}}

Where:

  • VPTtVPT_t = Volume Price Trend at time tt
  • VPTt−1VPT_{t-1} = Previous VPT value (the running total starts at 0)
  • VtV_t = Current bar's volume
  • PtP_t = Current closing price
  • Pt−1P_{t-1} = Previous closing price

The term Pt−Pt−1Pt−1\frac{P_t - P_{t-1}}{P_{t-1}} 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:

DateClose ($)VolumePrice Change (%)Volume × ChangeCumulative VPT
Dec 22270.97———empty (no prior price)
Dec 23272.3629,641,999+0.513%+152,055+152,055
Dec 24273.8117,910,574+0.532%+95,353+247,408
Dec 26273.4021,521,802−0.150%−32,227+215,182

Calculation for Dec 23:

VPT=0+29,641,999×272.36−270.97270.97=29,641,999×0.0051297=152,055VPT = 0 + 29{,}641{,}999 \times \frac{272.36 - 270.97}{270.97} = 29{,}641{,}999 \times 0.0051297 = 152{,}055

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 TypePrice ActionVPT ActionSignal
BullishMaking lower lowsMaking higher lowsSelling exhaustion → potential reversal up
BearishMaking higher highsMaking lower highsBuying 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 WithPurpose
ADX (Average Directional Index)Confirm trend strength. ADX > 25 + rising VPT = strong trend
Moving Average CrossoversValidate breakouts. 20-day crosses 50-day + VPT rising = confirmed
RSIFilter 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:

ScenarioOutput
Closed-market gapEmpty 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 emptyEvery 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


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]
DimensionStocksCryptoNotes
Popularity7/106/10Well-known among volume analysts, but overshadowed by OBV due to its simpler formula
Reliability7/105.5/10Excellent in liquid markets with accurate volume; crypto volume reporting can be unreliable
Complexity3.5/103.5/10Simple idea (percentage change × volume), but you need to understand divergences to read it
Versatility7/106/10Works across periods and asset classes; most effective in trending markets
Recent Interest6/107/10Steady usage in traditional markets; growing interest in crypto for accumulation/distribution detection
Rendering diagrams...
© 2026 WanoLabs. All rights reservedBeta v0.1.5