Skip to content
All library documents

MACD Crossovers Combined with Recent RSI Extremes

Article Strategy library · Author: ChaoZhang

Summary

The strategy combines MACD crossovers with recent RSI extremes to seek directional reversals. A bullish MACD crossover qualifies for a long entry if RSI has reached the oversold threshold within a recent lookback; a bearish crossover qualifies for a short entry if RSI has reached the overbought threshold. The document describes MACD and RSI roles, gives configurable thresholds and periods, and lists BTC/USDT futures backtest settings for hourly bars with a 15-minute base period.

The supplied logic allows either signal when the relevant condition occurred within ten bars, while the prose describes RSI as extreme five bars earlier. The code uses stop and take-profit exits, but the prose also describes closing on indicator reversals; these are not equivalent rules. No backtest results are provided, so the listed test window is not evidence of returns. The document warns that lagging indicators may overtrade in choppy markets, react slowly to sudden changes, and miss gains when RSI stays extreme in a strong trend; it also identifies parameter sensitivity as a risk.

Key ideas

  • A bullish MACD crossover is paired with a recent RSI oversold reading for long entries.
  • A bearish crossover is paired with a recent RSI overbought reading for short entries.
  • The supplied code uses a ten-bar lookback, differing from the prose description of five bars earlier.
  • The code specifies stop-loss and take-profit exits, while the prose also describes indicator-based exits.
  • The published backtest configuration includes BTC/USDT futures but reports no performance results.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.