← All strategy prompts

SPY trim-below-EMAs, rebuy near the 50-day (a cautionary test)

Sell SPY when it loses its 8/21-day EMAs and buy back near the 50-day SMA. The poster found it trailed buy-and-hold.

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

Honest negative result. Fees and taxes excluded.

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

What they did

Babyfolio backtested trimming SPY when price fell below the 8- and 21-day EMAs, then buying back near the 50-day SMA, with and without also buying EMA recoveries. The test ran 1993–2026 including dividends.

How it went

Babyfolio's claims: the tested versions returned about 7–8% annualized versus about 10.9% for buy-and-hold, with smaller drawdowns. Cash earned 0%, and fees and taxes were excluded.

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.

I hold SPY as a core position of $[amount] in my paper account.
Daily after the close:
- If SPY closes below BOTH its [8]-day and [21]-day EMAs, propose trimming [50]% of the position.
- If I'm trimmed and SPY trades within [1]% of its [50]-day SMA, propose buying back to the full position.
- [Optional] If SPY closes back above both EMAs, propose buying back.
Every month, report my result versus simply holding SPY, with dividends counted.

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