Skip to content
All library documents

RSI Momentum Signals from Changes in the Indicator

Article MQL5 code base

Summary

This short code snippet defines buy and sell signals from the change in the Relative Strength Index between its current and prior values. A buy signal is triggered when the increase exceeds a configurable threshold; a sell signal is triggered when the decrease exceeds the same threshold in magnitude. The rule therefore responds to RSI movement rather than to a fixed overbought or oversold level.

The snippet provides no RSI lookback settings, threshold calibration method, asset or timeframe, exit logic, position sizing, or backtest results. It is only a signal condition, so it does not establish that the rule is profitable or explain how it should be combined with a broader trading system.

Key ideas

  • The buy rule triggers when RSI rises by more than a configured threshold.
  • The sell rule triggers when RSI falls by more than that threshold in magnitude.
  • The signal uses a change in RSI rather than an absolute RSI level.
  • The snippet supplies no parameter guidance, trade management, or performance evidence.

Tags

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