New: the Top 10 Non-Repainting MT4 Indicator Pack is free to download

98 free indicators for MetaTrader 4 & 5

VWAP Indicator MT4

Free VWAP indicator for MT4. Daily, weekly or monthly volume-weighted average price with standard deviation bands. Settings, strategy and install guide. Free download, link emailed in seconds.

MT4Non-repaintingTrend
Data Windowvwap-indicator-mt4
PlatformMT4 Build 600+
File.mq4 / .ex4 in .zip
Version1.0
Size3.8 KB
RepaintsNo
TypeTrend
UpdatedNov 22, 2026
DownloadsNew listing
Download free (3.8 KB)
  • Enter your email, the download link arrives in seconds
  • Free bonus reports on the next page

Indicators are analysis tools, not trade signals. Forex trading on margin carries a high risk of loss. Test on a demo account first.

EURUSD · H4 · previewVWAP Indicator MT4 v1.0
VWAP Indicator MT4 on EURUSD H4Non-repainting
How it works →
Overview

The VWAP indicator for MT4 plots the volume-weighted average price for the current day, week or month, resetting at the start of each new period. It also draws optional bands one and two standard deviations away, so you can see at a glance whether price is trading near its average or stretched far from it.

MetaTrader 4 has no built-in VWAP, which is why so many traders look for a custom one. This free version is short, readable code that calculates the session VWAP the standard way and works on any symbol and intraday timeframe.

What Is the VWAP Indicator?

VWAP stands for volume-weighted average price. It is the average price of a session where each bar’s price is weighted by how much volume traded on that bar. Bars with heavy activity pull the average toward their price more than quiet bars do. Because it resets at the start of each session, VWAP shows where the bulk of trading has happened so far in that day, week or month.

Intraday traders use VWAP as a fair-value reference. Price holding above a rising VWAP is often read as buyers in control for that session, and price holding below a falling VWAP as sellers in control. The standard-deviation bands help judge how far price has moved away from that average.

A note on volume in MT4

Spot forex has no central exchange, so MT4 cannot show true traded volume for currency pairs. What it provides is tick volume: the number of price changes during each bar. This indicator uses tick volume, because that is the only volume MT4 gives a custom indicator. Tick volume tends to rise and fall with real activity, but it is not the same thing as exchange volume, and VWAP values can differ slightly between brokers because each broker has its own price feed.

How it is calculated

For every bar, the indicator takes the price chosen in PriceType (typical price, (high + low + close) / 3, by default) and the bar’s tick volume. From the first bar of the period it keeps three running totals:

  • the sum of price × volume,
  • the sum of volume,
  • the sum of price² × volume.

VWAP is the first total divided by the second. The volume-weighted standard deviation is the square root of (sum of price² × volume ÷ sum of volume) minus VWAP². The bands are VWAP plus and minus Dev1 and Dev2 times that standard deviation. When a new day, week or month starts (using your broker’s server time), all three totals reset to the first bar of the new period. Daily periods follow server midnight, weekly periods run Sunday to Saturday, and monthly periods follow the calendar month.

Key Features

  • Daily, weekly or monthly anchored VWAP in one indicator.
  • Choice of seven price types, with typical price as the default.
  • Optional ±1 and ±2 standard-deviation bands, both multipliers adjustable.
  • Five plotted lines that show in the Data Window, so you can read exact values on any bar.
  • Incremental calculation: only the newest bar is recalculated on each tick, so it stays light even on M1 charts.

How to Trade With the VWAP Indicator

VWAP is a reference line, not an entry signal by itself. Two common approaches are trend pullbacks and mean reversion toward the average.

Trend pullback

  1. Note which side of the daily VWAP price is holding during the active session. Use a trading sessions indicator to see when London and New York open.
  2. If price is holding above a rising VWAP, wait for a pullback toward the VWAP line or the lower 1-SD band.
  3. Enter on a bullish confirmation candle as price rejects that area.
  4. Place the stop below the pullback low, or a short distance below the VWAP. For shorts, reverse the rules below a falling VWAP.

Mean reversion from the outer bands

  1. In a quiet, range-bound session, watch for price to reach the 2-SD band.
  2. Look for rejection: a long wick, an engulfing candle, or loss of momentum.
  3. Target a move back toward the 1-SD band or the VWAP itself.
  4. Avoid fading the bands on strong news days; in a real trend, price can walk along the outer band for hours.

VWAP also lines up well with other session levels. Confluence with daily pivot points or the previous day high and low gives you a better-defined area to trade from than any single line.

Best Settings

  • Day trading (M1 to M15): AnchorPeriod Daily, PriceType Typical, ShowBands true, Dev1 1.0, Dev2 2.0. This is the classic intraday setup.
  • Swing context (H1 to H4): AnchorPeriod Weekly gives an average for the whole trading week; Monthly suits position traders on H4.
  • Tighter bands: some traders prefer Dev1 0.5 and Dev2 1.0 on low-volatility pairs. Test it on your own symbol.

Use VWAP on timeframes below the anchor period. A daily VWAP on a D1 chart resets every bar, so it simply follows that bar’s price. Keep in mind that the daily reset follows your broker’s server time, which may not match the session you trade.

Does It Repaint?

No. The VWAP indicator is non-repainting. Each bar’s value depends only on that bar and the bars before it in the same period. While a bar is still forming, its VWAP and band values move with every tick, as any indicator’s current bar does. Once the bar closes, its values are fixed and are never recalculated. If you want the background on why this matters, read our guide on what repainting is.

How to Install

Download the free file, then in MetaTrader 4 open File > Open Data Folder > MQL4 > Indicators and copy vwap-indicator-mt4.mq4 into that folder. Restart the terminal or right-click Indicators in the Navigator and choose Refresh, and the indicator compiles and appears under Indicators > Custom. Drag it onto a chart and adjust the inputs in the window that opens. The full walkthrough, with fixes for common problems, is in our guide on how to install indicators in MT4. This is an MT4 file, so it will not load in MetaTrader 5 (the two platforms use different file formats), and the MT4 mobile apps cannot run custom indicators at all, as explained in our MT4 mobile indicators guide.

Related Indicators

Browse all day trading indicators for more intraday tools.

Trading on margin carries a high level of risk, so test any new tool on a demo account before you use it with real money.

VWAP Indicator MT4 on an EURUSD H4 MT4 chart

VWAP Indicator MT4 on a MetaTrader chart. Click to enlarge.

Repaint verdict: does not repaint. We read the source: every value is calculated on closed bars and never rewritten, so what you see in history is what you would have seen live.

Free pack

Get the Top 10 Non-Repainting Indicator Pack

Ten MT4 indicators that draw on closed bars only, in one zip with install notes for each.

Settings

Inputs, defaults and what they change

  • AnchorPeriod (default Daily) — When the VWAP resets: Daily, Weekly or Monthly. Weekly resets on the first bar of each Sunday-to-Saturday week in broker server time; Monthly resets on the first bar of each calendar month.
  • PriceType (default Typical price) — Price used for each bar: Close, Open, High, Low, Median (H+L)/2, Typical (H+L+C)/3 or Weighted (H+L+2C)/4.
  • ShowBands (default true) — Show the standard-deviation bands above and below the VWAP.
  • Dev1 (default 1.0) — Inner band distance in standard deviations.
  • Dev2 (default 2.0) — Outer band distance in standard deviations.
  • VwapColor (default Gold) — Color of the VWAP line.
  • Band1Color (default DodgerBlue) — Color of the inner bands.
  • Band2Color (default SlateGray) — Color of the outer bands.
Install

How to install it in MetaTrader 4

  1. Step 1Download and unzip

    Enter your email, open the download link we send you and extract the .mq4 / .ex4 file from the zip.

  2. Step 2Open the data folder

    In MetaTrader, go to File → Open Data Folder.

  3. Step 3Copy into Indicators

    Place the file in MQL4 → Indicators, then restart MetaTrader or refresh the Navigator panel.

  4. Step 4Attach it to a chart

    Find it under Navigator → Indicators and drag it onto any chart.

First time installing an indicator? Watch the 75-second video or follow the screenshots in our MT4 install guide: every click in MetaTrader, plus fixes for an indicator that won't show up.

Free forex calculators
FAQ

VWAP Indicator MT4 questions

No. MetaTrader 4 does not include VWAP among its built-in indicators, so you need a custom indicator such as this one. Copy the .mq4 file into MQL4 > Indicators, refresh the Navigator, and it appears under Custom.

In MT4, forex symbols only provide tick volume, the number of price updates per bar. This indicator weights prices by tick volume. It is a proxy for activity rather than true traded volume, so values can differ a little from broker to broker.

The daily VWAP resets on the first bar of each new day in your broker’s server time. The weekly option resets on the first bar of each Sunday-to-Saturday week, and the monthly option on the first bar of each calendar month, also in server time.

The bands sit a set number of volume-weighted standard deviations above and below the VWAP, 1 and 2 by default. They widen when prices in the session spread out and narrow when trading stays close to the average, which helps you judge how stretched price is.

Daily VWAP is mainly used on intraday charts from M1 to M30. Weekly and monthly VWAP can be used on H1 and H4. On a timeframe equal to or higher than the reset period, the line just follows each bar’s price and is not useful.

No. Closed bars keep their VWAP and band values permanently. Only the bar that is still forming updates with each tick, which is normal behavior for any indicator that uses the current bar.

VWAP Indicator MT4
Size
3.8 KB
Version
1.0
Repaints
No
Download free
Free packTop 10 Non-Repainting Indicators

Ten closed-bar MT4 indicators in one zip.

Get the pack

VWAP Indicator MT4Free · 3.8 KB

Download

Where should we email your download link?

Use an email you can check right now: the download link goes straight to this inbox.