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
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | +4.92% | +4.26% | 2.66% | 144 | 53.80% | 1.09 | 1.85 | 5 | +$3.68 | Reliable |
| GBPUSD | +2.42% | +2.10% | 4.73% | 144 | 51.70% | 0.42 | 0.51 | 4 | +$1.86 | Reliable |
| USDJPY | +8.91% | +7.70% | 3.77% | 145 | 52.80% | 1.53 | 2.36 | 8 | +$6.08 | Reliable |
| XAUUSD | +33.15% | +26.69% | 56.07% | 152 | 53.00% | 0.77 | 0.59 | 7 | +$23.59 | Reliable |
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
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 62% | +2.57% 2026-03 | -1.49% 2026-05 |
| GBPUSD | 54% | +1.54% 2026-05 | -1.54% 2026-06 |
| USDJPY | 69% | +4.30% 2026-09 | -1.17% 2026-01 |
| XAUUSD | 54% | +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
Parameters
| Parameter | Default | Description |
|---|---|---|
BandsPeriod | 20 | Bollinger Bands period parameter |
BandsDeviation | 2.0 | Bollinger Bands standard deviation multiplier |
LotSize | 0.1 | Lot size per trade |
StopLoss | 50 | Stop loss in points |
TakeProfit | 50 | Take profit in points |
MagicNumber | 12345 | EA magic number for identifying this EA's orders |
Timeframe | H1 | Trading timeframe |
Similar Mean Reversion EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.