← All strategy prompts

S&P 500 stocks: buy the close after a weak day (low IBS) in an uptrend

Each day, buy S&P 500 stocks that closed near the bottom of their daily range while still above their 200-day average, and sell on the first strong close.

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

Rules are fully stated and the universe includes delisted stocks. Performance is only in an image, so it's unverified here.

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

What they did

SetupAlpha tested S&P 500 members including delisted stocks (to avoid survivorship bias), price above $5, from 2000 to September 2026. Buy at the close when the Internal Bar Strength, (close − low) / (high − low), is below 0.2 and the stock is above its 200-day moving average. Sell on a close above yesterday's high, or after 5 days. Up to 10 positions at 10% each, IBKR commissions plus 5 basis points of slippage per side, dividends included.

How it went

Per the author: the full results are only in the post's image. The author's one text claim: 'Every stop I tried lowered the return.'

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.

Universe: current [S&P 500] members with price > $[5].
At [3:50 PM ET] each trading day, for each stock compute IBS = (last − day's low) / (day's high − day's low).
Candidates: IBS < [0.2] AND price above its [200]-day SMA.
If I have fewer than [10] open positions, propose buying the lowest-IBS candidates at the close, each sized at [10]% of my paper account, until I'm full.
Exits, checked at each close: sell if the close is above the previous day's high, OR the position has been held [5] trading days.
Optional disaster stop: [none / 15% below entry]. Track results with and without it.
Daily log: candidates, IBS values, fills, exits and P/L after $[0.005]/share plus [5] bps slippage per side.

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-10-25.