ICE JUICE TRADING
HomeStrategies › MACD Cross

MACD trading, automated — no code

MACD (Moving Average Convergence Divergence) is one of the most widely watched momentum indicators. Ice Juice Trading's MACD Cross template automates the classic crossover signal on your own Alpaca account — it buys when the MACD line crosses above its signal line. You set the risk limits; it runs on paper first. No code.

Run it paper-first — free →

What is MACD?

MACD measures momentum by comparing two exponential moving averages. The MACD line is the 12-day EMA minus the 26-day EMA; its signal line is a 9-day EMA of that difference. When the MACD line crosses above the signal line, momentum is turning up — a common entry cue; when it crosses below, momentum is fading. Because it's built from moving averages, MACD reacts a bit late but filters out a lot of noise.

The MACD Cross rule

Enter when the MACD line (EMA12 − EMA26) crosses above its signal line (EMA9 of the MACD line).

It's the textbook bullish MACD crossover, automated so you never miss one and never chase one late. Every knob is yours to set: dollars per position, stop-loss %, maximum open positions, and profit-taking rules — or point the same signal at your own basket of tickers.

When it works — and when it doesn't

MACD crossovers work best when a stock is starting a clean directional move; they generate the most whipsaw in flat, choppy markets, where the line and signal weave back and forth and fire crossings that quickly reverse. It's a momentum tool, so pairing it with sensible stops and position sizing matters — a crossover is a starting cue, not a guarantee.

Does the MACD cross work? Backtest it yourself

In our own 3-year backtest, the built-in MACD Cross template won 63.5% of 1,894 trades with a profit factor of 1.34 — a much larger sample than a rare signal like the golden cross. Still, those results are hypothetical, don't reflect actual trading, and past performance does not guarantee future results. Use the built-in backtester to run it over history on your own basket, then paper-trade it live on simulated money before risking real capital.

How to run the MACD Cross

Automate MACD on your Alpaca account →

Other built-in strategies

Explore all seven built-in strategies — including the Golden Cross, Trend Rider (momentum), and the Dip Buyer (mean reversion) — or compare plans and pricing (free paper trading included).

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.