EA-18326 · Breakout

Fractals minimum distance

This EA trades based on Bill Williams' Fractal indicator, entering positions when price breaks above or below fractal levels. It incorporates a minimum distance filter to avoid trading when fractals are too close to current price, reducing false signals. The EA is a systematic breakout strategy that uses fractal structure as dynamic support and resistance levels.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryBreakout
RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsFractals
AuthorCopyright © 2017, Vladimir Karputov

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 strategy uses Bill Williams' Fractal indicator to identify key support and resistance levels in the market. Entry conditions: a buy signal is generated when price breaks above an upper fractal, and a sell signal when price breaks below a lower fractal, provided the distance between the breakout price and the fractal meets the minimum distance threshold to filter out weak signals. Exit conditions rely on fixed take-profit and stop-loss levels set at trade entry. Position sizing uses a fixed lot approach with no dynamic scaling based on account equity or volatility. Money management is relatively basic, lacking risk-per-trade percentage calculations or equity-based lot sizing. The overall logic is clean and leverages fractals as natural market structure breakout points, but the absence of a trend direction filter means it can suffer from false breakouts during ranging markets.

Strengths

  • Fractals are a proven market structure identification tool that effectively marks key support and resistance levels
  • The minimum distance filter is a practical innovation that reduces losses from false breakouts
  • The strategy logic is simple and clear with few parameters, making it easy to understand and optimize
  • Entering on fractal breakouts has a natural trend-following property, performing well in trending markets

Weaknesses

  • Lacks a trend direction filter, prone to consecutive false breakout losses in ranging markets
  • Fixed lot position sizing cannot dynamically adjust based on market volatility and account risk
  • No new bar check mechanism, potentially opening duplicate positions on the same bar
  • Stop-loss and take-profit use fixed pip values without considering dynamic volatility indicators like ATR
  • Lacks position management logic such as trailing stops or partial close mechanisms

Possible improvements

  • Add a trend direction filter (e.g., MA or ADX) to only allow breakouts aligned with the prevailing trend
  • Use ATR for dynamic stop-loss and take-profit calculation, and auto-adjust lot size based on account risk percentage
  • Implement new bar check and position check mechanisms to prevent duplicate entries and overtrading

Risk assessment

Overall risk: Medium

  • Lack of trend filter may cause frequent losses in ranging markets
  • Fixed lots and fixed SL/TP do not account for changing market volatility
  • No new bar check may lead to duplicate position opening on the same signal

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation3.0
Documentation2.0
Overall2.5

Parameters

ParameterDefaultDescription
MinDistanceN/AMinimum distance filter between fractal and current price
Lots0.1Fixed lot size per trade
StopLossN/AStop loss in points
TakeProfitN/ATake profit in points
MagicNumberN/AEA magic number for order identification

Similar Breakout 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.