RSI Expert
This EA trades based on RSI overbought and oversold levels, entering buy positions when RSI crosses below the lower threshold and sell positions when RSI crosses above the upper threshold. It implements a classic mean reversion strategy expecting price to return to its statistical norm after extreme RSI readings. The EA includes configurable RSI period, overbought/oversold levels, and basic risk management parameters.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | -5.58% | -4.86% | 7.21% | 84 | 46.40% | — | — | — | — | Same as other EAs |
| GBPUSD | +1.92% | +1.67% | 3.45% | 85 | 56.00% | — | — | — | — | Same as other EAs |
| USDJPY | +2.12% | +1.84% | 4.00% | 77 | 53.90% | — | — | — | — | Same as other EAs |
| XAUUSD | +59.85% | +47.34% | 43.90% | 87 | 53.50% | — | — | — | — | Same as other EAs |
On every market this backtest is identical to EA-16855, EA-23152. The automatic conversion almost certainly lost what makes this EA different (a custom indicator, a filter or the money management), so these results are not ranked or counted.
Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.
Blow-up risk: No blow-up pattern found
None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.
High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →
Strategy analysis
This EA uses the RSI indicator as the core signal source for a mean reversion strategy, with the concept that price is expected to bounce back when reaching oversold territory and pull back when reaching overbought territory. Entry conditions trigger a buy when RSI drops below the configured oversold threshold and a sell when RSI rises above the configured overbought threshold. Exit conditions typically include fixed take-profit and stop-loss levels that close positions when price reaches predefined profit or loss targets. Position sizing relies on a fixed lot parameter without dynamic adjustment based on account equity or market volatility, which limits adaptive risk control. Money management is basic, depending on fixed stop-loss and take-profit to manage risk, lacking advanced features such as trailing stops, partial position closing, or equity-based position scaling. The overall strategy logic is simple and straightforward, making it accessible for beginners, but it may underperform in trending or volatile market conditions where mean reversion assumptions fail.
Strengths
- Strategy logic is simple and clear, easy to understand and debug, suitable for beginners to learn and use
- RSI is a mature and widely used technical indicator whose overbought/oversold signals can be reliable in ranging markets
- High configurability allows users to adjust RSI parameters and trading settings for different instruments and timeframes
Weaknesses
- Mean reversion strategy suffers consecutive losses in strong trending markets as RSI can stay overbought or oversold for extended periods
- Lacks dynamic position sizing; fixed lot size cannot automatically adjust based on market volatility or account risk
- Missing new bar check mechanism may cause repeated entries on the same bar, leading to unintended risk exposure
- No spread filter means signals can be corrupted by noise in high-spread environments
Possible improvements
- Add a trend filter (e.g., moving average direction) to pause or reverse trading logic during trending markets, avoiding counter-trend entries
- Implement dynamic position sizing based on ATR or account equity percentage for more scientific risk control
- Add new bar check and spread filter to prevent repeated entries and false signals in high-spread environments
Risk assessment
Overall risk: Medium
- Missing new bar check may cause multiple entries on the same bar, increasing unintended risk exposure
- Fixed lot size lacks dynamic position sizing, unable to automatically reduce risk during consecutive losses
- Mean reversion strategy can generate consecutive losses in trending markets without maximum drawdown protection
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
RSI_Period | 14 | RSI indicator period |
RSI_Overbought | 70 | RSI overbought threshold level |
RSI_Oversold | 30 | RSI oversold threshold level |
LotSize | 0.1 | Lot size per trade |
StopLoss | 200 | Stop loss in points |
TakeProfit | 400 | Take profit in points |
MagicNumber | 12345 | EA unique identifier,for distinguishing different EAs |
Similar Mean Reversion EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.