RndTrade
RndTrade is an Expert Advisor that executes trades based on random entry signals, essentially a randomized trading system. It opens buy or sell positions with no directional bias, relying on probability and risk management rather than technical or fundamental analysis. The EA serves as an experimental or benchmark tool to test whether risk management alone can produce profitable results without any predictive edge.
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% | -0.05 | -0.07 | 4 | +$0.06 | Reliable |
| GBPUSD | +7.82% | +6.76% | 3.84% | 108 | 52.80% | 1.38 | 2.04 | 8 | +$7.24 | Reliable |
| USDJPY | +2.49% | +2.16% | 4.48% | 99 | 50.50% | 0.53 | 0.56 | 6 | +$2.51 | Reliable |
| XAUUSD | +1.98% | +1.63% | 52.23% | 105 | 50.00% | 0.38 | 0.04 | 7 | +$4.28 | Reliable |
Profitable on 3 of 4 markets with reliable results.
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.
Month by month
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 54% | +2.68% 2026-04 | -1.11% 2026-01 |
| GBPUSD | 69% | +2.65% 2026-04 | -2.53% 2026-10 |
| USDJPY | 54% | +2.95% 2026-04 | -1.91% 2026-03 |
| XAUUSD | 62% | +29.82% 2026-02 | -29.62% 2026-08 |
From the backtest equity curve, sampled about every two days; only reliable results.
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 of RndTrade is entirely based on randomness, with entry conditions determined by a random number generator that randomly selects buy or sell direction without any technical indicator or price action analysis. Exit conditions rely on preset stop loss and take profit levels, or possibly a trailing stop mechanism to manage open positions. For position sizing, the EA likely offers fixed lot size or balance-proportional lot calculation. Money management is the only core strength of this EA, since random entry itself carries no statistical edge, and profitability depends entirely on favorable risk-reward ratios and position control. Overall, this is a proof-of-concept EA designed to test whether 'random entry + strict risk management' can survive long-term, but it lacks any repeatable statistical advantage in actual trading.
Strengths
- Unbiased entry eliminates emotional and subjective decision-making errors that traders commonly make
- Enforces strict risk management rules with clear stop loss and take profit, preventing emotional stop adjustments
- Valuable as a benchmark tool to evaluate whether other strategies genuinely possess a statistical edge over random entry
Weaknesses
- Random entry provides no statistical edge, and long-term expected value is negative after accounting for spreads and commissions
- Lacks market state assessment, applying the same logic regardless of trending or ranging conditions, unable to adapt to market changes
- Cannot improve performance through parameter optimization since the core logic is inherently non-predictive
Possible improvements
- Add a market state filter to introduce directional bias during trending markets rather than remaining purely random
- Implement dynamic stop loss and take profit based on ATR or volatility instead of fixed pip values
Risk assessment
Overall risk: Medium
- Random entry itself has no statistical edge, guaranteeing long-term losses after spread and commission costs
- Without new bar check, the EA may repeatedly open positions on the same bar leading to over-trading
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.01 | Fixed lot size per trade |
StopLoss | 500 | Stop loss in points |
TakeProfit | 500 | Take profit in points |
MagicNumber | 12345 | EA magic number for identifying orders |
MaxTrades | 1 | Maximum simultaneous positions |
Similar Unclassified EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.