Volume Weighted Exponential Moving Average
May 21, 2020

The Volume Weighted Exponential Moving Average (VWEMA) indicator provides a dynamic trend-following tool that incorporates volume data into an exponential moving average calculation to better reflect market conviction and price action.
Usage
The VWEMA is primarily used to identify the prevailing trend while filtering out price fluctuations that occur on low relative volume. Because the indicator weights price by volume before applying an exponential decay, it reacts more quickly to price movements supported by high trading activity compared to a standard EMA.
Traders can utilize the VWEMA in several ways:
- Trend Identification: When the price remains above the VWEMA, the trend is considered bullish; when below, the trend is considered bearish.
- Dynamic Support and Resistance: In trending markets, the VWEMA often acts as a level of dynamic support or resistance where price may find a floor or ceiling.
- Alternative to VWAP: Unlike the standard Volume Weighted Average Price (VWAP) which often resets daily, the VWEMA provides a continuous rolling calculation suitable for long-term trend analysis.
- Crossover Signals: The script includes built-in alerts for price crossovers, which can signal potential entries or trend reversals when the price breaks through the volume-weighted average.
Details
The VWEMA calculation deviates from a standard moving average by multiplying the source price by the volume of each bar. This product is then smoothed using an exponential moving average (EMA) and subsequently divided by the EMA of the volume itself. This mathematical approach ensures that periods with higher trading activity have a greater impact on the indicator's trajectory.
A unique feature of this script is the "Simulative Volume" option. In markets where tick volume or actual volume data is unavailable or unreliable, the script calculates a synthetic volume proxy. This proxy is derived from the price range, specifically the absolute difference between the current and previous close, combined with the "wicks" of the candle (the distance between the high/low and the candle body). This ensures the tool remains functional across various asset classes and exchanges.
Settings
- Period: Determines the lookback window for the exponential smoothing. Higher values result in a smoother line that is less sensitive to short-term price changes.
- Simulative Volume: When enabled, the script calculates an internal volume proxy based on price volatility instead of using the exchange-provided volume data.
- Source: Defines which price data point is used for the calculation (e.g., HLC3, Close, Open).
- Offset: Allows the user to shift the indicator forward or backward on the horizontal axis.
FAQ
How does VWEMA differ from a standard Volume Weighted Moving Average (VWMA)? The standard VWMA uses a simple moving average (SMA) base, which can be prone to "barking" or lagging. The VWEMA uses an exponential calculation, providing a smoother output that reacts more efficiently to recent high-volume price shifts.
When should I use Simulative Volume? Simulative Volume is best used on instruments that do not provide real-time volume data, such as certain Forex pairs or Indices, or when you want to weight the average based on price volatility rather than raw transaction counts.
How can I access the Volume Weighted Exponential Moving Average? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

