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.
| Timeframe | NQ · 2024-10-08 to 2026-10-07 | ES · 2024-08-28 to 2026-08-27 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Trades | Win % | Avg pts | Profit factor | Net pts | Net $ (1 NQ) | Max DD pts | Trades | Win % | Avg pts | Profit factor | Net pts | Net $ (1 ES) | Max DD pts | |
| 5 minute | 1106 | 34.7% | 1.84 | 1.054 | 2,032.25 | $40,645 | 3,115.00 | 1130 | 37.5% | 0.71 | 1.105 | 806.25 | $40,313 | 402.50 |
| 5 minute · longs only | 588 | 36.6% | — | — | 1,589.75 | $31,795 | 2,329.50 | 600 | 39.0% | — | — | 698.00 | $34,900 | 290.75 |
| 5 minute · shorts only | 518 | 32.6% | — | — | 442.50 | $8,850 | 2,654.00 | 530 | 35.9% | — | — | 108.25 | $5,413 | 310.00 |
| 15 minute | 528 | 42.2% | 2.02 | 1.045 | 1,068.50 | $21,370 | 3,388.75 | 587 | 41.7% | 0.02 | 1.002 | 13.50 | $675 | 608.75 |
| 15 minute · longs only | 279 | 44.4% | — | — | −150.50 | −$3,010 | 2,504.75 | 294 | 42.2% | — | — | 61.00 | $3,050 | 466.50 |
| 15 minute · shorts only | 249 | 39.8% | — | — | 1,219.00 | $24,380 | 1,760.50 | 293 | 41.3% | — | — | −47.50 | −$2,375 | 308.00 |
| 1 hour | 197 | 44.7% | 12.52 | 1.261 | 2,467.25 | $49,345 | 1,645.00 | 207 | 49.3% | 1.89 | 1.186 | 391.75 | $19,588 | 474.25 |
| 1 hour · longs only | 93 | 50.5% | — | — | 1,232.75 | $24,655 | 747.00 | 95 | 51.6% | — | — | 273.50 | $13,675 | 212.50 |
| 1 hour · shorts only | 104 | 39.4% | — | — | 1,234.50 | $24,690 | 1,131.00 | 112 | 47.3% | — | — | 118.25 | $5,913 | 326.50 |
Free to use with credit to CE Market Solutions (CC BY 4.0).
ES 15 minute: the equity line
Long and short
| Side | Trades | Net pts |
|---|---|---|
| Long | 294 | 61.00 |
| Short | 293 | −47.50 |
By month
| Month | Trades | Net pts |
|---|---|---|
| 2024-08 | 3 | 23.75 |
| 2024-09 | 30 | −111.00 |
| 2024-10 | 29 | 11.50 |
| 2024-11 | 15 | 37.00 |
| 2024-12 | 20 | 18.50 |
| 2025-01 | 20 | −21.50 |
| 2025-02 | 29 | −36.25 |
| 2025-03 | 19 | 22.25 |
| 2025-04 | 22 | 646.50 |
| 2025-05 | 28 | −226.25 |
| 2025-06 | 21 | −122.75 |
| 2025-07 | 26 | −75.00 |
| 2025-08 | 23 | −4.00 |
| 2025-09 | 29 | 32.75 |
| 2025-10 | 26 | 133.00 |
| 2025-11 | 21 | 134.25 |
| 2025-12 | 37 | −14.00 |
| 2026-01 | 21 | −7.00 |
| 2026-02 | 24 | −14.00 |
| 2026-03 | 23 | 55.25 |
| 2026-04 | 24 | −80.00 |
| 2026-05 | 21 | −80.75 |
| 2026-06 | 22 | −80.50 |
| 2026-07 | 28 | −195.75 |
| 2026-08 | 26 | −32.50 |
Every trade, ES 15 minute587 trades
Pick any of the 587 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 (587), newest first
Times are New York time; points are gross. Click a row to draw that trade in the chart above.
| Session date | Side | Entry (ET) | Entry price | Exit (ET) | Exit price | Exit reason | Points |
|---|---|---|---|---|---|---|---|
| 2026-08-27 | long | 15:45 | 7737.75 | 15:59 | 7741.25 | end of day 15:59 | 3.50 |
| 2026-08-27 | long | 10:45 | 7727.50 | 15:15 | 7730.25 | opposite cross | 2.75 |
| 2026-08-26 | long | 14:30 | 7688.25 | 15:59 | 7692.00 | end of day 15:59 | 3.75 |
| 2026-08-26 | short | 12:15 | 7682.50 | 14:30 | 7688.25 | opposite cross | −5.75 |
| 2026-08-26 | long | 10:00 | 7701.25 | 12:15 | 7682.50 | opposite cross | −18.75 |
| 2026-08-25 | short | 10:00 | 7690.00 | 15:59 | 7691.00 | end of day 15:59 | −1.00 |
| 2026-08-24 | short | 15:45 | 7671.25 | 15:59 | 7669.75 | end of day 15:59 | 1.50 |
| 2026-08-24 | long | 14:30 | 7682.00 | 15:45 | 7671.25 | opposite cross | −10.75 |
| 2026-08-24 | short | 13:45 | 7665.00 | 14:30 | 7682.00 | opposite cross | −17.00 |
| 2026-08-24 | long | 12:15 | 7680.75 | 13:45 | 7665.00 | opposite cross | −15.75 |
| 2026-08-24 | short | 09:45 | 7656.00 | 12:15 | 7680.75 | opposite cross | −24.75 |
| 2026-08-21 | long | 15:15 | 7695.50 | 15:59 | 7691.75 | end of day 15:59 | −3.75 |
| 2026-08-21 | short | 14:15 | 7688.50 | 15:15 | 7695.50 | opposite cross | −7.00 |
| 2026-08-21 | long | 11:15 | 7692.50 | 14:15 | 7688.50 | opposite cross | −4.00 |
| 2026-08-21 | short | 10:30 | 7681.75 | 11:15 | 7692.50 | opposite cross | −10.75 |
| 2026-08-19 | short | 14:15 | 7734.00 | 15:59 | 7731.25 | end of day 15:59 | 2.75 |
| 2026-08-14 | short | 10:30 | 7816.75 | 15:59 | 7805.50 | end of day 15:59 | 11.25 |
| 2026-08-12 | long | 13:15 | 7774.75 | 15:59 | 7769.50 | end of day 15:59 | −5.25 |
| 2026-08-12 | short | 11:30 | 7768.25 | 13:15 | 7774.75 | opposite cross | −6.50 |
| 2026-08-11 | short | 10:45 | 7779.75 | 15:59 | 7749.75 | end of day 15:59 | 30.00 |
| 2026-08-10 | short | 12:45 | 7768.00 | 15:59 | 7778.00 | end of day 15:59 | −10.00 |
| 2026-08-10 | long | 10:45 | 7792.50 | 12:45 | 7768.00 | opposite cross | −24.50 |
| 2026-08-07 | long | 15:15 | 7776.75 | 15:59 | 7778.25 | end of day 15:59 | 1.50 |
| 2026-08-07 | short | 14:45 | 7757.25 | 15:15 | 7776.75 | opposite cross | −19.50 |
| 2026-08-05 | short | 11:15 | 7782.25 | 15:59 | 7747.75 | end of day 15:59 | 34.50 |
| 2026-08-03 | long | 09:45 | 7567.50 | 15:59 | 7628.50 | end of day 15:59 | 61.00 |
| 2026-07-31 | long | 13:00 | 7497.50 | 15:59 | 7520.00 | end of day 15:59 | 22.50 |
| 2026-07-29 | short | 15:45 | 7366.50 | 15:59 | 7350.25 | end of day 15:59 | 16.25 |
| 2026-07-29 | long | 14:45 | 7463.25 | 15:45 | 7366.50 | opposite cross | −96.75 |
| 2026-07-28 | long | 11:15 | 7451.50 | 15:59 | 7466.00 | end of day 15:59 | 14.50 |
| 2026-07-28 | short | 10:00 | 7421.75 | 11:15 | 7451.50 | opposite cross | −29.75 |
| 2026-07-24 | short | 14:30 | 7449.50 | 15:59 | 7447.75 | end of day 15:59 | 1.75 |
| 2026-07-24 | long | 11:15 | 7478.00 | 14:30 | 7449.50 | opposite cross | −28.50 |
| 2026-07-22 | short | 15:45 | 7540.75 | 15:59 | 7536.50 | end of day 15:59 | 4.25 |
| 2026-07-22 | long | 09:45 | 7537.25 | 15:45 | 7540.75 | opposite cross | 3.50 |
| 2026-07-21 | long | 10:30 | 7531.75 | 15:59 | 7545.75 | end of day 15:59 | 14.00 |
| 2026-07-20 | short | 13:00 | 7513.75 | 15:59 | 7486.00 | end of day 15:59 | 27.75 |
| 2026-07-20 | long | 12:15 | 7532.00 | 13:00 | 7513.75 | opposite cross | −18.25 |
| 2026-07-20 | short | 11:00 | 7505.00 | 12:15 | 7532.00 | opposite cross | −27.00 |
| 2026-07-17 | short | 14:30 | 7502.25 | 15:59 | 7497.00 | end of day 15:59 | 5.25 |
| 2026-07-17 | long | 10:30 | 7529.50 | 14:30 | 7502.25 | opposite cross | −27.25 |
| 2026-07-16 | short | 12:30 | 7588.50 | 15:59 | 7577.00 | end of day 15:59 | 11.50 |
| 2026-07-16 | long | 10:45 | 7613.00 | 12:30 | 7588.50 | opposite cross | −24.50 |
| 2026-07-15 | long | 14:15 | 7616.25 | 15:59 | 7617.00 | end of day 15:59 | 0.75 |
| 2026-07-15 | short | 11:45 | 7601.50 | 14:15 | 7616.25 | opposite cross | −14.75 |
| 2026-07-13 | short | 11:30 | 7595.00 | 15:59 | 7563.25 | end of day 15:59 | 31.75 |
| 2026-07-08 | long | 13:00 | 7522.00 | 15:59 | 7526.75 | end of day 15:59 | 4.75 |
| 2026-07-08 | short | 11:00 | 7493.50 | 13:00 | 7522.00 | opposite cross | −28.50 |
| 2026-07-07 | short | 15:00 | 7552.50 | 15:59 | 7553.00 | end of day 15:59 | −0.50 |
| 2026-07-07 | long | 13:45 | 7568.75 | 15:00 | 7552.50 | opposite cross | −16.25 |
Page 1 of 12Older →
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?