Self_Adjusting_RSI - MetaTrader 5 Script - MT4/MT5 Resources


In pscillator Self-Adjusting RSI we implement the method of automatically adjusting the overbought/oversold levels of the RSI oscillator, as described in David Sepiashvili's article The Self-Adjusting RSI.
The indicator has five configurable parameters:
SARSI = RSI (period, applied price)
If calculation mode = standard deviation:
Overbought = 50.0 + Bias * Average Bias Oversold = 50.0 - Bias * AvgDev mean deviation = standard deviation (SARSI, period, MODE_SMA)
If calculation mode = moving average:
Overbought = 50.0 + Bias * AvgRAW Oversold = 50.0 - Bias * AvgRAW AvgRAW = SMA(RAW, period) RAW = Abs(SARSI - average deviation) Average deviation = SMA(SARSI, period)

Figure 1. Calculation mode = standard deviation

Figure 2. Calculation mode = Moving Average
Attachment download
📎 self_adjusting_rsi.mq5 (19.43 KB)
Source: MQL5 #21266
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •