Strategy library · Volume

VWMA 20 cross backtest on NQ and ES futures

VWMA 20 cross

Also called: volume weighted moving average strategy, VWMA crossover, VWMA 20 strategy, buy when price closes above the 20-bar volume-weighted moving average, short when price closes below the 20-bar volume-weighted moving average

What happens if you buy NQ every time price closes above the 20-bar volume-weighted moving average?

What it is

The volume-weighted moving average (VWMA, 20 periods) weights each close by its volume. This strategy goes long on a close above the VWMA, short on a close below it, and exits on the opposite cross.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the VWMA 20 cross strategy took 2,056 trades on the 15-minute chart, won 31.2% of them and finished 111.75 points ($2,235 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 1,047 long trades on the 15-minute chart won 33.8% and made 1,866.75 points ($37,335 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the VWMA 20 cross strategy took 2,100 trades on the 15-minute chart, won 31.1% of them and finished 56.00 points ($2,800 on one ES contract), before commission and slippage. The 5-minute, 1-hour and daily results for both markets are in the table on this page.

How it was tested

CE Market Solutions tested the VWMA 20 cross strategy on NQ (2024-10-08 to 2026-10-07) and ES (2024-08-28 to 2026-08-27) futures, before commission and slippage, with each signal filled at the next bar's open, intraday positions flat at 15:59 ET and textbook default indicator settings; the NQ trades are listed on this page and the ES trades under the ES tab.

See it tested with one change · $19

Tested by CE Market Solutions on 2026-10-26. The trades are listed below, one market at a time. Gross, no commission or slippage. Last 2 years.

Results

Rule as tested: Long on a close above the 20-bar volume-weighted MA; short below. Exit: Opposite cross.

TimeframeNQ · 2024-10-08 to 2026-10-07ES · 2024-08-28 to 2026-08-27
TradesWin %Avg ptsProfit factorNet ptsNet $ (1 NQ)Max DD ptsTradesWin %Avg ptsProfit factorNet ptsNet $ (1 ES)Max DD pts
5 minute535426.5%−0.230.988−1,249.00−$24,9805,820.25524527.0%0.091.022461.75$23,088610.00
5 minute · longs only267928.1%——1,015.75$20,3152,826.25262427.9%——419.50$20,975425.50
5 minute · shorts only267524.9%——−2,264.75−$45,2954,472.25262126.1%——42.25$2,113612.50
15 minute205631.2%0.051.002111.75$2,2354,033.25210031.1%0.031.00456.00$2,800908.50
15 minute · longs only104733.8%——1,866.75$37,3352,244.25107433.4%——344.25$17,213507.75
15 minute · shorts only100928.4%——−1,755.00−$35,1003,937.50102628.8%——−288.25−$14,412792.00
1 hour96341.2%−3.200.941−3,084.00−$61,6804,380.00102440.1%−1.130.897−1,156.75−$57,8371,521.50
1 hour · longs only51344.6%——−327.00−$6,5402,844.0054543.1%——−388.25−$19,412659.25
1 hour · shorts only45037.3%——−2,757.00−$55,1403,597.0047936.7%——−768.50−$38,4251,053.50
Daily7521.3%−57.460.770−4,309.75−$86,1957,625.755523.6%−12.250.799−674.00−$33,7001,230.00
Daily · longs only3829.0%——2,375.50$47,5103,314.752832.1%——501.25$25,063403.00
Daily · shorts only3713.5%——−6,685.25−$133,7057,302.502714.8%——−1,175.25−$58,7621,269.00

Free to use with credit to CE Market Solutions (CC BY 4.0).

NQ 15 minute: the equity line

VWMA 20 cross, NQ 15 minute, 2024-10-08 to 2026-10-07. Cumulative points after each trade; low −2,117.25, high 2,120.00, last 111.75.

Long and short

SideTradesNet pts
Long10471,866.75
Short1009−1,755.00

By month

MonthTradesNet pts
2024-1066428.75
2024-1190−311.50
2024-12691,798.75
2025-0193−1,504.50
2025-0277651.00
2025-0390238.50
2025-0495−728.00
2025-0590−1,376.75
2025-0690−105.25
2025-0787−65.75
2025-0890−738.25
2025-0979−308.00
2025-10761,185.50
2025-11671,822.75
2025-12117−1,748.25
2026-0183−369.00
2026-0270160.50
2026-0396913.75
2026-0474943.50
2026-0578118.75
2026-0681−128.50
2026-0791−188.50
2026-08106−455.50
2026-0988−263.75
2026-1013141.50
Every trade, NQ 15 minute2056 trades

Pick any of the 2056 charted trades with Previous, Next or a date, or click a row in the trades table below, to see it drawn on the real 1-minute bars. Drag the chart sideways to move through the sessions around it.

Chart unavailable. The trades are in the table below.

All trades (2056), newest first

Times are New York time; points are gross. Click a row to draw that trade in the chart above.

Session dateSideEntry (ET)Entry priceExit (ET)Exit priceExit reasonPoints
2026-03-25short13:0024422.5013:3024431.50opposite cross−9.00
2026-03-25long12:4524438.2513:0024422.50opposite cross−15.75
2026-03-25short11:1524386.5012:4524438.25opposite cross−51.75
2026-03-25long10:1524456.7511:1524386.50opposite cross−70.25
2026-03-25short09:4524451.5010:1524456.75opposite cross−5.25
2026-03-24short15:3024266.2515:5924219.25end of day 15:5947.00
2026-03-24long14:3024259.7515:3024266.25opposite cross6.50
2026-03-24short13:1524186.7514:3024259.75opposite cross−73.00
2026-03-24long11:1524311.7513:1524186.75opposite cross−125.00
2026-03-24short11:0024244.5011:1524311.75opposite cross−67.25
2026-03-24long10:4524250.0011:0024244.50opposite cross−5.50
2026-03-24short09:4524185.0010:4524250.00opposite cross−65.00
2026-03-23long14:4524505.0015:5924398.75end of day 15:59−106.25
2026-03-23short11:4524538.0014:4524505.00opposite cross33.00
2026-03-23long09:4524498.0011:4524538.00opposite cross40.00
2026-03-20short12:3024306.2515:5924113.50end of day 15:59192.75
2026-03-20long12:1524337.5012:3024306.25opposite cross−31.25
2026-03-20short10:0024285.7512:1524337.50opposite cross−51.75
2026-03-20long09:4524454.2510:0024285.75opposite cross−168.50
2026-03-19long15:0024508.7515:5924574.75end of day 15:5966.00
2026-03-19short14:4524428.0015:0024508.75opposite cross−80.75
2026-03-19long14:1524509.2514:4524428.00opposite cross−81.25
2026-03-19short13:0024454.5014:1524509.25opposite cross−54.75
2026-03-19long12:4524484.0013:0024454.50opposite cross−29.50
2026-03-19short12:3024470.5012:4524484.00opposite cross−13.50
2026-03-19long12:0024474.7512:3024470.50opposite cross−4.25
2026-03-19short11:3024461.7512:0024474.75opposite cross−13.00
2026-03-19long11:0024488.7511:3024461.75opposite cross−27.00
2026-03-19short10:3024426.5011:0024488.75opposite cross−62.25
2026-03-19long10:0024501.5010:3024426.50opposite cross−75.00
2026-03-19short09:4524432.5010:0024501.50opposite cross−69.00
2026-03-18short09:4524953.0015:5924651.50end of day 15:59301.50
2026-03-17short14:3025001.7515:5925010.25end of day 15:59−8.50
2026-03-17long14:0025034.2514:3025001.75opposite cross−32.50
2026-03-17short11:3025009.0014:0025034.25opposite cross−25.25
2026-03-17long09:4525061.7511:3025009.00opposite cross−52.75
2026-03-16short15:3024683.2515:5924670.25end of day 15:5913.00
2026-03-16long14:1524706.5015:3024683.25opposite cross−23.25
2026-03-16short13:4524675.0014:1524706.50opposite cross−31.50
2026-03-16long13:1524707.0013:4524675.00opposite cross−32.00
2026-03-16short12:0024675.0013:1524707.00opposite cross−32.00
2026-03-16long11:0024694.2512:0024675.00opposite cross−19.25
2026-03-16short10:4524644.7511:0024694.25opposite cross−49.50
2026-03-16long09:4524671.2510:4524644.75opposite cross−26.50
2026-03-13short10:1524667.0015:5924398.00end of day 15:59269.00
2026-03-13long09:4524769.5010:1524667.00opposite cross−102.50
2026-03-12short13:0024661.5015:5924555.25end of day 15:59106.25
2026-03-12long12:4524688.0013:0024661.50opposite cross−26.50
2026-03-12short09:4524765.5012:4524688.00opposite cross77.50
2026-03-11long15:4524976.0015:5924984.00end of day 15:598.00

← NewerPage 12 of 42Older →

Questions and answers

What happens if you buy NQ every time price closes above the 20-bar volume-weighted moving average?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the VWMA 20 cross strategy took 1,047 long trades, won 33.8% of them and made 1,866.75 points ($37,335 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made 1,015.75 points on 2,679 trades on the 5-minute chart, -327.00 points on 513 trades on the 1-hour chart and 2,375.50 points on 38 trades on the daily chart, before commission and slippage.

What happens if you short ES every time price closes below the 20-bar volume-weighted moving average?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the VWMA 20 cross strategy took 1,026 short trades, won 28.8% of them and made -288.25 points (-$14,412 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made 42.25 points on 2,621 trades on the 5-minute chart, -768.50 points on 479 trades on the 1-hour chart and -1,175.25 points on 27 trades on the daily chart, before commission and slippage.

Does the VWMA 20 cross strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the VWMA 20 cross strategy on the 15-minute chart took 2,056 trades, won 31.2% of them and finished 111.75 points ($2,235 on one NQ contract), before commission and slippage.

What is the win rate of VWMA 20 cross on ES futures?

The VWMA 20 cross strategy won 31.1% of its 2,100 trades on the ES 15-minute chart from 2024-08-28 to 2026-08-27, before commission and slippage. On ES from 2024-08-28 to 2026-08-27 it also won 27.0% of 5,245 trades on the 5-minute chart, 40.1% of 1,024 trades on the 1-hour chart and 23.6% of 55 trades on the daily chart, before commission and slippage.

Is the VWMA 20 cross strategy better on the 5-minute, 15-minute, 1-hour or daily chart for NQ?

On NQ from 2024-10-08 to 2026-10-07, the VWMA 20 cross strategy made -1,249.00 points on 5,354 trades on the 5-minute chart, 111.75 points on 2,056 trades on the 15-minute chart, -3,084.00 points on 963 trades on the 1-hour chart and -4,309.75 points on 75 trades on the daily chart, before commission and slippage.

Is it better to only buy or only sell VWMA 20 cross signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made 1,866.75 points on 1,047 trades (33.8% won) and the short trades made -1,755.00 points on 1,009 trades (28.4% won), before commission and slippage.

How many trades does the VWMA 20 cross strategy take on NQ in two years?

The VWMA 20 cross strategy took 2,056 trades on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 it also took 5,354 on the 5-minute chart, 963 on the 1-hour chart and 75 on the daily chart, before commission and slippage.

What is the max drawdown of the VWMA 20 cross strategy on NQ?

The VWMA 20 cross strategy had a max drawdown of 4,033.25 points ($80,665 on one NQ contract) on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 its max drawdown was also 5,820.25 points on the 5-minute chart, 4,380.00 points on the 1-hour chart and 7,625.75 points on the daily chart, before commission and slippage.

How does the VWMA 20 cross strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the VWMA 20 cross strategy took 2,100 trades, won 31.1% of them and made 56.00 points ($2,800 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the VWMA 20 cross strategy took 2,056 trades, won 31.2% of them and made 111.75 points ($2,235 on one NQ contract), before commission and slippage.

How these were run

  • Gross: no commission and no slippage.
  • The last 2 years of each market, from the first to the last session of its window.
  • A signal on a closed bar fills at the next bar’s open.
  • A stop and a target touched in the same minute count as the stop.
  • Intraday positions are flat at 15:59 ET.
  • Textbook TradingView default settings for every indicator; nothing is tuned.

Want your own rules tested the same way?