EA-21617 · Breakout

Gaps

This EA trades price gaps (window gaps) that occur between candle closes and opens, entering positions in the direction of gap fill expectation. It identifies gaps on the current timeframe and places market orders expecting the gap to be closed by price retracement.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryBreakout
RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4, D1
IndicatorsPrice Action, Gap Detection
AuthorSFK Corp.

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD-3.56%-3.10%7.29%14445.10%-0.80-0.496−$2.47Reliable
GBPUSD-4.96%-4.33%8.29%14447.60%-0.81-0.606−$3.64Reliable
USDJPY+4.20%+3.64%3.61%14458.70%0.871.165+$2.83Reliable
XAUUSD+2.21%+1.82%64.75%15052.00%0.460.036+$1.47Reliable

Profitable on 2 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 Breakout EAs with a reliable result on the same market: EURUSD: better than 11% of 18 · GBPUSD: better than 17% of 18 · USDJPY: better than 88% of 17 · XAUUSD: better than 47% of 19

Month by month

MarketMonths with a gainBest monthWorst month
EURUSD38%+0.99% 2025-12-1.59% 2026-03
GBPUSD54%+1.85% 2026-07-2.65% 2026-05
USDJPY77%+1.22% 2026-03-1.24% 2026-07
XAUUSD54%+71.05% 2026-08-33.67% 2026-02

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 strategy concept is based on the gap fill theory, which posits that price tends to retrace and fill gaps that occur between candle closes and opens. Entry conditions detect a significant price gap between the current candle open and the previous candle close — an upward gap triggers a sell order expecting gap fill, while a downward gap triggers a buy order. Exit conditions typically involve take-profit at the gap fill level, with stop-loss placed at a calculated distance beyond the gap. Position sizing generally uses fixed lot sizes or a percentage of account equity. Money management may include basic stop-loss and take-profit ratio controls but lacks sophisticated money management modules. The core assumption is that gaps have a high probability of being filled, but in strong trending markets gaps may persist without being filled, leading to losses.

Strengths

  • Gap fill is a statistically validated phenomenon with relatively high win rate across most market conditions
  • Strategy logic is simple and clear, easy to understand and verify, with few parameters for optimization
  • Entry conditions are objective and well-defined, free from subjective judgment, suitable for systematic trading

Weaknesses

  • In strong trending markets gaps may not fill, leading to significant losses
  • Lacks multi-timeframe confirmation, potentially trading false gaps on the wrong timeframe
  • Does not account for the erosion of gap fill profits by trading costs and slippage

Possible improvements

  • Add multi-timeframe gap confirmation mechanism to filter low-quality gap signals
  • Incorporate a trend filter to avoid counter-trend gap fill trading during strong trends

Risk assessment

Overall risk: Medium

  • Gap non-fill risk: In strong trends, gaps may widen instead of filling, triggering stop-losses
  • Weekend gap risk: Monday opening gaps may suffer severe slippage due to low liquidity, making stop-losses ineffective

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.3

Parameters

ParameterDefaultDescription
LotSize0.1Fixed lot size (used when MMRec disabled)
GapMinimumPoints50Minimum gap points threshold; no trade below this
StopLoss200Stop loss in points
TakeProfit100Take profit in points, typically set at gap close
MagicNumber12345EA magic number for order identification
MaxPositions1Maximum simultaneous positions

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.