Skip to content
All library documents

MA and RSI Pullback Strategy with Fixed Percentage Exits

Article Strategy library · Author: ChaoZhang

Summary

This short-term method combines a long simple moving average, a shorter exponential moving average, and a three-period RSI. It opens a long when price is above the long average but below the short average and RSI is below 20; it opens a short under the inverse average relationship when RSI is above 80. The code applies a 1% stop and 1% profit target to long positions. It also describes conditional exits based on the short average and the previous bar’s high or low, though the written long-exit conditions do not clearly align with the code or the accompanying explanation of moving-average crosses.

The document characterizes the approach as intraday and warns that sideways prices may cause frequent trading and fees, while moving-average signals can be false. It suggests testing parameters, adding filters, and adjusting risk limits. The stated backtest settings identify BTC/USDT futures and a short sample period, but no performance statistics are reported. The code’s short-side exit handling and its claim of symmetrical stop and profit controls are not fully supported by the supplied exit orders, so implementation details warrant careful review.

Key ideas

  • The entry rules combine price position relative to two averages with extreme short-period RSI readings.
  • The published defaults use a 200-period SMA, a 21-period EMA, and RSI thresholds of 20 and 80.
  • The code defines fixed 1% stop and profit levels for long trades.
  • Choppy conditions may produce frequent trades and higher transaction costs.
  • The short-side exits and the description of symmetrical risk controls are unclear in the supplied implementation.

Tags

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