Exp_XRVI
This EA trades based on the XRVI (Refined Volume Index) custom indicator, generating buy signals when the XRVI main line crosses above its signal line and sell signals on the reverse crossover. It uses advanced smoothing algorithms (JJMA, JurX, etc.) for both the indicator and signal line calculations, with configurable money management and position permissions.
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 | +1.66% | +1.44% | 3.16% | 131 | 49.60% | — | — | — | — | Same as other EAs |
| GBPUSD | -2.33% | -2.03% | 11.34% | 132 | 49.20% | — | — | — | — | Same as other EAs |
| USDJPY | +1.03% | +0.89% | 4.35% | 134 | 46.60% | — | — | — | — | Same as other EAs |
| XAUUSD | +72.78% | +57.12% | 56.05% | 136 | 51.50% | — | — | — | — | Same as other EAs |
On every market this backtest is identical to EA-16109. 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 core strategy of this EA is momentum trading based on the crossover of the XRVI indicator's main line and signal line. Entry conditions: a buy position opens when the main line crosses above the signal line (with the previous bar showing the main line was below or equal to the signal line), and a sell position opens on the reverse crossover. Exit conditions include fixed Stop Loss (default 1000 points) and Take Profit (default 2000 points), plus reverse signal closure where long positions close on sell signals and short positions close on buy signals. Position sizing is controlled via the MM parameter, where negative values represent fixed lot sizes and positive values represent a share of the deposit. Signal detection only executes on new bar formations using the CIsNewBar class, preventing redundant calculations and overtrading. The EA provides granular permission controls for buy/sell opening and closing independently.
Strengths
- Uses advanced smoothing algorithms (JurX, JJMA etc.) reducing indicator lag and false signals
- Independent buy/sell open/close permission controls provide high flexibility
- New bar detection mechanism prevents repeated trading within the same bar
- Supports multiple price types and custom timeframes for strong adaptability
- Includes Stop Loss and Take Profit settings with a basic risk management framework
Weaknesses
- Lacks spread filter, potentially leading to unfavorable entries in high-spread environments
- No position check logic, may open duplicate positions in the same direction
- Depends on external custom indicator files (XRVI and SmoothAlgorithms.mqh) without fallback
- Stop Loss and Take Profit only support fixed points, no dynamic or ATR-based alternatives
- No maximum position count limit or daily drawdown limit
Possible improvements
- Add a spread filter mechanism to avoid entering when spreads are excessively wide
- Add position check logic to prevent duplicate same-direction entries and support maximum position limits
- Introduce ATR-based dynamic Stop Loss/Take Profit instead of fixed points for better adaptability
Risk assessment
Overall risk: Medium
- No position check may cause duplicate same-direction entries leading to overexposure
- Fixed Stop Loss/Take Profit may be inappropriate under varying volatility conditions
- Dependency on external indicator files; missing files will cause EA failure
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | -0.1 | Deposit percentage or fixed lot; negative value = lot size |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum slippage deviation in points |
BuyPosOpen | true | Allow buy position opening |
SellPosOpen | true | Allow sell position opening |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H4 | AroonSignal indicator timeframe |
RviMethod | MODE_JurX | First smoothing method (e.g. JJMA, JurX) |
RviPeriod | 10 | First smoothing depth |
RviPhase | 15 | First smoothing parameter, JJMA range -100 to +100 |
SignMethod | MODE_JurX | Second smoothing method |
SignPeriod | 5 | Second smoothing depth |
SignPhase | 15 | Second smoothing parameter |
IPC | PRICE_CLOSE | Price constant type (close/open/high/low/median/typical/weighted etc.) |
SignalBar | 1 | Bar index for entry signal |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.