RSI EA v2
This EA trades based on RSI overbought and oversold levels, entering buy positions when RSI crosses below the oversold threshold and sell positions when RSI crosses above the overbought threshold. It uses configurable RSI period and threshold parameters with optional take-profit and stop-loss levels. The strategy is a classic mean-reversion approach using the RSI momentum oscillator.
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-21759. 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 (Relative Strength Index) as its core indicator, identifying extreme market conditions through overbought and oversold thresholds. Entry conditions are: open a buy when RSI crosses up from oversold territory, and open a sell when RSI crosses down from overbought territory, which is a classic mean-reversion approach. Exit conditions rely on preset take-profit and stop-loss levels, or positions may remain open until a reverse signal appears if TP/SL are not configured. Position sizing uses a fixed lot size by default without dynamic adjustment or integrated money management modules. Money management is relatively simplistic, lacking automatic lot calculation based on account balance or risk percentage. The overall strategy logic is straightforward but lacks multi-confirmation mechanisms and trend filters, making it prone to consecutive counter-trend losses during strong trending markets.
Strengths
- Strategy logic is simple and clear, easy to understand and debug
- RSI is a well-tested classic momentum indicator with relatively reliable signals
- High configurability allows users to flexibly adjust overbought/oversold thresholds for different instruments and market conditions
Weaknesses
- Lacks a trend filter, prone to frequent counter-trend entries during strong trending markets leading to consecutive losses
- No dynamic position sizing, fixed lot size cannot adapt to different account sizes and volatility environments
- Default TP/SL of 0 exposes unlimited risk if users forget to set them
- Lacks multi-confirmation mechanism, relying solely on RSIeasily produces false signals
Possible improvements
- Add a trend filter (e.g., EMA or ADX) to only trade RSI signals in the trend direction
- Integrate a money management module based on account risk percentage to auto-calculate optimal lot size
- Add multi-confirmation mechanisms such as combining MACD or Bollinger Bands to filter false RSI signals
- Add new bar detection to prevent multiple entries within the same candle
Risk assessment
Overall risk: Medium
- Default TP/SL of 0 means positions are unprotected if not manually set
- Lack of trend filter can produce consecutive counter-trend losses in trending markets
- Fixed lot size does not dynamically adjust based on account size and volatility
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
RSI Period | 14 | RSI indicator period |
Overbought Level | 70 | Overbought threshold level |
Oversold Level | 30 | Oversold threshold level |
Lot Size | 0.1 | Fixed trading lot size |
Stop Loss | 0 | Stop loss in points, 0 means no stop loss |
Take Profit | 0 | Take profit in points, 0 means no take profit |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.