MoneyRain
MoneyRain is a trend-following Expert Advisor that identifies market direction using moving average crossovers and momentum confirmation. It enters trades in the direction of the prevailing trend with fixed lot sizing and implements stop loss and take profit for risk management. The EA operates systematically on configured timeframes with no discretionary intervention required.
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 | -2.12% | -1.85% | 4.20% | 101 | 49.00% | -0.51 | -0.51 | 7 | −$1.78 | Reliable |
| GBPUSD | +3.72% | +3.23% | 5.03% | 99 | 49.50% | 0.72 | 0.74 | 7 | +$3.76 | Reliable |
| USDJPY | +2.56% | +2.22% | 3.82% | 93 | 48.40% | 0.58 | 0.67 | 5 | +$2.76 | Reliable |
| XAUUSD | +23.69% | +19.21% | 61.93% | 92 | 51.60% | 0.64 | 0.38 | 7 | +$28.76 | 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.
Against the other Trend Following EAs with a reliable result on the same market: EURUSD: better than 33% of 95 · GBPUSD: better than 75% of 95 · USDJPY: better than 78% of 95 · XAUUSD: better than 68% of 96
Month by month
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 46% | +2.04% 2026-04 | -1.64% 2026-10 |
| GBPUSD | 62% | +2.35% 2026-04 | -2.54% 2026-10 |
| USDJPY | 46% | +3.07% 2026-07 | -1.88% 2026-03 |
| XAUUSD | 46% | +46.52% 2026-04 | -31.23% 2026-03 |
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
MoneyRain's core strategy uses moving average crossovers to determine trend direction, going long when the short-period MA crosses above the long-period MA and vice versa for short entries. Entry signals are typically confirmed by momentum indicators such as RSI or MACD to filter out trades in unclear market conditions. Exit conditions rely on predefined stop loss and take profit levels, and some versions may incorporate trailing stops to lock in gains as the trend progresses. Position sizing uses a fixed lot approach rather than dynamically adjusting based on account equity, which simplifies the logic but lacks adaptability to varying account sizes. Money management provides basic protection through stop losses, but if the stop distance is too wide or lot size is not scaled to account balance, significant drawdowns can occur during extreme market moves. The overall strategy is straightforward and effective in trending markets, but may generate frequent false signals and consecutive losses during ranging or choppy conditions.
Strengths
- Simple and clear strategy logic that is easy to understand, debug, and suitable for beginners
- Trend following performs well in strongly trending markets, capturing significant swing profits
- Includes stop loss and take profit mechanisms providing a basic risk management framework
Weaknesses
- Fixed lot sizing does not dynamically adjust based on account balance, making money management inflexible
- MA crossovers tend to generate frequent false signals in ranging markets leading to consecutive losses
- Lacks position scaling logic (adding or reducing positions), unable to optimize exposure during trends
Possible improvements
- Introduce dynamic position sizing that auto-adjusts lot size based on account balance and risk percentage
- Add a market regime filter (such as ATR or ADX) to reduce trade frequency during ranging conditions
- Implement trailing stop functionality to progressively lock in floating profits as the trend develops
Risk assessment
Overall risk: Medium
- Fixed lot size cannot automatically scale up with account growth or scale down during drawdowns, posing overtrading risk
- Lacks a new bar check mechanism, potentially opening multiple positions on the same bar
- MA crossover strategy can produce consecutive losses in ranging markets, requiring equity drawdown controls
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Lot size per trade |
StopLoss | 50 | Stop loss in points, limits max loss per trade |
TakeProfit | 100 | Take profit in points, locks profit target per trade |
FastMA_Period | 10 | Fast MA period |
SlowMA_Period | 50 | Slow MA period |
MA_Method | MODE_SMA | Moving average method (SMA/EMA etc.) |
RSI_Period | 14 | RSI indicator period |
RSI_Level | 50 | RSI trend confirmation threshold |
MagicNumber | 12345 | Magic number for closing, 0 for all positions |
Timeframe | H1 | RSI timeframe, 0 for current chart period |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.