Strategy library · Popular combos

EMA 9/21 cross with a VWAP filter backtest on NQ and ES futures

EMA 9 / 21 with a VWAP filter

Also called: EMA cross VWAP filter, 9 21 EMA and VWAP strategy, EMA crossover with VWAP, buy when the 9 EMA crosses above the 21 EMA while price is above VWAP, short when the 9 EMA crosses below the 21 EMA while price is below VWAP

What happens if you buy NQ every time the 9 EMA crosses above the 21 EMA while price is above VWAP?

What it is

This is the EMA 9/21 cross with a VWAP filter: longs only when price is above the session VWAP and shorts only when it is below. It exits on the opposite cross.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the EMA 9/21 cross with a VWAP filter strategy took 528 trades on the 15-minute chart, won 42.2% of them and finished 1,068.50 points ($21,370 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 279 long trades on the 15-minute chart won 44.4% and made -150.50 points (-$3,010 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the EMA 9/21 cross with a VWAP filter strategy took 587 trades on the 15-minute chart, won 41.7% of them and finished 13.50 points ($675 on one ES contract), before commission and slippage. The 5-minute and 1-hour results for both markets are in the table on this page.

How it was tested

CE Market Solutions tested the EMA 9/21 cross with a VWAP filter 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: MA04, but longs only above VWAP and shorts only below it. 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 minute110634.7%1.841.0542,032.25$40,6453,115.00113037.5%0.711.105806.25$40,313402.50
5 minute · longs only58836.6%——1,589.75$31,7952,329.5060039.0%——698.00$34,900290.75
5 minute · shorts only51832.6%——442.50$8,8502,654.0053035.9%——108.25$5,413310.00
15 minute52842.2%2.021.0451,068.50$21,3703,388.7558741.7%0.021.00213.50$675608.75
15 minute · longs only27944.4%——−150.50−$3,0102,504.7529442.2%——61.00$3,050466.50
15 minute · shorts only24939.8%——1,219.00$24,3801,760.5029341.3%——−47.50−$2,375308.00
1 hour19744.7%12.521.2612,467.25$49,3451,645.0020749.3%1.891.186391.75$19,588474.25
1 hour · longs only9350.5%——1,232.75$24,655747.009551.6%——273.50$13,675212.50
1 hour · shorts only10439.4%——1,234.50$24,6901,131.0011247.3%——118.25$5,913326.50

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

NQ 15 minute: the equity line

EMA 9 / 21 with a VWAP filter, NQ 15 minute, 2024-10-08 to 2026-10-07. Cumulative points after each trade; low −190.75, high 4,094.50, last 1,068.50.

Long and short

SideTradesNet pts
Long279−150.50
Short2491,219.00

By month

MonthTradesNet pts
2024-1018296.50
2024-1119−211.00
2024-1214171.25
2025-0123−123.50
2025-02191,071.25
2025-0320264.00
2025-04202,538.00
2025-0528−1,392.50
2025-062184.00
2025-0727−470.50
2025-081789.00
2025-0927−226.00
2025-1017938.50
2025-1120630.00
2025-1232−87.50
2026-0121−8.75
2026-0225−338.00
2026-0317−345.75
2026-0425−373.00
2026-0521−271.25
2026-0624510.75
2026-0718−826.50
2026-0828−525.00
2026-0922−508.50
2026-105183.00
Every trade, NQ 15 minute528 trades

Pick any of the 528 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 (528), 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-10-07long12:0031338.2515:5931396.00end of day 15:5957.75
2026-10-06short15:4531506.5015:5931480.75end of day 15:5925.75
2026-10-05long09:4531204.0015:5931338.25end of day 15:59134.25
2026-10-02short13:1531057.2515:5931070.00end of day 15:59−12.75
2026-10-01long14:0030794.7515:5930772.75end of day 15:59−22.00
2026-09-29long15:0030647.0015:5930617.50end of day 15:59−29.50
2026-09-29short11:4530578.0015:0030647.00opposite cross−69.00
2026-09-28long13:1530691.0015:5930567.50end of day 15:59−123.50
2026-09-28short10:1530521.5013:1530691.00opposite cross−169.50
2026-09-25long12:4530904.7515:5930891.50end of day 15:59−13.25
2026-09-24long09:4530583.5015:5930756.75end of day 15:59173.25
2026-09-22long09:4530903.2515:5931029.25end of day 15:59126.00
2026-09-18long14:4529791.2515:5929916.50end of day 15:59125.25
2026-09-16short15:0029231.0015:5929254.00end of day 15:59−23.00
2026-09-15short10:4529287.7515:5929252.50end of day 15:5935.25
2026-09-14long10:0029003.5015:5929151.25end of day 15:59147.75
2026-09-09short15:0029448.0015:5929454.50end of day 15:59−6.50
2026-09-09short11:3029390.2514:4529466.25opposite cross−76.00
2026-09-09long10:1529561.2511:3029390.25opposite cross−171.00
2026-09-08short15:3029564.5015:5929543.50end of day 15:5921.00
2026-09-08long11:4529641.5015:3029564.50opposite cross−77.00
2026-09-08short09:4529474.2511:4529641.50opposite cross−167.25
2026-09-07long12:4529607.2512:5929603.50early close−3.75
2026-09-07short11:3029578.2512:4529607.25opposite cross−29.00
2026-09-07long10:0029618.5011:3029578.25opposite cross−40.25
2026-09-01short12:4529137.7515:5929126.75end of day 15:5911.00
2026-09-01long11:4529287.2512:4529137.75opposite cross−149.50
2026-08-31long15:3029447.7515:5929506.50end of day 15:5958.75
2026-08-31short15:0029404.5015:3029447.75opposite cross−43.25
2026-08-31long14:0029442.0015:0029404.50opposite cross−37.50
2026-08-28short12:1529558.2515:5929496.50end of day 15:5961.75
2026-08-28long10:3029653.5012:1529558.25opposite cross−95.25
2026-08-28short10:1529536.2510:3029653.50opposite cross−117.25
2026-08-27long15:4529632.7515:5929691.75end of day 15:5959.00
2026-08-27long11:0029601.7515:0029571.50opposite cross−30.25
2026-08-26long13:3029268.0015:5929296.75end of day 15:5928.75
2026-08-26short12:3029207.2513:3029268.00opposite cross−60.75
2026-08-26long10:0029331.5012:3029207.25opposite cross−124.25
2026-08-25short10:1529245.0015:5929270.25end of day 15:59−25.25
2026-08-24long14:1529187.2515:5929099.50end of day 15:59−87.75
2026-08-24short14:0029123.7514:1529187.25opposite cross−63.50
2026-08-24long12:4529185.0014:0029123.75opposite cross−61.25
2026-08-21short09:4529320.2515:5929395.75end of day 15:59−75.50
2026-08-19short13:3029540.0015:5929522.00end of day 15:5918.00
2026-08-19long11:1529616.2513:3029540.00opposite cross−76.25
2026-08-19short10:1529382.2511:1529616.25opposite cross−234.00
2026-08-14short10:3030159.7515:5930144.50end of day 15:5915.25
2026-08-12short15:4529849.2515:5929853.00end of day 15:59−3.75
2026-08-11short10:0029732.5015:5929636.00end of day 15:5996.50
2026-08-07long15:1529800.2515:5929833.25end of day 15:5933.00

Page 1 of 11Older →

Questions and answers

What happens if you buy NQ every time the 9 EMA crosses above the 21 EMA while price is above VWAP?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the EMA 9/21 cross with a VWAP filter strategy took 279 long trades, won 44.4% of them and made -150.50 points (-$3,010 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made 1,589.75 points on 588 trades on the 5-minute chart and 1,232.75 points on 93 trades on the 1-hour chart, before commission and slippage.

What happens if you short ES every time the 9 EMA crosses below the 21 EMA while price is below VWAP?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the EMA 9/21 cross with a VWAP filter strategy took 293 short trades, won 41.3% of them and made -47.50 points (-$2,375 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made 108.25 points on 530 trades on the 5-minute chart and 118.25 points on 112 trades on the 1-hour chart, before commission and slippage.

Does the EMA 9/21 cross with a VWAP filter strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the EMA 9/21 cross with a VWAP filter strategy on the 15-minute chart took 528 trades, won 42.2% of them and finished 1,068.50 points ($21,370 on one NQ contract), before commission and slippage.

What is the win rate of EMA 9 / 21 with a VWAP filter on ES futures?

The EMA 9/21 cross with a VWAP filter strategy won 41.7% of its 587 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 37.5% of 1,130 trades on the 5-minute chart and 49.3% of 207 trades on the 1-hour chart, before commission and slippage.

Is the EMA 9/21 cross with a VWAP filter strategy better on the 5-minute, 15-minute or 1-hour chart for NQ?

On NQ from 2024-10-08 to 2026-10-07, the EMA 9/21 cross with a VWAP filter strategy made 2,032.25 points on 1,106 trades on the 5-minute chart, 1,068.50 points on 528 trades on the 15-minute chart and 2,467.25 points on 197 trades on the 1-hour chart, before commission and slippage.

Is it better to only buy or only sell EMA 9/21 cross with a VWAP filter signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made -150.50 points on 279 trades (44.4% won) and the short trades made 1,219.00 points on 249 trades (39.8% won), before commission and slippage.

How many trades does the EMA 9/21 cross with a VWAP filter strategy take on NQ in two years?

The EMA 9/21 cross with a VWAP filter strategy took 528 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 1,106 on the 5-minute chart and 197 on the 1-hour chart, before commission and slippage.

What is the max drawdown of the EMA 9/21 cross with a VWAP filter strategy on NQ?

The EMA 9/21 cross with a VWAP filter strategy had a max drawdown of 3,388.75 points ($67,775 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 3,115.00 points on the 5-minute chart and 1,645.00 points on the 1-hour chart, before commission and slippage.

How does the EMA 9/21 cross with a VWAP filter strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the EMA 9/21 cross with a VWAP filter strategy took 587 trades, won 41.7% of them and made 13.50 points ($675 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the EMA 9/21 cross with a VWAP filter strategy took 528 trades, won 42.2% of them and made 1,068.50 points ($21,370 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?