Skip to content
All library documents

Short-Term EMA Crossover Strategy with RSI Filters and Divergence Markers

Article Strategy library · Author: ChaoZhang

Summary

This short-term strategy combines a fast and slow EMA crossover with an RSI threshold filter. The described defaults use short EMA periods and a standard RSI window: an upward crossover can trigger a long entry when RSI is below the stated upper threshold, while a downward crossover can trigger a short entry when RSI is above the lower threshold. The source also calculates MACD and marks possible RSI and MACD divergences by comparing recent indicator extremes with adjacent price movement.

The written overview presents MACD as trend confirmation, but the code does not use MACD or divergence conditions to gate entries or close positions; it only plots divergence markers. The published test settings cover a one-day BTC futures window and provide no performance results, so they do not support claims of profitability or high-frequency suitability. The document notes likely failure modes including crossover churn in ranging markets, slippage and fees from frequent trading, sensitivity to parameter choices, and RSI remaining extreme during strong trends. It recommends further validation and risk controls.

Key ideas

  • A fast and slow EMA crossover generates candidate long or short entries, filtered by RSI thresholds.
  • The source plots RSI and MACD divergence markers, but these markers do not control its orders.
  • MACD is calculated, yet it does not appear in the entry or exit conditions.
  • Frequent signals can raise trading costs and may perform poorly in choppy markets.
  • The brief BTC futures test window contains no reported performance evidence.

Tags

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