WE TESTED A COMMUNITY STRATEGY · USATECHIDXUSD 5min

VWAP 'holy grail': long above VWAP, short below (Nasdaq 100, 5-minute)

The 2023 VWAP rule (long above session VWAP, short below, flip on each cross, flat at the close) on 5-minute Nasdaq 100 with real spread. It lost 47% over five years and made money in only 25 of 61 months. Adding a 60-minute 200 EMA trend filter made +6% on six unseen months: a thin edge, not a holy grail.

From r/technicalanalysis. The idea, in our words: The rule from the 2023 VWAP paper the post discusses: in the New York session, go long when price closes above the session VWAP and short when it closes below, flipping on each cross, flat at the close.

mixed

As posted · the rules as described (see what we assumed below)

-47.2%total return
0.95profit factor
19.3%win rate
59.6%max drawdown
5,004trades
5.0years tested

Optimized: best settings Quant Core found · last months held back as unseen data

-35.6%total return
0.95profit factor
19.2%win rate
50.0%max drawdown
4,633trades
0.93profit factor on unseen months

Improved: only trade with the trend (price above/below the 60min 200 EMA)

We then tried 10 changes a quant would test first (800 settings in all) and kept the best on past data only. The held-back months played no part in choosing it. It held up on the unseen months.

+51.9%total return
1.04profit factor
31.3%win rate
36.1%max drawdown
1,375trades
1.08profit factor on unseen months

Ideas tried for this post

Each idea was tuned on past data only, then run on the held-back months (£ won per £1 lost).

IdeaTuning monthsUnseen months
trade only the first two hours (9:30 to 11:30)-28% · £0.94+1.4% · £1.03 · 217 trades
no flipping: take the day's first VWAP cross and hold it to the close+58% · £1.05-44% · £0.28 · 84 trades

What we had to assume

  • Nasdaq 100 CFD with its real spread, instead of QQQ
  • 5-minute bars instead of the paper's 1-minute bars
  • Long and short (the paper's rule); the post's long-only version is the other reading
  • A wide 3 ATR safety stop (the rule has none); flips on the opposite cross; flat at 16:00 New York

A different reading of the rules could give a different result.

Backtested with the StratOS optimizer on historical data, with spread and costs charged, and the most recent months held back as unseen data. A backtest is not a forecast, and nothing here is investment advice.

Test your own strategy: join the beta