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

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 (5124 downloads)

**NinjaTrader 8:
**
Exponential VWAP Indicator for NinjaTrader 8 (5466 downloads)

## 7 comments

Skip to comment form

THANKS WILL TRY IT

Thanks.

will this work in ninjatrader 8?

Author

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.

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:

1-2(Period+1)

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

can i download

your chart in tradingvew???

Author

Unfortunately the indicator does not work in TradingView.