← All strategy prompts

SPY low-IBS + RSI(21) dip: buy the close, sell on the first up close

When SPY closes near the bottom of its day's range and its 21-day RSI is below 45, buy at the close and sell at the first close above the prior day's close.

stocksswingovernightAlpacaRobinhoodIBKRAny LLM
✓ Published rules✗ Out-of-sample tested✗ Live vs paper disclosed✗ Reproduced by othersPreliminary

All rules stated in the post. No performance figures in the text.

Votes show community interest and never change Trust Scores or badges.

What they did

QuantifiedStrategies posted a classic S&P 500 mean-reversion test with four rules on daily bars: IBS (where the close sits in the day's range) below 0.25, RSI(21) below 45, go long at the close when both are true, and exit when the close is higher than the previous day's close. The test starts in January 2000 with $100,000, puts 100% of equity into every trade (compounding) and doesn't deduct taxes.

How it went

Per the author: the post shows an equity curve since 2000, plus a curve with the rules inverted to show the parameters matter, but it gives no return, win rate or drawdown figures in the text.

All performance figures are the poster's or author's own claims. We haven't verified them.

Sources:

Worth knowing

The prompt

Fill in the [blanks], then paste it into any AI agent connected to your broker (see Brokers). Defaults: paper trading + approve every trade.

Monitor SPY on daily bars. Shortly before the close (around [3:55 PM ET]), using today's high, low and current price as the close:
1. IBS = (close − low) ÷ (high − low). Is it below [0.25]?
2. Is RSI([21]) below [45]?
If both are true and I'm flat, propose buying $[amount] of SPY at the close (market-on-close, or a limit near the last price).
Exit: near the close on the first day the price is above yesterday's close, propose selling the whole position at the close.
Optional filter (off by default): [none / only when SPY is above its 200-day average / skip if the VIX is above X].
Each day report SPY's high, low, near-close price, IBS, RSI(21), 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.

Not financial advice. These are public strategies rewritten as prompts for education. Past or backtested results don't guarantee future returns. Prompt text is our own wording; source stories are credited above. Verified on 2026-11-22.