Skip to content
All library documents

SMA Crossover System with MACD, RSI, and Resistance Exits

Article Strategy library · Author: ChaoZhang

Summary

This document outlines a rules-based system combining moving-average crossovers, MACD confirmation, a recent-high resistance level, and RSI-based position management. A bullish entry requires the 10-period SMA to cross above the 30-period SMA while MACD is above its signal line. The exit condition requires price to reach the highest close over the prior 20 periods while MACD is bearish. RSI thresholds are described as a way to manage exits or holding decisions. The supplied settings use BTC/USDT futures and daily data over a multi-year period.

The text highlights the appeal of combining indicators but warns about false crossover signals in ranges, lagging resistance levels, RSI limitations, and overfitting. The code and prose do not align completely: an RSI condition described as an early exit for a losing position checks for a short position, while the entry logic is long-only and the subsequent close command targets the long trade. The stated backtest dates and parameters are given, but no performance results are reported.

Key ideas

  • A bullish entry requires an upward crossover of the 10- and 30-period SMAs plus bullish MACD confirmation.
  • The described exit uses a recent highest close as resistance and requires bearish MACD.
  • RSI thresholds are intended to influence position management.
  • The RSI early-exit condition and position direction in the code appear inconsistent with the long-only entry logic.
  • Backtest settings are supplied, but performance results are not reported.

Tags

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