Positive Volume Index

The Positive Volume Index (PVI) mirrors the Negative Volume Index: a running index of the price that only moves on periods when the volume rises. On the same premise, that informed investors trade on quiet days and the crowd on busy ones, it follows the price changes on the busy days, when trading is driven by the crowd and its sentiment. Like the Negative Volume Index, it goes back to Paul Dysart and was developed into its common form by Norman Fosback.

The formula for the Positive Volume Index compounds the return of the close onto the index of the period before when the volume rose, and keeps the index unchanged when the volume fell or stayed the same:

\[\text{PVI} = \text{PVI}_{t-1} \cdot \left(1 + \left(\frac{\text{Close}}{\text{Close}_{t-1}} - 1\right)\right) \quad \text{if } \text{Volume} > \text{Volume}_{t-1}\] \[\text{PVI} = \text{PVI}_{t-1} \quad \text{if } \text{Volume} \leq \text{Volume}_{t-1}\]

The index starts at a base value, commonly 1,000, so only its direction and its level against its own history carry meaning. A PVI that rises shows that prices rise when the crowd is active; compared with the Negative Volume Index, it shows whether the moves of the market come from the busy days or the quiet ones. Like the NVI, it is read against its own long moving average.

It is a running total of the price changes on the periods volume falls (NVI) or rises (PVI).

Also known as: PVI.

In the Finance Toolkit this is get_volume_index with method="positive", the same function as Negative and Positive Volume Index.

Example · SPY, IWM · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_volume_index:

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["SPY", "IWM"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
    benchmark_ticker=None,
)

toolkit.technicals.get_volume_index(method="positive")

Which returns:

References

  • Paper Fosback, N.G. (1976). “Stock Market Logic: A Sophisticated Approach to Profits on Wall Street.” The Institute for Econometric Research.
Share