WPR Custom Cloud Simple
This EA uses Williams' Percent Range (WPR) indicator with custom cloud visualization to identify overbought and oversold market conditions. It generates buy signals when WPR exits oversold territory and sell signals when WPR exits overbought territory, applying a mean reversion strategy. The 'Simple' variant likely uses straightforward threshold-based entries without complex filtering.
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 | +3.46% | +3.00% | 3.07% | 131 | 51.10% | 0.73 | 1.13 | 5 | +$2.64 | Reliable |
| GBPUSD | -1.59% | -1.38% | 6.07% | 132 | 49.60% | -0.22 | -0.26 | 5 | −$1.03 | Reliable |
| USDJPY | -2.32% | -2.02% | 6.23% | 126 | 46.00% | -0.41 | -0.37 | 5 | −$1.84 | Reliable |
| XAUUSD | +62.32% | +49.22% | 54.92% | 140 | 52.10% | 0.99 | 1.14 | 5 | +$44.51 | Reliable |
Profitable on 2 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 Mean Reversion EAs with a reliable result on the same market: EURUSD: better than 73% of 30 · GBPUSD: better than 47% of 32 · USDJPY: better than 28% of 32 · XAUUSD: better than 77% of 31
Month by month
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 77% | +1.84% 2026-02 | -2.23% 2026-03 |
| GBPUSD | 38% | +3.19% 2026-02 | -2.89% 2026-03 |
| USDJPY | 46% | +1.46% 2026-03 | -2.31% 2026-08 |
| XAUUSD | 46% | +57.38% 2026-03 | -11.54% 2026-01 |
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 core strategy of this EA is based on the mean reversion logic of the Williams' Percent Range (WPR) indicator. The WPR indicator measures where the current price sits relative to the recent price range, oscillating between -100 and 0. When WPR drops below the oversold threshold (typically below -80) and then crosses back above it, the EA identifies that the market has been oversold and is beginning to revert to the mean, triggering a buy signal. Conversely, when WPR rises above the overbought threshold (typically above -20) and then crosses back below it, the EA triggers a sell signal. For position sizing, the Simple variant likely uses fixed lot sizes or a straightforward account-balance-based calculation. Exit conditions may include fixed take-profit and stop-loss levels or waiting for a reverse signal to close positions. In terms of money management, as a mean reversion strategy, this EA faces the risk of consecutive losses during trending markets, requiring proper position control and stop-loss settings.
Strengths
- WPR indicator logic is clear, with overbought/oversold signals that are easy to understand and verify
- Mean reversion strategy performs well in ranging markets with reasonable risk-reward ratios
- The Simple variant has minimal parameters, reducing overfitting risk and making it easy for users to understand and tune
- Cloud visualization enhances indicator readability, helping traders intuitively judge market conditions
Weaknesses
- Mean reversion strategies are prone to consecutive losses in strong trending markets due to the lack of trend filtering
- The Simple variant may lack a new bar check, potentially opening repeated positions within the same signal zone
- Lack of spread filter means entries can occur during wide spreads, increasing trading costs
- If stop-loss is set to 0, there is no risk protection at all, which could lead to significant losses
Possible improvements
- Add a trend filter indicator (e.g., moving average direction) to avoid trading against strong trends
- Implement a new bar check and spread filter to prevent duplicate entries and entries during unfavorable spreads
- Add position sizing options such as ATR-based dynamic stop-loss/take-profit or fixed fractional risk-based lot calculation
Risk assessment
Overall risk: Medium
- Mean reversion strategy may continuously trade against the trend in trending markets, leading to severe losses
- If stop-loss parameter is 0, there is no risk protection whatsoever
- Lack of new bar check may result in repeated position openings within a short timeframe
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
WPR_Period | 14 | WPR indicator calculation period |
Overbought_Level | -20 | Overbought threshold; WPR above this is overbought |
Oversold_Level | -80 | Oversold threshold; WPR below this is oversold |
LotSize | 0.1 | Lot size per order |
StopLoss | 0 | Stop loss in points, 0 means no stop loss |
TakeProfit | 0 | Take profit in points, 0 means no take profit |
Similar Mean Reversion EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.