Skip to content
All library documents

RSI Threshold Entries with Percentage-Based Stops and Targets

Article Strategy library · Author: Bitduke

Summary

This simple RSI strategy enters long when RSI rises above the overbought threshold and short when RSI falls below the oversold threshold. RSI is calculated over a fixed period using closing prices, with the thresholds configurable. The script also converts percentage inputs into price ticks relative to the average position price, then submits exit orders intended to represent a stop loss and a take-profit target. It includes optional date limits for strategy testing and specifies a commission assumption in its settings.

The published description mentions a chart test on an ETH perpetual contract at a 30-minute interval, but provides no performance figures. The exit call labels its profit and loss parameters in an order that appears inconsistent with the stated stop and target defaults, so traders should inspect the order semantics before relying on the risk controls. Threshold-based entries can also persist in extreme conditions, and the document provides no evidence that this approach works across markets or time periods.

Key ideas

  • The strategy opens a long position when RSI exceeds its overbought threshold and a short position below its oversold threshold.
  • RSI uses closing prices and a fixed calculation period, while the entry thresholds are configurable.
  • The script converts percentage settings into tick distances using the average entry price.
  • A user can restrict the backtest to a chosen date window, and the configuration includes commission.
  • The document reports no performance metrics, and its exit argument labels warrant careful review.

Tags

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