← All strategy prompts

S&P 500 stocks: limit-buy a 2.5-SD Bollinger flush in an uptrend, exit when RSI(2) > 70

Each evening, find S&P 500 stocks in a confirmed uptrend that are short-term oversold, rest a limit buy at the lower 2.5-standard-deviation band, and sell once 2-day RSI snaps back above 70.

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

All rules stated in the post. Costs and test period given; no separate out-of-sample period.

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

What they did

SetupAlpha published the full rules of a free S&P 500 mean-reversion model on daily bars, long only, up to 10 positions at 10% of equity each. LowerBand = 20-day average close − 2.5 × the 20-day standard deviation. A stock qualifies at the close when it is above its 200-day average, the 200-day average is rising, the 50-day average is above the 100-day, and both SPY's and the stock's RSI(2) are below 50. Next day, a resting limit buy sits at LowerBand (the price must trade 0.1% below it to count as filled). If more stocks qualify than free slots, the highest 200-day return goes first. Exit at the next open after a close with the stock's RSI(2) above 70.

How it went

The poster's claims: 2000–2024 on historical S&P 500 members, $0.005/share commission ($1 minimum): 67.1% winners over 1,419 trades, 14.2% average market exposure, −18.37% max drawdown, +17.0% in 2022 and −3.1% in 2008. In a separate test the same author says a mean-reversion system run on today's S&P 500 members instead of the members at the time ended at $1.88M instead of $963k (11.5% vs 8.8% a year), so survivorship bias can double a result.

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.

After each US market close, scan [the current S&P 500 members] on daily bars. Do NOT place orders without my approval.
For each stock compute: MA(close,200), MA(close,50), MA(close,100), RSI(2), and LowerBand = MA(close,20) − [2.5] × StdDev(close,20). Also compute SPY's RSI(2).
A stock qualifies when ALL are true:
1. Close > MA(200), and MA(200) is higher than yesterday's MA(200)
2. MA(50) > MA(100)
3. SPY RSI(2) < [50] and the stock's RSI(2) < [50]
Rank qualifiers by 200-day return (highest first). Fill free slots up to [10] open positions at [10]% of strategy equity each.
For each one, propose a DAY limit buy at LowerBand for tomorrow (count it as filled only if the price trades at least [0.1]% below the limit).
Exit: after any close where a held stock's RSI(2) > [70], propose selling it at the next open.
Optional filter (off by default): [none / skip stocks with earnings in the next 2 trading days].
Each evening report: qualifiers with their LowerBand, open positions with RSI(2), and proposed orders.

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-29.