Skip to content
All library documents

RSI Extremes and Moving Average Conditions for Long and Short Entries

Article Strategy library · Author: ChaoZhang

Summary

This document presents an automated strategy built around RSI extremes. It describes a 15-period RSI, with readings below 20 associated with a potential long and readings above 80 with a potential short; the long description also mentions a move above a 200-day moving average as confirmation. Both sides use preset take-profit and stop-loss exits. The parameters and source code provide a more specific picture: the code uses a configurable RSI length defaulting to 5, thresholds of 30 and 70, and fixed reward and risk distances, while the long moving-average condition is commented out and is not part of the active entry logic.

The publication includes a short BTC/USDT futures backtest window but gives no results, so it supplies no evidence of profitability. It identifies RSI lag, instrument-dependent thresholds, and losses from countertrend trades as concerns. It recommends tuning thresholds and stops, adding trend or other indicator confirmation, and controlling overall exposure. The difference between the prose and executable logic means the exact intended rules are not fully consistent.

Key ideas

  • The described approach uses RSI extremes to trigger automated long and short trades.
  • The prose pairs oversold RSI with a long-side moving-average confirmation, but that condition is commented out in the source.
  • The source parameters differ from some of the prose, including the RSI length and thresholds.
  • Preset reward and risk distances are provided, but no backtest performance results are reported.
  • The document flags lag and countertrend risk and suggests trend filters and parameter tuning.

Tags

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