Black Friday: 2 years for the price of 1.Or 3 months for the price of 1. On Pro.2 d 6 hleftSee plans →

Strategy library · NQ futures

NQ VWAP strategy

Net profit
−$16,414
-32.8%
Max drawdown
41.6%
the worst dip
Profit factor
0.93
17% won
Trades
8,194
two years

The published rule on MNQ 1-minute: long above the session's VWAP, short below, 23 October 2024 to 22 October 2026, costs included. The last 8 months, judged on their own: -25.4%.

Run this script free

Opens on MNQ 1-minute with the backtest done. Free account, no card.

The account: $50,000 to $33,586 after costs, after each of 514 days

high $54,018, 9 Aprlast 8 months
−$15 a day over the first 343−$66 a day over the last 171

Drawdown, at each day's end: worst -40.1% on 13 Oct 2026

Every day: wins up, losses down. Best +$1,867, worst −$1,495

Each month

Oct 2024From 24 Feb 2026, the last 8 monthsOct 2026

Zarattini and Aziz (2023) report that $25,000 in their VWAP trend strategy on QQQ, 2 January 2018 to 28 September 2023, “would have grown to $192,656, net of commissions, yielding a 671% return”. Run as they state it on MNQ's 1-minute bars, long above the session's VWAP and short below, it made 8,194 trades in two years: $0.50 a trade before costs, against $2.50 a round trip. After costs it lost 32.8%, 10.0% in the first 16 months and 25.4% in the last 8.

  • Checked 16 November 2026
  • MNQ1! 1-minute and 5-minute, 23 October 2024 → 22 October 2026 · 2 years · 517 sessions
  • $0.75 a contract each side + 1 tick of slippage
  • $50,000 account: one contract for the paper's rule, 1% risk for the reclaim
  • last 8 months judged alone, from 24 February 2026
  • Updated 24 November 2026

The paper's rule, as written

Zarattini and Aziz take VWAP from the regular session only, 9:30 to 16:00 New York, built from each 1-minute candle's average of high, low and close. Once the first candle closes at 9:31, the position is long if price is above VWAP and short if below; a 1-minute close on the other side turns it over, so it is always in the market until it goes flat at 16:00. They put all of the account in each trade without leverage, charge $0.0005 a share and assume no slippage, and report a maximum drawdown of 9.4% and a Sharpe ratio of 2.1 on QQQ, against 126% for holding it.

The script below does the same on MNQ's 1-minute bars with New York's clock: the order goes in on a candle's close and fills at the next candle's open. One contract a trade, worth between $32,920 and $63,233 of the index as it moved, against the $50,000 account, with the opening range study's costs.

Zarattini and Aziz (2023), “Volume Weighted Average Price (VWAP): The Holy Grail for Day Trading Systems”

Both runs

Net return on the $50,000 account after costs, the last 8 months first: 24 February 2026 → 22 October 2026. Before costs is the same run with no commission and no slippage.

Rule · barsLast 8 monthsFirst 16 monthsTwo yearsBefore costsTradesProfit factor
The paper's rule · 1-minute-25.4%-10.0%-32.8%+8.1%8,1940.93
VWAP reclaim · 5-minute+20.7%-29.7%-15.1%-2.8%4270.92

Costs decide the paper's rule. It made +⁠$4,071 in two years before costs, $0.50 a trade on 8,194 trades, about 16 a day; at $2.50 a round trip its costs came to $20,485, and it ended at −⁠$16,414. The reclaim trades far less, 427 times, and lost before costs too: −⁠$1,383, then −⁠$7,567 after $6,184 of costs on up to 10 contracts a trade.

The reclaim lost 29.7% in the first 16 months and made 20.7% in the last 8; the paper's rule lost in both. Two years of one market is a small sample, and neither run is a forecast.

Both rules, script by script

Copy either into TradingView, or press Run and it opens on MNQ in the terminal with its backtest done. The reclaim was written down before its run, and nothing was tuned on these bars.

The paper's rule: long above VWAP, short below, 1-minute

VWAP from 9:30 New York; from the 9:31 close, long above it and short below, a 1-minute close on the other side turning the position over; flat at 16:00, one contract.

Trades
8,194
Won
16.5%
Profit factor
0.93
Net
−32.8%
Worst drawdown
−41.6%
Worst trade
−⁠$405

MNQ1! · 1-minute · 23 October 2024 → 22 October 2026 · 2 years · 517 sessions · $0.75 a contract each side, one tick of slippage, $50,000 account, one contract

-10.0% in the first 16 months, -25.4% in the last 8. $0.50 a trade before costs.

Pine Script v6 · 38 linesRun this script
//@version=6
// Suggested timeframe: 1-minute
strategy("NQ VWAP trend, the Zarattini and Aziz rule", overlay=true, initial_capital=50000, default_qty_type=strategy.fixed, default_qty_value=1,
     commission_type=strategy.commission.cash_per_contract, commission_value=0.75, slippage=1, margin_long=0, margin_short=0)

// The paper's rule (Zarattini and Aziz, 2023): VWAP from the regular session only, 9:30 to 16:00 New York, built
// from each 1-minute candle's (high + low + close) / 3. Once the first candle closes, long above VWAP and short
// below; a 1-minute close on the other side turns the position over; flat at 16:00. One contract a trade
contracts = input.int(1, "Contracts", minval=1)

// New York's clock on 1-minute candles
inRth    = not na(time(timeframe.period, "0930-1600", "America/New_York"))
canOrder = not na(time(timeframe.period, "0930-1559", "America/New_York"))   // the last order fills by 15:59
ends16   = not na(time(timeframe.period, "1559-1600", "America/New_York"))

// The session's VWAP, started again on its 9:30 candle
var float cumPV = 0.0
var float cumV  = 0.0
if inRth and not inRth[1]
    cumPV := 0.0
    cumV  := 0.0
if inRth
    cumPV += hlc3 * volume
    cumV  += volume
vwapRth = inRth and cumV > 0 ? cumPV / cumV : na

// Long above VWAP, short below: the order goes in on a candle's close and fills at the next candle's open
if canOrder and barstate.isconfirmed and not na(vwapRth)
    if close > vwapRth and strategy.position_size <= 0
        strategy.entry("Long", strategy.long, qty=contracts)
    else if close < vwapRth and strategy.position_size >= 0
        strategy.entry("Short", strategy.short, qty=contracts)

// Flat at 16:00, or at a short session's last candle
if ends16 or session.islastbar
    strategy.close_all("16:00", immediately=true)

plot(vwapRth, "VWAP (9:30 to 16:00)", color=color.new(#3D69A8, 0), style=plot.style_linebr)

VWAP reclaim, 9:45 to 11:30, 2R, 5-minute

A 5-minute close back above the session's VWAP after a close below it goes long, the mirror goes short, between 9:45 and 11:30 New York; the stop a tick beyond that candle, the target at twice the risk, one trade a day, flat at 16:00.

Trades
427
Won
33.7%
Profit factor
0.92
Net
−15.1%
Worst drawdown
−36.6%
Worst trade
−⁠$507

MNQ1! · 5-minute · 23 October 2024 → 22 October 2026 · 2 years · 517 sessions · $0.75 a contract each side, one tick of slippage, $50,000 account, 1% risk

-29.7% in the first 16 months, +20.7% in the last 8. 33.7% of trades won.

Pine Script v6 · 69 linesRun this script
//@version=6
// Suggested timeframe: 5-minute
strategy("NQ VWAP reclaim, 9:45 to 11:30", overlay=true, initial_capital=50000, default_qty_type=strategy.fixed, default_qty_value=1,
     commission_type=strategy.commission.cash_per_contract, commission_value=0.75, slippage=1, margin_long=0, margin_short=0)

// The rule, written down before the run: the session's VWAP from 9:30 New York. Between 9:45 and 11:30, a 5-minute
// close back above VWAP after a close below it goes long, and a close back below after a close above goes short;
// the stop a tick beyond the reclaim candle, the target at twice the risk; one trade a day, flat at 16:00. 1% of
// the account at risk with two ticks of slippage counted, at most 10 contracts; a stop too wide for one skips it
riskPct      = input.float(1.0, "Risk % per trade", minval=0.1, step=0.1)
rMult        = input.float(2.0, "Target (R)", minval=0.5, step=0.5)
maxContracts = input.int(10, "Max contracts", minval=1)

// New York's clock on 5-minute candles
inRth    = not na(time(timeframe.period, "0930-1600", "America/New_York"))
inWindow = not na(time(timeframe.period, "0945-1130", "America/New_York"))
ends16   = not na(time(timeframe.period, "1555-1600", "America/New_York"))

// The session's VWAP and the day's state, started again on its 9:30 candle
var float cumPV       = 0.0
var float cumV        = 0.0
var bool  tradedToday = false
var float stopLevel   = na
var float targetLevel = na
if inRth and not inRth[1]
    cumPV       := 0.0
    cumV        := 0.0
    tradedToday := false
if inRth
    cumPV += hlc3 * volume
    cumV  += volume
vwapRth = inRth and cumV > 0 ? cumPV / cumV : na

// The setup: a close back across VWAP
longSetup  = not na(vwapRth) and not na(vwapRth[1]) and close > vwapRth and close[1] < vwapRth[1]
shortSetup = not na(vwapRth) and not na(vwapRth[1]) and close < vwapRth and close[1] > vwapRth[1]

riskCash = math.max(strategy.equity, 0) * riskPct / 100
canTrade = inWindow and not tradedToday and strategy.position_size == 0 and barstate.isconfirmed
if canTrade and longSetup
    stopPx  = low - syminfo.mintick
    stopPts = close - stopPx
    qty = math.min(maxContracts, math.floor(riskCash / ((stopPts + 2 * syminfo.mintick) * syminfo.pointvalue)))
    if qty >= 1
        stopLevel   := stopPx
        targetLevel := close + stopPts * rMult
        strategy.entry("Long", strategy.long, qty=qty)
        strategy.exit("Long exit", from_entry="Long", stop=stopLevel, limit=targetLevel)
        tradedToday := true
if canTrade and shortSetup
    stopPx  = high + syminfo.mintick
    stopPts = stopPx - close
    qty = math.min(maxContracts, math.floor(riskCash / ((stopPts + 2 * syminfo.mintick) * syminfo.pointvalue)))
    if qty >= 1
        stopLevel   := stopPx
        targetLevel := close - stopPts * rMult
        strategy.entry("Short", strategy.short, qty=qty)
        strategy.exit("Short exit", from_entry="Short", stop=stopLevel, limit=targetLevel)
        tradedToday := true

// The same stop and target on every bar of the trade; flat at 16:00, or at a short session's last candle
if strategy.position_size > 0
    strategy.exit("Long exit", from_entry="Long", stop=stopLevel, limit=targetLevel)
if strategy.position_size < 0
    strategy.exit("Short exit", from_entry="Short", stop=stopLevel, limit=targetLevel)
if ends16 or session.islastbar
    strategy.close_all("16:00", immediately=true)

plot(vwapRth, "VWAP (9:30 to 16:00)", color=color.new(#3D69A8, 0), style=plot.style_linebr)

VWAP on stocks

A VWAP reclaim on US stocks and ETFs, 1-minute and 5-minute, run the same way: the VWAP strategy backtest. Another published intraday rule run as written on NQ: the 5-minute opening range breakout.

Run your version free

Change the times, the stop or the size, or paste your own VWAP strategy. It runs free on the newest 30 days with the same costs, every trade on the chart, and on all two years with Prop Ready.

Free account

No card, no time limit.

$0
  • Unlimited backtests, costs charged, with the out-of-sample check
  • The Pine script audit and the full trade list
  • The Pine Copilot writes and edits your script
  • 50 AI credits a day
The Alpha Charts terminal a free account opens: the Pine Copilot beside the chart

Prop Ready opens all two years of futures minute bars on a computer for $39 paid once and has 7 days money back. Pro adds the optimiser and every AI tool and has 30 days money back. See the plans

Questions

Does the VWAP strategy work on NQ?

Not after costs on these two years. The VWAP trend rule of Zarattini and Aziz, run as stated on MNQ's 1-minute bars, made 8,194 trades, about 16 a day: $0.50 a trade before costs, +8.1% over the two years, against $2.50 a round trip. After costs, -32.8%, with a worst drawdown of 41.6%.

Is VWAP the holy grail of day trading?

Not on NQ with costs. The paper's 671% on QQQ was net of $0.0005 a share in commission with no slippage assumed. A rule that turns over about 16 times a day pays its costs every time: on MNQ, $20,485 over the two years at $2.50 a round trip, more than the $4,071 it made before them.

Does a VWAP reclaim work on NQ?

Not over these two years. A 5-minute close back across the session's VWAP between 9:45 and 11:30, with the stop a tick beyond that candle and a target of twice the risk, lost 29.7% on MNQ in the first 16 months and made 20.7% in the last 8: -15.1% over the two years on 427 trades, -2.8% before costs.

Can I run my own version?

Yes. Run this script on either card opens the Alpha Charts terminal on MNQ with the script on the chart and its backtest done. Change the times, the stop or the size, or ask the Copilot to, and run it again. A free account runs as many tests as you like, no card.

Every number here is the Alpha Charts backtest engine on 16 November 2026, on MNQ1! 1-minute and 5-minute bars from 23 October 2024 to 22 October 2026, the opening range study's two years, with the costs above. The paper's figures are its own, for QQQ from 2 January 2018 to 28 September 2023, from the authors' PDF. A backtest describes the past; it is not a forecast or advice.

The VWAP rule on NQFree account, no cardRun it free