EA-15322 · Mean Reversion

Exp_Bezier_StDev

This EA trades based on the Bezier_StDev custom indicator, which combines Bezier curve smoothing with standard deviation bands to identify overbought/oversold conditions. It supports three signal modes (point-based, directional, and disabled) for both entry and exit, and uses configurable money management with stop loss and take profit. The strategy opens buy positions on upward turning points and sell positions on downward turning points of the smoothed curve.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsBezier_StDev, Standard Deviation
Author—

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

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.

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 mean reversion using Bezier curve smoothing overlaid with standard deviation bands. Entry conditions come in three modes: POINT mode reads the indicator's signal buffers (buffer 3 for buy signals, buffer 2 for sell signals); DIRECT mode detects inflection points by comparing three consecutive Bezier curve values (V-shaped reversal patterns) to open positions; WITHOUT mode disables the signal entirely. Exit conditions also support three modes: POINT mode uses signal buffers, while DIRECT mode detects trend reversal by comparing curve slope direction changes to close positions. Position sizing offers five modes (free margin, balance, loss-adjusted free margin, loss-adjusted balance, and fixed lot), controlled by the MM parameter for risk proportion. Money management includes configurable stop loss and take profit, defaulting to 1000 and 2000 points respectively, yielding a 1:2 risk-reward ratio. The strategy operates on the H4 timeframe by default and uses SignalBar=1, meaning signals from the last closed bar, which avoids signal flickering issues from unclosed bars.

Strengths

  • Flexible signal mode design with independent POINT/DIRECT/WITHOUT configuration for entry and exit, adaptable to different market conditions
  • Uses SignalBar=1 to calculate signals from closed bars only, avoiding false trades caused by signal flickering on unclosed bars
  • Built-in new bar detection mechanism (CIsNewBar) prevents duplicate position openings within the same bar
  • Clear stop loss and take profit parameters with a reasonable default risk-reward ratio of 1:2
  • Supports five position sizing modes providing high flexibility in money management

Weaknesses

  • Depends on the custom Bezier_StDev indicator whose source code is not visible, making algorithm correctness unverifiable
  • DIRECT mode uses only 2-3 bars to detect inflection points, prone to frequent false signals in choppy markets
  • No spread filter or trading session filter, potentially disadvantageous during high-spread periods
  • Stop loss of 1000 points and take profit of 2000 points are wide ranges that may not suit all instruments
  • Lacks maximum position count limits and overall portfolio risk control mechanisms

Possible improvements

  • Add a spread filter mechanism to pause new positions when spread exceeds a threshold
  • Add maximum concurrent position limits and drawdown protection mechanisms
  • Consider adding trading session filters to avoid low-liquidity periods

Risk assessment

Overall risk: Medium

  • Dependency on external custom indicator; failure to load will prevent the EA from running
  • Simple inflection point logic in DIRECT mode may cause frequent open/close cycles in choppy markets, leading to slippage losses
  • No maximum position limit, potentially accumulating excessive exposure during extreme market conditions

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation3.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management parameter, lots or ratio
MMModeLOTMargin calculation mode (fixed lots, balance percentage, etc.)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage
BuyPosOpenPOINTBuy entry signal mode
SellPosOpenPOINTSell entry signal mode
BuyPosCloseDIRECTClose long positions on reverse signal
SellPosCloseDIRECTAllow closing short positions on signal reversal
InpInd_TimeframePERIOD_H4trend_arrows indicator timeframe
BPeriod8Bessel curve period
T0.5Smoothing coefficient (0 to 1)
IPCPRICE_WEIGHTED_Applied price type
dK2.0Standard deviation channel multiplier
std_period9Standard deviation period
SignalBar1Signal bar index (0 for current bar)

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.