EA-17390 · Mean Reversion

BollTrade

BollTrade is an Expert Advisor that trades Bollinger Band mean reversion signals, entering buy positions when price touches the lower band and sell positions when price touches the upper band, expecting a return to the moving average middle band. It uses configurable Bollinger Band parameters for period and deviation to define its trading range. The EA includes basic position management with stop loss and take profit levels derived from the band structure.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsBollinger Bands, Moving Average
AuthorRon Thompson

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD+4.92%+4.26%2.66%14453.80%1.091.855+$3.68Reliable
GBPUSD+2.42%+2.10%4.73%14451.70%0.420.514+$1.86Reliable
USDJPY+8.91%+7.70%3.77%14552.80%1.532.368+$6.08Reliable
XAUUSD+33.15%+26.69%56.07%15253.00%0.770.597+$23.59Reliable

Profitable on 4 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 90% of 30 · GBPUSD: better than 72% of 32 · USDJPY: better than 100% of 32 · XAUUSD: better than 55% of 31

Month by month

MarketMonths with a gainBest monthWorst month
EURUSD62%+2.57% 2026-03-1.49% 2026-05
GBPUSD54%+1.54% 2026-05-1.54% 2026-06
USDJPY69%+4.30% 2026-09-1.17% 2026-01
XAUUSD54%+72.93% 2026-07-25.77% 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 concept of BollTrade's strategy is Bollinger Band mean reversion, based on the tendency of prices to revert to the middle band (moving average) after touching the upper or lower bands. Entry conditions are: open a buy position when price touches or falls below the lower Bollinger Band, and open a sell position when price touches or breaks above the upper Bollinger Band. Exit conditions include: taking profit when price reverts to the middle band, or cutting losses when the stop loss level is hit. Position sizing allows the user to configure a fixed lot size, but there is no dynamic position sizing mechanism based on account equity or risk percentage. Money management relies on stop loss and take profit levels derived from the Bollinger Band width, though it lacks advanced safeguards such as maximum drawdown limits or daily loss caps. The overall strategy logic is straightforward and intuitive, but it can suffer consecutive losses in strong trending markets since mean reversion strategies repeatedly enter counter-trend positions during sustained directional moves.

Strengths

  • Simple and clear strategy logic using Bollinger Bands, a well-established technical indicator that is easy to understand and verify
  • Mean reversion performs well in ranging markets with relatively high win rate potential
  • Highly configurable parameters allow traders to adjust Bollinger Band period and deviation for different instruments and market conditions

Weaknesses

  • Suffers consecutive losses in strong trending markets by repeatedly opening counter-trend positions, an inherent flaw of mean reversion strategies
  • Lacks dynamic position sizing; fixed lot size cannot adapt to market volatility or account risk exposure
  • No trend filter to distinguish between ranging and trending markets, leading to excessive risk exposure during directional moves

Possible improvements

  • Add a trend filter (such as ADX or higher timeframe moving average direction) to pause trading or reverse strategy logic during trending markets
  • Implement ATR-based dynamic stop loss, take profit, and position sizing to automatically adjust risk exposure based on market volatility

Risk assessment

Overall risk: Medium

  • Mean reversion strategy opens consecutive counter-trend positions in trending markets; lack of trend filter can lead to significant losses
  • Fixed lot position sizing cannot dynamically adjust based on account equity changes, potentially over-exposing risk during extreme market conditions

Evaluation scores

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

Parameters

ParameterDefaultDescription
BandsPeriod20Bollinger Bands period parameter
BandsDeviation2.0Bollinger Bands standard deviation multiplier
LotSize0.1Lot size per trade
StopLoss50Stop loss in points
TakeProfit50Take profit in points
MagicNumber12345EA magic number for identifying this EA's orders
TimeframeH1Trading timeframe

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.