← All strategy prompts

XLP dip-buy: close below a range band with low IBS, sell above yesterday's high

Buy the consumer staples ETF (XLP) at the close when it falls well below its recent high relative to its normal daily range and closes in the lower part of the day's range.

stocksswingAlpacaRobinhoodIBKRAny 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 republished a 2013 mean-reversion rule on XLP with minor changes. Compute the 25-day average of (high − low). Compute IBS = (close − low) / (high − low). Band = the 25-day highest high − 2.25 × that average range. If XLP closes below the band and IBS is below 0.6, go long at the close. Exit when the close is higher than yesterday's high.

How it went

The poster's claims: $100,000 compounded from inception produced 'decent returns', shown only in an image. No figures in the text, and the post says the rules were also tested on other ETFs.

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 [XLP] on daily bars. Check about [10] minutes before the close.
1. AvgRange = average of (high − low) over the last [25] days
2. Band = highest high of the last [25] days − [2.25] × AvgRange
3. IBS = (close − low) / (high − low) for today (use the live price as the close)
Entry: if I'm flat, the price is below Band and IBS < [0.6], propose buying $[amount] of [XLP] at the close.
Exit: while holding, if today's close is above yesterday's high, propose selling at the close.
Optional stop (off by default): [none / exit after X days / exit on a close X% below entry].
Each day report AvgRange, Band, IBS, the price, 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-29.