The RSI Engine
- Experts
-
Md Abdul Manann
I'm the founder of SPLpulse. My mission is simple: to contribute to the MQL5 community by developing high-quality, reliable, and accessible Expert Advisors. I have a strong pipeline of EAs in development and I am dedicated to helping traders automate their strategies with confidence. - Version: 2.1
- Updated: 16 August 2025
The RSI Engine EA is an automated trading robot for the MetaTrader 5 (MT5) platform, developed by SPLpulse. ( Looking for a personalized setup? I'd be happy to create a custom configuration for you. Just describe what you're looking for in the comments below!) Its core function is to execute trading strategies based on signals from the Relative Strength Index (RSI) indicator. The EA is highly configurable, allowing the user to select from multiple RSI-based entry strategies, apply confirmation filters, and manage trades with specific risk parameters.
Trading Strategies & Signals
The EA's logic is primarily driven by user-selectable strategies for entering and exiting trades.
Entry Signals
The user can choose one or more of the following methods to generate trade signals:
-
RSI Divergence (Default Strategy): The primary strategy enabled by default is trading based on RSI divergence. The EA scans the last 60 bars (a configurable setting) to identify when the price movement and the RSI indicator are moving in opposite directions, which often signals an impending reversal.
-
Bullish Divergence (Buy Signal): Occurs when the price makes a new low, but the RSI fails to do so, instead making a higher low.
-
Bearish Divergence (Sell Signal): Occurs when the price makes a new high, but the RSI fails to follow, making a lower high instead.
-
-
Overbought/Oversold Reversal: The user can disable divergence and enable a more classic RSI strategy. This logic will generate buy signals when the RSI dips into the "oversold" zone (below 30 by default) and sell signals when it enters the "overbought" zone (above 70 by default).
-
Centerline Confirmation (Optional Filter): For added confirmation and to avoid premature entries, the user can enable this filter. When active, after an initial buy or sell signal is generated (either from divergence or an overbought/oversold condition), the EA will wait for the RSI value to cross the centerline (50) before executing the trade. This confirms a shift in momentum.
Exit Strategy
In addition to the fixed Stop Loss and Take Profit, the EA includes a dynamic exit condition:
-
RSI Level Exit: By default, this feature is enabled. It allows the EA to close a position based on the RSI's value. For example, a buy trade could be automatically closed if the RSI reaches the overbought level (e.g., 70), or a sell trade could be closed when the RSI reaches the oversold level (e.g., 30).
If you're serious about passing prop firm challenges, we highly recommend our premium Expert Advisor, Indices Pulse. It is specifically designed for trading indices like the US500 with advanced risk management features.
Learn more about Indices Pulse (just $34/month): https://www.mql5.com/en/market/product/149424
Trade and Risk Management
The EA includes standard but essential parameters for managing risk and identifying its own trades.
-
Lot Size: Trades are executed with a fixed lot size, which is set to 0.1 by default.
-
Stop Loss: A protective Stop Loss is automatically applied to every trade. The default is set to 500 points (which is equivalent to 50 pips for most currency pairs).
-
Take Profit: A profit target is automatically applied to every trade. The default is set to 300 points (equivalent to 30 pips).
-
Magic Number: A unique ID ( 160941 by default) is assigned to every trade the EA opens. This ensures the EA only manages its own trades and does not interfere with manual trades or those from other EAs.
RSI Indicator Configuration
The user has full control over the RSI indicator's parameters to tailor it to their specific strategy or market conditions.
-
RSI Period: The calculation period for the indicator, set to 14 by default.
-
Overbought Level: The threshold for considering an asset overbought, set to 70 by default.
-
Oversold Level: The threshold for considering an asset oversold, set to 30 by default.
-
Centerline: The mid-point of the RSI oscillator, set to 50 by default.
To get the best performance from any Expert Advisor, it's crucial to use a broker with low spreads and fast execution. If you're curious about the broker I personally use and trust, you can find that information on my profile.
Need a Custom Setup for The RSI Engine?
I'm happy to create custom configurations upon request. Just let me know what you need!
Your ideas are also crucial for making this EA better for everyone. If you have any suggestions for improvements, please share them.
You are also welcome to post your own successful .set files in the comments to help the community grow.
