Exp_Bezier_ReOpen
This EA trades based on Bezier curve smoothing of price data to identify trend direction, with a ReOpen feature that allows adding positions when the trend continues. It generates buy/sell signals when the smoothed Bezier curve crosses price or when its slope changes direction, and manages multiple entries along a confirmed trend.
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 | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.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 strategy core uses Bezier curve smoothing on price series to filter short-term noise and identify the main trend direction. Entry conditions trigger a buy when the Bezier curve slope turns from negative to positive, and a sell when it turns from positive to negative. The ReOpen mechanism allows additional entries when the trend continues and add-position conditions are met, implementing pyramiding along a confirmed trend. Exit conditions include closing positions on reverse signals and when stop-loss or take-profit levels are reached. Position sizing supports both fixed lot and equity-proportion-based dynamic lot calculation. Money management provides stop-loss distance settings and maximum position limits, though the ReOpen pyramiding mechanism can accumulate large positions during strong trends, increasing drawdown risk.
Strengths
- Bezier curve smoothing effectively reduces price noise, producing higher quality signals
- ReOpen pyramiding mechanism captures full profit potential during strong trends
- Supports both fixed lot and dynamic money management position sizing modes
Weaknesses
- ReOpen pyramiding can cause significant drawdowns on trend reversals
- Bezier curve parameters are sensitive and require re-optimization for different instruments
- Lacks explicit overall position cap and maximum drawdown protection mechanism
Possible improvements
- Add overall position cap and maximum drawdown protection to prevent excessive ReOpen pyramiding
- Introduce volatility-adaptive parameter adjustment so Bezier smoothing dynamically adjusts to market conditions
Risk assessment
Overall risk: Caution
- ReOpen pyramiding can accumulate large positions causing severe losses on trend reversal
- Lacks hard limits on total position size and drawdown
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
BezierDegree | 3 | Bezier curve smoothing degree |
BezierPeriod | 14 | Bezier curve calculation period |
ReOpenEnabled | true | Enable trend continuation re-entry |
MaxReOpens | 3 | Maximum position additions |
ReOpenDistance | 50 | Minimum re-entry distance (points) |
StopLoss | 500 | Stop loss amount, 0 disables overall stop loss |
TakeProfit | 1000 | Hedge pair net profit target in points |
Lots | 0.1 | Hedge order lot size |
MoneyManagement | false | Enable money management dynamic lot size |
RiskPercent | 2.0 | Risk percentage per trade |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.