Finite Volume Elements (FVE)

Calculate Markos Katsanos’ Finite Volume Elements (FVE): the share of volume over a window classified as buying rather than selling, leaving out moves too small to matter, a measure of money flow.

Finite Volume Elements is a money flow indicator that classifies each period’s whole volume as buying, selling or neutral. It looks at both the intraday move (the close against the middle of the range) and the interday move (the change in the typical price), and leaves out periods whose combined move is smaller than a cutoff, so noise does not count as flow. The result is the net signed volume as a share of all volume over the window.

The formula is as follows:

\[\text{Typical Price} = \frac{\text{High} + \text{Low} + \text{Close}}{3}\] \[\text{Money Flow} = \text{Close} - \frac{\text{High} + \text{Low}}{2} + \text{Typical Price} - \text{Typical Price}(t-1)\] \[\text{Signed Volume} = + \text{Volume if Money Flow} > \text{cutoff} \cdot \text{Close},\;\; - \text{Volume if Money Flow} < - \text{cutoff} \cdot \text{Close},\;\; \text{else 0}\] \[\text{FVE} = \frac{\operatorname{Sum}(\text{Signed Volume},\; \text{window})}{\operatorname{Sum}(\text{Volume},\; \text{window})}\]

A rising FVE while price moves sideways points to accumulation ahead of a breakout, a falling one to distribution. As a share of volume it lies between -1 and 1 and is comparable across tickers.

Also known as: FVE, Finite Volume Elements.

Example · AAPL, MSFT · 2021 to 2025

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

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["AAPL", "MSFT"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.technicals.get_finite_volume_elements()

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

Was money flowing into or out of Apple and Microsoft in 2025, judging by their Finite Volume Elements?

Which returns:

Parameters

get_finite_volume_elements accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe time period to consider for historical data. Options are: “intraday” (intraday prices), “daily” (daily prices), “weekly” (weekly prices), “monthly” (monthly prices), “quarterly” (quarterly prices), “yearly” (yearly prices). Defaults to “daily”."weekly"
close_columnstrThe column name for closing prices in the historical data. Defaults to “Adj Close”, in which case the open, high and low prices are adjusted for dividends in the same way."Close"
windowintThe number of periods to sum the signed and total volume over. Defaults to 22, a month of trading days.20
cutofffloatThe share of the close the money flow needs to exceed to count, as a decimal. Defaults to 0.003 (0.3%).0.01
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise).2
growthboolWhether to calculate the growth of the indicator values. Defaults to False.True
lagint | list[int]The lag to use for the growth calculation. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

  • Paper Katsanos, M. (2003). “Detecting Breakouts.” Technical Analysis of Stocks & Commodities, 21(4).
  • Paper Katsanos, M. (2003). “Detecting Breakouts In Intraday Charts.” Technical Analysis of Stocks & Commodities, 21(9).
  • Library Referenced against finta’s FVE
Share