Exponential VWAP Indicator

3.9/5 - (8 votes)

Two of the most common indicators I see used by traders are the EMA (Exponential Moving Average) and VWAP (Volume Weighted Average Price). Typically, traders prefer the EMA to a standard moving average because it will react faster to price movements, causing less lag than a standard moving average. Because the VWAP indicator uses a standard average calculation, we can remove some of the lag in this indicator by simply making it use an exponential formula. Our new Exponential VWAP indicator does just that, removing the lag that is present in standard VWAP indicators!

VWAP Indicator Comparison

vwap indicator

The chart above shows three moving averages, all of which are set to use a period of 30 bars for their calculations. The EMA appears to have the most lag, and is the only indicator that does not take volume in to account. The VWAP (or VWMA) looks to have less lag than the EMA, and the Exponential VWAP has the least lag of all three indicators. Are you intrigued?

Download Now:

Click the link below to download our Free Exponential VWAP indicator for NinjaTrader. The download contains unlocked code, so you are able to easily modify it as needed. If you need assistance modifying the code, please contact our very experienced NinjaTrader programmer .

NinjaTrader 7:
Exponential VWAP Indicator for NinjaTrader 7 (6125 downloads)

NinjaTrader 8:
Exponential VWAP Indicator for NinjaTrader 8 (6722 downloads)




Skip to comment form

    • denis poirier on September 26, 2016 at 8:35 pm
    • Reply


    • Frank van de Zanden on December 26, 2016 at 5:01 pm
    • Reply


    • jamie on June 22, 2017 at 8:25 am
    • Reply

    will this work in ninjatrader 8?

    1. The indicator is not yet available for NinjaTrader 8. If you join our mailing list, you will receive notification as soon as it is available.

  1. Thank you very much for such a great work. This is by far the best moving average I have ever used.

    I would like to make my own version of this indicator in Python. Does anybody knows how to calculate the exponential VWAP?

    I am asking because I am a beginner C# programmer so even though I opened the NinjaScript code of this indicator, still I couldn’t figure it out. There are two particular lines I don’t understand:

    alpha = 1-2/((double)Period+1);

    I guess this is defining alpha as a constant of double precision type which is always going to contain the result of this mathematical operation:


    I guess, but I am not certain about it.

    On top of that there is the fact that the indicator has one plot defined this way:

    AddPlot(Brushes.Blue, “VWEMA”);

    But the plot VWEMA[0] never gets a value, still it draws the indicator on the chart. To me, it looks like magic.

    So I gave up and I am looking for the formula to calculate the Exponential VWAP so I can make my own version of this indicator in Python.

    Any help would be greatly appreciated.

    Ivan Gil

    • alberto carbone on July 16, 2020 at 12:46 pm
    • Reply

    can i download
    your chart in tradingvew???

    1. Unfortunately the indicator does not work in TradingView.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.