Exp_Fractal_WPR
This EA combines Williams' Fractals and Williams' Percent Range (WPR) indicator to identify breakout entry signals. It opens buy positions when a bullish fractal breakout occurs alongside WPR confirmation, and sell positions on bearish fractal breakouts with WPR validation. The strategy uses fixed lot sizing with configurable stop loss and take profit levels.
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 | — | — | — | — | — | Conversion problem |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Conversion problem |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Conversion problem |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Conversion problem |
Why this EA never traded: it compares lines on different scales (an oscillator against a price level).
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 uses Williams' Fractals to identify price breakout points and combines the WPR indicator for overbought/oversold confirmation to filter false breakouts. Entry conditions require: long entries when price breaks above an upper fractal and WPR is not in overbought territory, short entries when price breaks below a lower fractal and WPR is not in oversold territory. Exit conditions rely on fixed stop loss and take profit settings, lacking trailing stops or dynamic exit mechanisms. Position sizing uses a fixed lot approach without dynamic adjustment based on account balance or market volatility. Money management is simplistic, relying solely on stop loss for per-trade risk control without overall portfolio risk controls such as maximum position limits or drawdown protection.
Strengths
- Dual-indicator combination filters false breakout signals, improving entry quality
- Fractal breakout strategy logic is clear and easy to understand and optimize
- Uses magic number to distinguish orders, avoiding conflicts with other EAs
Weaknesses
- Fixed lot sizing ignores account size and volatility, resulting in crude money management
- Lacks trailing stop and dynamic exit mechanisms, potentially missing profits or enduring unnecessary drawdowns
- No position check or new bar check may cause repeated entries on the same signal
Possible improvements
- Add dynamic position sizing based on account balance or ATR
- Add new bar check to prevent repeated entries on the same signal, and trailing stop to protect profits
- Add overall risk controls such as maximum position count and maximum drawdown limits
Risk assessment
Overall risk: High risk
- No position check may cause repeated entries on the same signal leading to overexposure
- Fixed stop loss ignores market volatility, may trigger frequently in high-volatility environments
- Lacks drawdown protection and maximum position limits, risk uncontrollable in extreme market conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
Lots | 0.1 | Fixed lot size per trade |
StopLoss | 50 | Stop loss in points |
TakeProfit | 100 | Take profit points (10 points) |
WPRPeriod | 14 | Williams %R period |
WPROverbought | -20 | WPRoverbought threshold |
WPROversold | -80 | WPRoversold threshold |
FractalPeriod | 5 | Fractal identification period |
MagicNumber | 12345 | EA magic number for identifying orders |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.