SPY / QQQ Williams %R dip: buy deep oversold, sell on a close above yesterday's high
Buy SPY or QQQ when Williams %R says the last few days closed near their lows, and sell on the first strong close above the prior day's high.
What they did
QuantifiedStrategies posted three Williams %R variants with full rules. (1) QQQ: buy when the 5-day Williams %R closes below −90, sell when QQQ closes above the prior day's high. (2) QQQ with filters: buy at the next open if Williams %R(10) is below −80, the close is above EMA(100) and below 99% of the 10-day rolling VWAP; sell at the next open after a close above that VWAP. (3) SPY fast version: buy at the close when Williams %R(2) is below −90, sell when SPY closes above the prior day's high or Williams %R(2) closes above −30.
How it went
The poster's claims: the plain QQQ version was in the market 21% of the time. Other results are only in the post's images; the text says 'Historical results, not a forecast.' We listed a similar QQQ Williams %R + EMA + VWAP rule on Nov 8 (claimed profit factor 4.12).
Sources:
Worth knowing
- Williams %R near −100 means the close is near the bottom of the recent range. It is a short-term oversold signal, not a trend signal.
- Like most index dip-buys, this has no stop. One crash-style week can erase months of small wins; decide your own stop before you start.
- Pick one variant and keep it. Switching between three versions after the fact is curve fitting.
The prompt
Trade ONE variant only: [A: QQQ 5-day / B: SPY fast]. Daily bars. Check about [10] minutes before the close.
Williams %R(N) = (highest high of N days − close) / (highest high − lowest low of N days) × −100.
Variant A (QQQ): if flat and Williams %R([5]) is below [−90], propose buying $[amount] of QQQ at the close. While holding: if today's close is above yesterday's high, propose selling at the close.
Variant B (SPY): if flat and Williams %R([2]) is below [−90], propose buying $[amount] of SPY at the close. While holding: if the close is above yesterday's high OR Williams %R(2) is above [−30], propose selling at the close.
Optional trend filter (off by default): [none / only buy when the close is above the 100-day EMA].
Optional stop (off by default): [none / exit after X days / exit on a close X% below entry].
Each day report the Williams %R value, yesterday's high, and whether the entry or exit triggers.
SAFETY DEFAULTS (keep unless you deliberately change them):
- Use the PAPER trading account only. Never touch a live account.
- Before every order, show me: symbol, side, size, order type, limit price, stop, and the rule that triggered it. Then WAIT for my "approve".
- Hard limits: max [$500] per trade, max [3] open positions, stop all trading for the day after a loss of [$300].
- Log every signal, decision and fill to [a running log / spreadsheet] with timestamps.To go fully autonomous: (1) run on paper for at least [4–8 weeks] or [30+ trades]; (2) delete the 'WAIT for my approve' line and keep the hard limits; (3) switch to live keys or account. On Robinhood, turn off trade approvals in your agent settings, but note that some orders can still require in-app approval or acknowledging a pre-trade alert, so unattended execution isn't guaranteed for every order. On IBKR, standard AI Integration asks for approval on every order. Its new Autonomous Trading mode (eligible individual non-margin accounts, after 10 approved trades) lets the AI trade a funded AI Partition without per-order approval. Never remove the daily loss limit.