VWAP + SMA + EMA
Jul 23, 2019

The VWAP + SMA + EMA indicator provides a streamlined combination of trend-following and volume-weighted average price tools designed for both swing and intra-day trading analysis.
Usage
This tool integrates three distinct technical indicators into a single overlay to help traders identify trend direction and potential mean reversion points.
- VWAP & Deviations: The primary blue line represents the Volume-Weighted Average Price, reset daily. The accompanying upper and lower bands act as dynamic support and resistance levels based on a user-defined deviation setting.
- EMA (Exponential Moving Average): Typically used for identifying short-term momentum. Traders can monitor crossovers between price and the EMA or between the EMA and SMA.
- SMA (Simple Moving Average): Often used for long-term trend identification. When the price or the shorter EMA is above the SMA, it suggests a bullish environment, while the opposite indicates a bearish one.
Details
The script calculates VWAP by accumulating volume and price data starting from each new daily session. This ensures that the VWAP calculation reflects the current day's trading activity. The EMA and SMA components follow standard mathematical formulas to smooth price data over their respective lookback periods. The script also includes built-in alert conditions for price crossing the VWAP and for EMA/SMA crossovers, allowing for automated monitoring.
Settings
- VWAP Deviation: Adjusts the multiplier for the upper and lower standard deviation bands around the VWAP.
- EMA Length: Sets the lookback period for the Exponential Moving Average calculation.
- SMA Length: Sets the lookback period for the Simple Moving Average calculation.
FAQ
How do I use the VWAP bands?
The bands can be used to identify overextended price movements. Prices reaching the upper band may indicate an overbought condition, while the lower band may indicate an oversold condition relative to the day's volume-weighted average.
What do the alerts notify me about?
The indicator triggers alerts for EMA/SMA crossovers and when the price crosses the central VWAP line, helping you stay informed of potential trend shifts.
How can I access the VWAP + SMA + EMA indicator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.