VWAP (volume weighted average price) is the average price of a market over a session, weighted by how much volume traded at each price. It is calculated as cumulative typical price times volume divided by cumulative volume, and it resets at the start of each session. Traders use it as an intraday fair-value line and trend filter.
VWAP is one of the most widely watched intraday lines in stocks and futures, and forex traders have adopted it too. MetaTrader 4 does not include a VWAP indicator by default, so you need a custom one. This guide explains what VWAP is, the formula, how session resets and bands work, what anchored VWAP is, and the one caveat every forex trader should know: MT4 uses tick volume.
What Is VWAP?
A simple moving average treats every bar the same. VWAP does not. A bar with heavy volume pulls the VWAP line toward its price much more than a quiet bar. The result answers one question: what is the average price everyone who traded today has paid?
That is why VWAP is often read as a fair value line for the session:
- Price above VWAP means buyers have been in control on average. Intraday traders often prefer long setups there.
- Price below VWAP means sellers have been in control. Short setups are preferred.
- Price chopping around VWAP suggests a balanced, range-bound session.
The VWAP Formula
VWAP is built in four steps for each bar of the session:
- Typical price = (High + Low + Close) / 3
- Price-volume = Typical price × Volume
- Add up price-volume and volume from the first bar of the session to the current bar.
- VWAP = Cumulative (Typical price × Volume) / Cumulative Volume
| Term | Meaning |
|---|---|
| Typical price | (H + L + C) / 3 of each bar |
| Volume | Volume of each bar (tick volume in MT4) |
| Cumulative | Running total since the session or anchor start |
| VWAP | Σ(TP × V) / ΣV |
Because it is a running total, VWAP moves a lot early in the session and becomes steadier as more bars are added. Late in the day, a single bar has little effect on it.
Session Reset: Daily, Weekly and Monthly VWAP
Standard VWAP resets at the start of each session, so each day starts a new line. In stocks, the session is the exchange’s trading day. In forex the market trades around the clock, so a “day” is usually defined by your broker’s server time and the daily candle open. That means two brokers on different server times can show slightly different VWAP lines.
Many VWAP indicators also let you reset weekly or monthly. A weekly VWAP is useful for swing traders who want to know the average price of the week so far, and a monthly VWAP gives a longer-term reference.
VWAP Bands
Many VWAP tools draw bands above and below the line, similar to Bollinger Bands. The bands are usually set at one, two or three standard deviations of price around VWAP. Implementations differ slightly in how they calculate that deviation, so band values can vary between indicators.
- Price near the outer bands is stretched away from the session average.
- In a range-bound session, traders watch the outer bands for possible fades back toward VWAP.
- In a trending session, price can ride the first band for a long time, so fading it is a counter-trend trade.
Anchored VWAP
Anchored VWAP starts the calculation from a point you choose instead of the session open. The formula is the same; only the starting bar changes. Common anchor points are:
- A major swing high or swing low
- The candle of a central bank decision or other high-impact release
- The start of the week or month
- A breakout from a range
An anchored VWAP from a swing low shows the average price paid by everyone who bought since that low. If price falls back below it, those buyers are, on average, underwater. Our VWAP Custom Position indicator for MT5 works this way, with a draggable anchor arrow that sets the start point on the chart.
The Forex Caveat: MT4 Uses Tick Volume
Spot forex has no central exchange, so there is no single record of how many units of a currency pair traded. MetaTrader shows tick volume instead: the number of price changes (ticks) your broker’s feed recorded during each bar.
What that means for VWAP in MT4:
- VWAP in forex is weighted by activity, not by real traded volume.
- Tick volume comes from your broker’s feed, so it can differ from broker to broker.
- Tick activity tends to rise when markets are busy, so it is often used as a rough stand-in for participation. Treat it as an approximation.
VWAP is still useful in forex as a session-average reference line. Just do not read it as an exact measure of where institutional money traded. If you want to look at activity directly, the Volume MA indicator plots tick volume with a moving average.
How to Trade With VWAP
1. Trend filter
Only look for longs while price holds above a rising VWAP, and only shorts below a falling VWAP. This keeps intraday trades on the side of the session’s average buyer or seller.
2. Pullbacks to VWAP
In a trending session, price often pulls back to VWAP before continuing. Traders look for a rejection candle at the line, with a stop beyond the recent swing.
3. VWAP reclaim or loss
When price has been below VWAP and closes back above it, some traders treat that as a shift in control, and the reverse when price loses VWAP.
4. Combine with levels and sessions
VWAP works well alongside daily levels like pivot points and the previous day high and low. Session timing matters too: the Trading Sessions indicator shows when the London and New York sessions start, which is when tick activity usually picks up.
VWAP vs Moving Average
| VWAP | Moving average | |
|---|---|---|
| Weighting | By volume | Equal (SMA) or by recency (EMA) |
| Lookback | From session start or anchor | Fixed number of bars |
| Resets | Yes, each session | No |
| Best for | Intraday fair value | Trend on any timeframe |
Limitations of VWAP
- It lags. VWAP is an average of everything since the session start, so it reacts slowly to late-session reversals.
- Early-session noise. In the first bars of a new session there is little data, and the line can swing sharply.
- Session definition matters. In forex, the reset time depends on your broker’s server clock, so a VWAP from one platform may not match another.
- Tick volume, not real volume. As covered above, MT4 VWAP on currency pairs is an approximation of participation.
- Less useful on higher timeframes. A daily-reset VWAP on an H4 chart has only a handful of bars per session. Use weekly, monthly or anchored VWAP for longer views.
None of this makes VWAP useless. It simply means VWAP works best as context, combined with price structure and your own entry rules, rather than as a stand-alone buy or sell signal.
How to Add VWAP to MT4
Because MT4 has no built-in VWAP, download our free VWAP indicator for MT4, copy the file into File > Open Data Folder > MQL4 > Indicators, and restart MT4 or right-click Indicators > Refresh in the Navigator. Full steps are in our guide on how to install indicators in MT4. MT4 files do not run on MT5, so MT5 users should use the MT5 VWAP indicator instead.
VWAP is a reference line, not a signal on its own. Test any VWAP rules on a demo account first, and remember that trading on margin carries a high level of risk.
More volume-based tools are listed under volume indicators, and intraday tools under day trading indicators.
Frequently asked questions
What does VWAP mean in trading?
VWAP stands for volume weighted average price. It is the average price of the session weighted by volume, so bars with more trading activity count more. Traders use it as an intraday fair value and trend reference.
How is VWAP calculated?
For each bar, multiply the typical price (high + low + close divided by 3) by the bar's volume. Add those values up from the session start and divide by the cumulative volume. The result is the VWAP for the current bar.
Does MT4 have a VWAP indicator?
No, MT4 does not include VWAP among its built-in indicators. You can add it as a custom indicator, such as our free VWAP indicator for MT4.
Does VWAP work in forex?
It can be used, but with a caveat. Spot forex has no central exchange, so MT4 uses tick volume (the number of price changes) instead of real traded volume. VWAP in forex is therefore weighted by activity and is best treated as an approximate session average.
What is anchored VWAP?
Anchored VWAP uses the same formula but starts from a bar you choose, such as a swing low, a swing high or a news event, instead of the session open. It shows the average price paid by everyone who traded since that point.
What timeframe is best for VWAP?
Session VWAP is mainly an intraday tool, so it is most often used on M1 to H1 charts. Weekly, monthly and anchored VWAP can be useful on higher timeframes for swing trading.
