EA-39767 · Mean Reversion

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

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsWPR
AuthorCopyright © 2022, Vladimir Karputov

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD+3.46%+3.00%3.07%13151.10%0.731.135+$2.64Reliable
GBPUSD-1.59%-1.38%6.07%13249.60%-0.22-0.265−$1.03Reliable
USDJPY-2.32%-2.02%6.23%12646.00%-0.41-0.375−$1.84Reliable
XAUUSD+62.32%+49.22%54.92%14052.10%0.991.145+$44.51Reliable

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

MarketMonths with a gainBest monthWorst month
EURUSD77%+1.84% 2026-02-2.23% 2026-03
GBPUSD38%+3.19% 2026-02-2.89% 2026-03
USDJPY46%+1.46% 2026-03-2.31% 2026-08
XAUUSD46%+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

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.3

Parameters

ParameterDefaultDescription
WPR_Period14WPR indicator calculation period
Overbought_Level-20Overbought threshold; WPR above this is overbought
Oversold_Level-80Oversold threshold; WPR below this is oversold
LotSize0.1Lot size per order
StopLoss0Stop loss in points, 0 means no stop loss
TakeProfit0Take 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.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.