ICE JUICE TRADING
HomeStrategies › Mean reversion

Mean reversion trading, automated — no code

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.

Run it paper-first — free →

What is a mean-reversion strategy?

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 rule (RSI-2)

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) < 10and 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.

When it works — and when it doesn't

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.

Backtest it on your own tickers, then paper-trade

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.

How to run the Dip Buyer

Automate mean reversion on your Alpaca account →

Other built-in strategies

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.

Ice Juice Trading is self-directed trading-automation software, not an investment adviser, broker-dealer, or fiduciary, and nothing here is investment advice or a recommendation to buy or sell any security. Strategies run in your own brokerage account (Alpaca Securities LLC, member FINRA/SIPC); we never hold your funds and every trade happens at your direction. Trading involves substantial risk of loss. Backtested results are hypothetical, do not reflect actual trading, and past performance does not guarantee future results.