Mean reversion is the idea that a price stretched far from its recent average tends to snap back toward it. Ice Juice Trading's Dip Buyer template automates that idea on your own Alpaca account — it buys short-term oversold pullbacks inside an uptrend and exits on the bounce. You set the risk limits; it runs on paper first, then live when you're ready. No code.
A mean-reversion strategy bets against a short-term move: when a stock drops sharply below its typical range, it buys, expecting a rebound toward the mean — the opposite of a momentum or breakout strategy, which buys strength. Mean reversion tends to do well in choppy, range-bound conditions where dips get bought, and poorly in one-way declines where "cheap" keeps getting cheaper. The craft is in filtering: only fading dips that are likely noise, not the start of a real downtrend.
The Dip Buyer uses the classic fast-RSI mean-reversion setup, on daily bars:
Enter when the 2-period RSI is deeply oversold — RSI(2) < 10 — and the price is still above its 200-day moving average.
Exit on the bounce, as the move reverts.
The two-part condition is the whole point. RSI(2) < 10 finds a sharp, short-term washout; the 200-day trend filter keeps you buying dips in names that are still in an uptrend, rather than catching a falling knife in a broken one. Every knob is yours to set: dollars per position, stop-loss %, maximum open positions, and profit-taking rules — or point the same rule at your own basket of tickers.
No strategy wins every time, and this one is no exception. Mean reversion earns its keep in sideways or dip-and-recover markets; it can underperform in strong, sustained trends and can take losses when a "dip" turns into a sustained decline — which is exactly why the 200-day filter and your own stop-loss matter. The honest way to find out whether it fits the names you trade is to test it yourself.
Ice Juice Trading has a built-in backtester: run the Dip Buyer over history on your own basket and see the win rate, profit factor, and trade count before you risk a dollar. Backtested results are hypothetical and past performance does not guarantee future results — so the next step is always paper trading, where the strategy runs live on simulated money in your own account. Go to real money only when you're satisfied.
Automate mean reversion on your Alpaca account →
Prefer to buy strength instead of fade weakness? See Trend Rider (momentum), the Golden Cross, MACD Cross, Breakout 55, or Volume Surge — or the other mean-reversion play, Bollinger Reversion. Compare plans and pricing (free paper trading included), or see all seven strategies.