Exp_RSI
This EA trades based on RSI overbought/oversold signals, entering buy positions when RSI crosses below the oversold level and sell positions when RSI crosses above the overbought level. It is a classic mean reversion system that assumes price will revert to the mean after reaching extreme RSI readings. The EA automates signal detection and trade execution without manual intervention.
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-21759, 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
The strategy concept is based on the mean reversion principle of the RSI indicator, assuming price reversals occur after reaching overbought or oversold zones. Entry conditions trigger a buy when RSI crosses above the oversold level and a sell when RSI crosses below the overbought level. Exit conditions typically include fixed take-profit and stop-loss levels, or closing positions when RSI returns to the midline around 50. Position sizing generally uses fixed lots or a percentage of account equity. Money management in typical implementations may lack dynamic position adjustment and maximum drawdown controls, relying primarily on stop-loss settings for risk. The strategy performs well in ranging markets but may suffer consecutive losses during strong trending conditions.
Strengths
- RSI is a classic and widely validated technical indicator with clear and understandable logic
- Mean reversion strategy performs stably in ranging markets with a relatively high win rate
- Highly adjustable parameters allow traders to optimize settings for different instruments and market conditions
Weaknesses
- Prone to consecutive losses in strong trending markets due to counter-trend trading risk
- Typical implementation lacks new bar checking, potentially opening duplicate positions on the same signal
- Lacks spread filter and slippage protection, which may cause additional losses in low-liquidity markets
Possible improvements
- Add a trend filter (e.g., moving average direction) to pause trading or switch to trend-following mode during trending markets
- Implement new bar checking to prevent duplicate entries, and add spread filtering with maximum position limits
Risk assessment
Overall risk: Medium
- Counter-trend trading may cause significant drawdowns during strong trends
- Lack of new bar checking may lead to duplicate position opening on the same signal, amplifying risk
- Stop-loss settings may be inadequate as fixed-pip stops don't account for market volatility
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
RSIPeriod | 14 | RSI calculation period |
OverboughtLevel | 70 | Overbought level threshold |
OversoldLevel | 30 | Oversold level threshold |
StopLoss | 0 | Stop loss in points |
TakeProfit | 0 | Take profit in points |
LotSize | 0.1 | Trading lot size |
MagicNumber | 0 | EA magic number |
Timeframe | H1 | Trading timeframe |
Similar Mean Reversion EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.