Elastic Volume Weighted Moving Average

The Elastic Volume Weighted Moving Average (EVWMA) of Christian Fries (2001) moves the average towards each close by the share of the volume that traded in that period, so a period of heavy trading moves it much more than a quiet one.

The formula for the Elastic Volume Weighted Moving Average first sums the volume over the last n periods:

\[\text{Volume Sum} = \sum_{i=0}^{n - 1} \text{Volume}_{t-i}\]

Each period then moves the average of the period before towards the close by that period’s share of the volume sum:

\[\text{EVWMA} = \frac{(\text{Volume Sum} - \text{Volume}) \cdot \text{EVWMA}_{t-1} + \text{Volume} \cdot \text{Close}}{\text{Volume Sum}}\]

Where Volume(t-i) is the volume i periods ago and EVWMA(t-1) the average of the period before. Fries divides by the number of shares outstanding instead, which makes the average an estimate of the price the holders of those shares paid on average; the volume over n periods stands in for it. The EVWMA does not move in a period without volume, however far the price moves.

A moving average smooths the price by averaging it over the last n periods, so that the trend shows through the noise of single periods. It is the oldest and most widely used trend indicator: the direction of the average shows the direction of the trend, the price above (below) it an uptrend (downtrend), and other indicators, from the MACD to the Bollinger Bands, are built on it. Every moving average trades smoothness against lag: the more periods it averages, the smoother it is and the later it turns after the price. The averages differ in how they weight the prices within the window and whether they adapt their speed to the market, each a different answer to that trade-off.

Also known as: EVWMA, eVWMA.

In the Finance Toolkit this is get_moving_average with method="elastic_volume_weighted", the same function as Moving Average.

Example · ^GSPC · 2021 to 2025

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

from financetoolkit import Toolkit

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

toolkit.technicals.get_moving_average(method="elastic_volume_weighted", window=50)

Which returns:

References

  • Paper Fries, C.P. (2001). “Elastic Moving Averages.” Technical Analysis of Stocks & Commodities, 19(6), 52-56 (https://www.christian-fries.de/evwma/).
  • Library Referenced against finta’s EVWMA (Elastic Volume Weighted Moving Average)
Share