Skip to content
Wildflower
Join free
The strategy library

Free Trading School · Level 3 · Course 3.2

Build a VWAP reversion

Lesson 164 of 179 in The strategy libraryModule 29: Do it in Wildflower

The strategy library · Do it in Wildflower

Build a VWAP reversion

Wildflower Trading School · Lesson 3.2.29.11 · This exercise is free

Wildflower

Same goal as every lesson in this set: a setup card for every setup you trade: described in your own words in Wildflower, every number yours, one box tried three ways on the practice chart, and compared with a plain entry. By the end of today, you'll have Sam's VWAP card filled in, and your own saved in Wildflower.

1 of 13

What you'll learn

  • Describe your VWAP reversion in words from Strategies, then New strategy.
  • Read the bands back on Check my rules, to see VWAP bands, and the candle inside them.
  • Try three band widths with Help me choose, then Try a few.
  • Losing less than a plain entry is still losing.
  • Compare with a plain 10:00 buy on the same days, after fees.

Exercise

This exercise is free.

  1. Start a new setup card: copy the seven lines above onto paper or into a note.
  2. Open Strategies and press New strategy.
  3. Describe your VWAP reversion in your own words: buys, sells or both, the band width, your stop, target, risk and hours. Answer every question, then press Check my rules.
  4. Read the bands back, and fill in lines 1, 2 and 4.
  5. Open your strategy in Strategies and press Change a rule. Press the Signal step and click into Band width (standard deviations from VWAP).
  6. Press Help me choose, type three widths under Try a few, and press Run.
  7. Make the plain entry. On your strategy press Change a rule. On the Signal step press ⋯, then Change, and pick Signal at a clock time. Type 600 in Time of the signal, pick Always a long, and press Save. Run it in Backtest on the Practice chart, and that's your line 5.
  8. Fill in lines 6 and 7. Take about $8 a trade off Try a few's profit for fees.

Quick check

  1. 1. Why did bands 3 wide give only 13 trades?

  2. 2. Every width beat the plain buy. Did any make money after fees?

  3. 3. Width 1 lost $272 before fees on 61 trades. About what is that after fees?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Build a value area trade” is waiting next time.

Read the full notes

VWAP is the day's average price, weighted by volume, and its bands sit a number of standard deviations either side. A VWAP reversion buys when price stretches outside a band and closes back inside. In Wildflower, open Strategies, press New strategy and describe it in your own words: buys only, the band width, and your stop, target, risk and hours. Wildflower builds it as an Indicator signal on VWAP bands. Press Check my rules, then Change a rule, open the Signal step, click into Band width and try three widths with Try a few on the free practice chart.

What you're building. These lessons share one goal: a setup card for every setup you trade: described in your own words in Wildflower, every number yours, one box tried three ways on the practice chart, and compared with a plain entry. Today you start a new card for a VWAP reversion. Last lesson traded the opening gap; next lesson trades yesterday's value area.

Copy these seven lines onto paper or into any note. Today you fill in lines 1, 3 and 6 are new; the others work as before.
My setup card
1. The setup: … (what price must do, and where)
2. Its clock or its levels: …
3. The box I test: …, tried at …, … and …
4. Stop … ticks, target … times the stop, $… a trade, … to … New York
5. A plain entry at 10:00 each day, same stop and target: … trades, $… after fees
6. What the test showed: … trades, … won, $… after fees
7. My pick, and why: …

Why. Sam is made up, and so are his numbers. They're real runs of Wildflower's engine on the free practice chart's made-up prices. With bands 1 standard deviation wide, his reversion lost $272 before fees; 3 wide, it lost $956. A plain 10:00 buy lost $1,764. How it works: What VWAP is and why traders watch it and The idea of reverting to VWAP.

The Strategies page with New strategy circled
Open Strategies and press New strategy.
Sam's words: buys only, buy when a candle closes back inside the VWAP bands, 2 standard deviations wide
Example screen. Made-up numbers.Type your setup in your own words. Describing a new strategy is free three times a month without a paid plan. Change a rule never counts.
Check my rules: Which indicator: VWAP bands; Width: 2; What must be true of it: The candle inside the bands
Example screen. Made-up numbers.The bands, read back. The signal comes on the candle that closes back inside.
Sam's gold VWAP reversion, Version 1, with Change a rule circled
Open your strategy and press Change a rule.
The Signal step's Band width box, set to 2
Example screen. Made-up numbers.Press the Signal step, then click into Band width (standard deviations from VWAP).
Try a few with 1, 2 and 3: 61, 51 and 13 trades, profit before fees −$272, −$1,064 and −$956
Example screen. Made-up numbers.Press Help me choose, type three widths under Try a few and press Run. Nothing is saved.
Sam's runs on the practice chart, made-up prices. Practice prices trend more than real gold, so these numbers show how it works, not how gold behaves.
RunTradesWonBefore feesAfter feesLargest drop
Plain 10:00 buy7724 (31.2%)−$1,764−$2,353.82−$2,512
Band width 16121 (34.4%)−$272−$739.26−$1,920
Band width 25116 (31.4%)−$1,064−$1,454.66−$1,524
Band width 3133 (23.1%)−$956−$1,055.58−$1,104

The plain buy. Sam's setup buys only, so the first row does too: Signal at a clock time, 10:00 New York each day, Always a long, same stop, target, risk and hours. Every band width lost less than it, and every one still lost money. Both go on line 7.

How traders set a VWAP reversion. We can't tell you which to choose. These are the common choices. Bands 1 to 3 standard deviations wide. An Indicator condition filter so buys come only below VWAP, since a close back inside counts from either band. And an exit back at VWAP with the condition exit, instead of a fixed target.

Worked example

Made-up numbers

Sam's VWAP card

Sam is made up. $20,000 account, micro gold at $1 a tick for each contract, $200 a trade with a 40-tick stop, 4 contracts.

  1. Line 1: buys only, on the first close back inside the VWAP bands.
  2. Line 3: Band width, tried at 1, 2 and 3.
  3. Line 6: at 1, 61 trades and 21 won. −$272 before fees, minus about $8 × 61 = $467 in fees, is −$739 after.

Line 7 is Sam's own pick. He writes that it beat the plain buy but lost at every width, so he'll test the VWAP filter before anything else. Made-up prices, an example, not advice.

Trading is risky. You can lose money. This lesson shows how Wildflower works. It isn't advice.