Skip to content

    Volume Weighted Moving Average (VWMA): Formula, Worked Example and NSE Strategy

    Quick answer

    VWMA explained with a worked Reliance calculation, best NSE settings, signals, a Bank Nifty trade in rupees, and Indian F and O tax rules.

    19 June 2026
    14 min read
    2,606 words

    Key Takeaways

    • 1.VWMA weights each price by that period's traded volume, so heavy-volume candles move the line more than quiet ones. A plain SMA treats every day equally.
    • 2.In a real 5-day Reliance example below, the VWMA prints 2977.76 while the SMA prints 2968.00. The 9.76 point gap exists only because the two biggest up days carried the most volume.
    • 3.When VWMA rises above SMA, buyers are committing real volume to the move. When VWMA lags below SMA, the rally is thin and prone to fade.
    • 4.On NSE intraday, 20-period VWMA on 5-minute charts is a common setting. For positional swing trades on Nifty and Bank Nifty, 20 to 50 daily periods work better.
    • 5.F and O profits booked using VWMA signals are taxed as business income at your slab, not as capital gains. Equity delivery is STCG 20 percent or LTCG 12.5 percent above Rs 1.25 lakh.

    What VWMA Actually Measures

    The Volume Weighted Moving Average (VWMA) is a moving average that pays attention to how much was traded, not just at what price. A weighted moving average normally weights recent prices more heavily by time. VWMA instead weights each price by the volume that traded during that period. A candle where 15 lakh shares changed hands counts far more toward the average than a candle where only 4 lakh traded.

    This matters because volume is conviction. In Indian markets, a price move on the NSE or BSE on heavy delivery volume is usually backed by institutions, mutual funds and foreign investors committing real money. A move on thin volume is often just a few retail orders or a market-maker adjusting quotes. VWMA bakes that distinction into the trend line, so the line bends toward the prices where real money changed hands.

    Because of this, VWMA reacts faster than a Simple Moving Average (SMA) when a genuine, volume-backed breakout begins, and stays calmer than the SMA when price drifts on low volume. That single property, faster on conviction and slower on noise, is why traders use it over a plain SMA.

    The VWMA Formula in Plain Words

    The calculation has three steps and no calculus. For each period in your lookback window, you multiply the price by the volume. You then add up all those price-times-volume products. Separately you add up all the volumes. Finally you divide the first total by the second total. The result is the VWMA for that window.

    • Step 1: For every day (or candle) in the window, multiply price by volume to get a price-volume product.
    • Step 2: Add all those price-volume products together to get the numerator.
    • Step 3: Add all the volumes together to get the denominator.
    • Step 4: Divide the numerator by the denominator. That single number is your VWMA.

    Most traders use the closing price for the price input. You can instead use the typical price, which is high plus low plus close divided by three, if you want each candle's price to reflect its full range. The examples here use the closing price, the default on TradingView, Zerodha Kite and most Indian charting platforms.

    Worked Example: 5-Day VWMA on Reliance Industries

    Here is a fully worked, step-by-step VWMA calculation on Reliance Industries (RELIANCE), one of the most liquid stocks on the NSE. The five closing prices and daily volumes below are illustrative but sit in a realistic range for the stock. We will compute a 5-day VWMA and compare it to the plain 5-day SMA so you can see exactly why they differ.

    DayClose (Rs)Volume (shares)Price x Volume (Rs)
    Day 12,950.006,50,0001,91,75,00,000
    Day 22,965.009,20,0002,72,78,00,000
    Day 32,940.004,10,0001,20,54,00,000
    Day 42,980.0012,40,0003,69,52,00,000
    Day 53,005.0015,60,0004,68,78,00,000
    Total14,840.0048,00,00014,23,37,00,000

    Now apply the formula. The numerator is the sum of the price-volume products, which is Rs 14,23,37,00,000. The denominator is the total volume, which is 48,00,000 shares. Divide one by the other: 14,23,37,00,000 divided by 48,00,000 equals 2,977.76. That is the 5-day VWMA.

    Compare that to the Simple Moving Average. The SMA just averages the five closes: 2,950 plus 2,965 plus 2,940 plus 2,980 plus 3,005, divided by 5, which equals 2,968.00. The VWMA at 2,977.76 sits 9.76 points higher. Why? Because Day 4 and Day 5 were the two highest closes and carried the two largest volumes, 12.4 lakh and 15.6 lakh shares. VWMA gave those heavy up-days extra weight, pulling the average up. The SMA ignored volume and treated the quiet Day 3 dip the same as the heavy Day 5 surge.

    Read the gap, not just the line

    When VWMA pulls above the SMA, recent up-moves carried the volume, so buyers are in control. When VWMA sinks below the SMA, the down-days had the heavier volume, a warning that selling is the conviction side. The size of the gap tells you how lopsided the volume is.

    VWMA vs SMA vs VWAP: Which to Use When

    Three volume-and-average tools get confused constantly, and they are not interchangeable. The SMA ignores volume. The VWMA blends volume into a rolling moving average over any number of periods. The VWAP (Volume Weighted Average Price) is a single intraday figure that resets at the 9:15 am open each session and is the benchmark institutions measure their fills against.

    FeatureSMAVWMAVWAP
    Uses volumeNoYesYes
    Resets dailyNoNoYes, at 9:15 am open
    Best timeframeAnyAny (intraday and positional)Intraday only
    Typical useSmooth trendConviction-aware trendInstitutional fill benchmark
    Reacts to volume spikeNoYes, bends toward heavy candlesYes, anchors to heavy candles

    Practical rule for Indian traders: use VWAP for intraday entries and to judge whether you are buying above or below the day's fair value. Use VWMA for a multi-day trend filter that still respects volume. Use the plain SMA only when you deliberately want to ignore volume, such as on a noisy small-cap where reported volume is unreliable.

    Best VWMA Settings for NSE Stocks and Indices

    There is no single magic number, but Indian price action clusters around a few sensible defaults. For intraday trading on liquid names like Reliance, HDFC Bank, TCS or Infosys, a 20-period VWMA on the 5-minute chart tracks the session trend without whipsawing on every tick. For swing trading on the daily chart, a 20-day VWMA catches multi-week trends, and many positional traders run a 20-day and 50-day VWMA together and trade the crossover.

    • Intraday scalping, 5-minute chart: 9 to 20 period VWMA.
    • Intraday trend, 15-minute chart: 20 period VWMA.
    • Swing trading, daily chart: 20 to 50 period VWMA.
    • Positional and investing, daily chart: 50 to 100 period VWMA for the primary trend.
    • Index trading on Nifty and Bank Nifty: 20-day VWMA works as a clean trend filter because index volume is consistently deep.

    One India-specific warning: avoid short VWMA periods on illiquid mid-cap and small-cap stocks. When a counter trades a few thousand shares for an hour and then a single 50,000-share block prints, the VWMA jumps sharply on that one print and gives a false signal. On thinly traded counters, lengthen the period or use the SMA.

    Generating Buy and Sell Signals with VWMA

    The basic signals mirror any moving average. A buy signal appears when price closes above the VWMA, especially if the VWMA is turning up and the breakout candle carries above-average volume. A sell or exit signal appears when price closes back below the VWMA. The volume confirmation separates a VWMA signal from a plain SMA signal: a cross above VWMA on heavy volume is far more trustworthy than one on thin volume.

    SignalConditionStrength check
    Strong buyPrice closes above VWMA and VWMA is risingBreakout volume above 20-day average volume
    Weak buyPrice closes above VWMA but VWMA is flatVolume below average, wait for confirmation
    Strong sellPrice closes below VWMA and VWMA is fallingDown-day volume above average
    Trend filterKeep longs only while price stays above rising VWMAUse as a hold-or-exit rule, not an entry

    A popular two-line setup on the daily chart is the 20-day and 50-day VWMA crossover. When the faster 20-day VWMA crosses above the slower 50-day, recent volume-backed buying has overtaken the longer trend, a swing-long trigger. The reverse cross flags a swing-short or exit. Always confirm with the broader market: a Bank Nifty long during a falling Nifty is a lower-probability trade.

    A Bank Nifty Futures Trade Using VWMA, in Rupees

    Here is how a VWMA signal turns into a real F and O position with real costs. These numbers are illustrative and not a prediction. Suppose Bank Nifty futures are trading at 48,250 and price closes above your 20-period VWMA on rising volume, a long trigger. The Bank Nifty lot size is 30. You buy 2 lots, so your quantity is 30. Price runs to 48,680, then closes back below the VWMA, so you exit.

    • Entry: 48,250. Exit: 48,680. Move captured: 430 points.
    • Quantity: 15 per lot times 2 lots equals 30.
    • Gross profit: 430 points times 30 equals Rs 12,900.
    • Costs (illustrative, discount broker): brokerage Rs 40, STT on sell side about Rs 292, plus exchange, SEBI, stamp and GST together about Rs 105.
    • Total costs: roughly Rs 437.
    • Net profit: about Rs 12,463.

    The single largest cost here is STT, the Securities Transaction Tax, charged at 0.02 percent on the sell-side turnover of futures, roughly Rs 292 on this trade. This is why the VWMA exit rule matters: paying about Rs 437 in round-trip costs only makes sense if your average winning move comfortably clears that hurdle. A 430-point Bank Nifty win clears it easily, but a 20-point scalp on a single lot would not.

    Tax treatment of F and O

    Profit from futures and options in India is taxed as business income at your normal income tax slab rate, not as capital gains. There is no separate STCG or LTCG rate for F and O. Keep a tradebook, because turnover-based audit rules can apply. Equity delivery trades are different: STCG is 20 percent and LTCG above Rs 1.25 lakh is 12.5 percent.

    Combining VWMA with RSI and Volume Confirmation

    VWMA tells you the direction and conviction of the trend, but not whether price is stretched. Pairing it with the Relative Strength Index (RSI) covers that gap. A clean long setup is price above a rising VWMA with RSI between roughly 40 and 70, showing trend strength without being overbought. If price is above VWMA but RSI is already above 80, the trend is real but the entry is late and a pullback is likely.

    You can also stack VWMA with an explicit volume filter. Because VWMA already contains volume, the most useful add-on is the 20-day average volume line: only act on a VWMA breakout when that day's volume is above its 20-day average. This filters out the thin, low-conviction crosses that produce most false signals. For volatility context, Bollinger Bands around the VWMA show whether a breakout is expanding or fading.

    Limitations and False Signals to Respect

    VWMA is a lagging indicator. It turns after price has already moved, so it confirms trends rather than predicts them. Its biggest weakness in Indian markets is data quality on illiquid stocks. If a small-cap barely trades and then one large block crosses, the VWMA lurches toward that print and can flash a signal that vanishes next session. The fix is to apply VWMA only to liquid counters and indices where volume is continuous.

    • Lagging by nature: it confirms, it does not forecast.
    • Distorted by single large block trades on thin stocks.
    • Less useful in flat, rangebound markets where any moving average whipsaws.
    • Expiry-day volume spikes on F and O can briefly skew intraday VWMA, so widen your filters near weekly expiry.
    • Never trade a VWMA cross in isolation, always confirm with trend, volume and the broader index.

    On weekly-expiry days, index option and futures volume balloons in the final hour as positions roll. That surge can pull an intraday VWMA around unnaturally. Treat signals in the last 30 minutes of an expiry session with extra caution and lean on price structure rather than the moving average alone.

    Using VWMA in Risk Management

    Beyond entries, VWMA works well as a trailing exit rule. Stay long while price holds above a rising VWMA and exit the moment price closes decisively below it. This keeps you in volume-confirmed trends and pulls you out when conviction shifts to the sell side, without needing to predict the top. Combine this with proper position sizing so a single failed signal never costs more than a small, fixed percentage of your capital.

    For F and O specifically, set your stop using points and lot size before you enter. In the Bank Nifty example, a 430-point adverse move on 2 lots would mean a Rs 12,900 loss, the mirror of the profit. Decide that rupee risk is acceptable for your account first, then size the position. VWMA defines the trend, but position sizing and a hard stop define whether you survive the trades where the trend was wrong.

    Sources and Further Reading

    For authoritative data and contract specifications, refer to Zerodha Varsity, NSE India and NSE Indices. Always confirm current lot sizes, STT rates and tax rules on the official source before you trade, because SEBI and the Budget revise these periodically.

    Sources and Further Reading

    For authoritative data and further reading on this topic, refer to Zerodha Varsity, Investopedia, NSE India and NSE Indices (Nifty Indices). Always confirm current rules, rates and contract specifications on the official source before you trade.

    Related Topics

    VWMAVolume Weighted Moving AverageNSEBSEIndian stock markettechnical indicatorstrading strategies

    Related Articles

    OneTradeJournal

    The trading journal built for Indian F&O traders. Track your trades, spot patterns, build discipline.

    • Log one trade a day by hand, on purpose
    • AI mentor finds your repeat mistakes
    • Behavioural analytics catch tilt early
    • Trading calendar with P&L heatmap
    • Pre-trade checklist flags risks
    Start journaling

    Yearly ₹2,499 · No broker credentials