What is VWAP? The VWAP indicator explained

By Oalgo · Last reviewed

The VWAP indicator (Volume Weighted Average Price) is the average price since the day began, where each candle counts in proportion to its volume. It restarts at the start of every day and has no setting to choose.

Chart: three days of example prices with VWAP drawn over them and the volume of each candle below. VWAP starts again at the first candle of each day.PriceVWAPDay 1Day 2Day 3Volume
Example prices and volumes, made up for this page. Each day has 40 candles.

How is VWAP calculated?

#
  • For each candle, take the typical price: (high + low + close) ÷ 3.
  • Multiply the typical price by the candle's volume.
  • Add those products up from the first candle of the day to the current candle. Add the volumes up the same way.
  • VWAP = the sum of price × volume ÷ the sum of volume.
  • At the first candle of the next day both sums start again from zero.

What does a worked example look like?

#
CandleTypical priceVolumeVWAP so far
110010100
210410102
310160101.25
410620102.2

After candle 4 the plain average of the four typical prices is 102.75. VWAP is 102.2, because candle 3 had the most volume and its price counts for more.

How do you read VWAP?

#
What you seeWhat it suggests
Price above VWAPPrice is above the volume-weighted average of the day so far.
Price below VWAPPrice is below the volume-weighted average of the day so far.
Price crosses VWAPPrice has moved from one side of the day's average to the other.
The first candles of a dayVWAP is close to the typical price of those few candles, so it moves a lot. It settles as the day goes on.

VWAP adds up the whole day, so each new candle moves it less. Late in the day one more candle hardly changes it.

Which candle length does VWAP need?

#

VWAP restarts on each new calendar day of the candle times. With candles of one day or longer, every candle is a day of its own, so VWAP is just that candle's typical price and adds nothing. It is made for shorter candles, such as 1 hour or 15 minutes. The timeframe page explains candle length.

How do people use VWAP in rules?

#
  • Allow entries only while price is above VWAP, or only while it is below it.
  • Enter when price crosses back above VWAP after being below it, and exit when it crosses below.
  • Enter when price is a set percentage below VWAP, aiming for a move back toward it.
  • Compare it with a moving average. A moving average treats every candle the same and runs on across days. VWAP weights by volume and restarts each day.

What can VWAP not tell you?

#

VWAP is an average of what has already happened that day. It does not say where price will go next, and a cross of VWAP is not a turning point by itself. Its value depends on where the day starts, so the same prices give a different line if the day boundary moves. Test any VWAP rule on past prices with a backtest, then forward test it.

In Oalgo you can tell Oalgo AI your VWAP rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

Read next