MQL5 Wizard MA RSI
This EA is an MQL5 Wizard-generated trading system that combines Moving Average trend direction with RSI momentum confirmation to generate buy and sell signals. It enters long positions when price is above the MA and RSI indicates oversold recovery, and enters short positions when price is below the MA and RSI indicates overbought reversal. The strategy uses fixed lot sizing and applies standard stop loss and take profit levels for trade management.
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 | -0.27% | -0.24% | 3.79% | 110 | 48.60% | — | — | — | — | Same as other EAs |
| GBPUSD | +6.63% | +5.74% | 3.89% | 108 | 51.90% | — | — | — | — | Same as other EAs |
| USDJPY | +2.10% | +1.82% | 4.75% | 99 | 49.50% | — | — | — | — | Same as other EAs |
| XAUUSD | +1.98% | +1.63% | 52.23% | 105 | 50.00% | — | — | — | — | Same as other EAs |
On every market this backtest is identical to EA-16787, EA-16877, EA-17274, EA-17741, EA-19089, EA-20222, EA-20527, EA-22465 and others. 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 employs a dual-indicator confirmation mechanism: Moving Average determines the primary trend direction while RSI serves as a momentum filter for entry timing. Long entries require price above MA and RSI recovering from oversold levels, while short entries require price below MA and RSI declining from overbought levels. Position sizing uses a fixed lot model without dynamic adjustment based on account equity or market volatility. Money management relies on preset stop loss and take profit parameters but lacks trailing stop and position scaling mechanisms. Exits depend entirely on stop loss and take profit triggers without active indicator-based exit logic, which may lead to profit givebacks or missed optimal closing opportunities.
Strengths
- Dual-indicator confirmation reduces false signals by combining trend direction with momentum for higher-quality entries
- MQL5 Wizard-generated code follows standard structure making it easy to understand and modify
- Fixed stop loss and take profit provide basic risk protection suitable for beginner learning
Weaknesses
- Fixed lot sizing ignores account size and volatility resulting in overly simplistic money management
- Lack of trailing stop mechanism means winning trades may give back significant profits
- No new bar check may cause repeated entries on the same bar increasing overtrading risk
Possible improvements
- Add dynamic position sizing based on ATR or account equity to improve risk-adjusted returns
- Implement trailing stop and indicator-based reversal exit logic for better trade management
Risk assessment
Overall risk: Medium
- Fixed lot sizing may result in excessive per-trade risk during high market volatility
- Lack of new bar check may produce duplicate signals during rapid market moves leading to overexposure
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Fixed trading lot size |
StopLoss | 50 | Stop loss in points |
TakeProfit | 100 | Take profit in points |
MA_Period | 20 | Moving average period |
MA_Method | MODE_SMA | Moving average calculation method |
MA_AppliedPrice | PRICE_CLOSE | Moving average applied price |
RSI_Period | 14 | RSI indicator period |
RSI_AppliedPrice | PRICE_CLOSE | RSI applied price |
RSI_LevelLow | 30 | RSI oversold threshold |
RSI_LevelHigh | 70 | RSI overbought threshold |
MagicNumber | 12345 | EA magic number for identifying orders |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.