MACD signal cross
TrendBeginner
MACD compares a fast exponential average with a slow one, then smooths that difference with a signal line. A cross of the MACD line through the signal line is the usual entry, and the histogram shows whether that momentum is growing or fading. Traders also watch whether the cross happens above or below zero, which is a rough read on the larger trend.
Not investment advice. Nothing here is a recommendation to buy or sell anything. Backtests and historical studies are not guarantees, and a rule that worked in one sample can fail in the next. Trading can lose money. Links are for education, not endorsements. Do your own research.
- Rules
- The common defaults are a 12-period EMA, a 26-period EMA, and a 9-period signal. Long when the MACD line crosses above the signal line, short or flat when it crosses below. Some versions only take longs above the zero line and shorts below it. Divergence, price making a new high while MACD does not, is a warning, not a standalone order.
- Where AI fits
- AI can code the three EMAs and run a walk-forward test of the lengths instead of trusting 12/26/9 because they are the chart default. It can also label crosses by regime so a cross against a strong higher-timeframe trend is ignored. An LLM is a reasonable way to draft the backtest harness, which a human should still audit for look-ahead.
- Markets
- Stocks, indexes, FX, and futures with enough history for a slow EMA.
- Timeframes
- Daily and 1-hour charts. Very short charts generate a lot of crosses.
- Risks
- MACD is a pair of moving averages, so it lags and whipsaws in ranges. There is no fixed overbought level, and a cross can stay wrong for a long time. Default settings are heavily used, which does not make them an edge.