Adaptive RSI Bands MT5
- Индикаторы
-
Alberto Boada
Quantitative Trader & Algorithmic Systems Developer | 10+ years trading FX, Indices & Crypto on MT5. - Версия: 2.0
Adaptive RSI Bands MT5 replaces static 70/30 RSI levels with dynamic, volatility-driven overbought and oversold bands that automatically adapt to changing market regimes.
Traditional RSI oscillators struggle when markets shift between tight ranges and strong trends: fixed 70/30 thresholds trigger too early during strong momentum or miss valid reversals during quiet consolidations. Adaptive RSI Bands MT5 solves this by computing a rolling Dynamic Midpoint and expanding or contracting upper and lower bands based on the RSI's recent Mean Absolute Deviation (MAD).
Key Features
- Self-Adaptive Volatility Bands: Upper and lower thresholds automatically expand during high-momentum trends and contract during low-volatility ranges.
- Dynamic Midpoint Line: Displays the real-time equilibrium center of the recent RSI range to gauge directional bias.
- Color-Coded RSI Line: Highlights Neutral (Blue), Overbought (Red), and Oversold (Green) zones directly on the oscillator line.
- Zero-Repaint Alert Engine: Optional Popup, Mobile Push, and Email alerts triggered on band crossovers (evaluated on closed bars by default).
- Lightweight Native MQL5 Code: Single native RSI handle with incremental calculation for smooth performance across multiple charts and the Strategy Tester.
- Universal Compatibility: Works on Forex, Gold (XAUUSD), Indices, Crypto, and Stocks on any MetaTrader 5 timeframe.
How to Use
- Mean Reversion / Reversal: Watch for RSI crossing above the Upper Band (red zone) near resistance for potential bearish setups, or below the Lower Band (green zone) near support for potential bullish setups.
- Trend Bias: Sustained readings above the Dynamic Midpoint reflect bullish momentum; sustained readings below reflect bearish pressure.
- Volatility Regimes: Narrow bands indicate compression (potential breakout ahead); wide bands indicate expanded volatility.
Input Parameters
- RSI Period (10): Calculation period for the base RSI.
- Applied Price (PRICE_CLOSE): Price source used for RSI calculation.
- Adaptive Window (100): Rolling lookback window used to calculate the dynamic midpoint and average deviation.
- Deviation Multiplier (2.0): Controls band width sensitivity (higher values produce fewer, more extreme signals).
- Clamp Bands to 0-100 Range (true): Keeps bands bounded within the standard 0–100 RSI scale.
- Show Dynamic Midpoint Line (true): Shows or hides the center equilibrium line.
- Alert on Closed Bar (true): Evaluates crossover alerts strictly on confirmed closed candles (no repaint).
- Enable Popup / Push / Email Alerts (false): Independent toggles for each alert channel.
More Tools
Visit my MQL5 Seller Profile to explore the complete Adaptive Indicator Suite and our automated Expert Advisors for MetaTrader 5.
