EA-244 · Breakout

grr-al

This EA monitors each new bar's opening price and trades on a breakout of DELTA points from that level within the same bar. It enters a buy when price moves above the bar open by DELTA points, or a sell when it moves below by DELTA points, with fixed SL/TP and no position management. The strategy is a simple intrabar breakout system with no trailing stops or multi-position logic.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryBreakout
RiskHigh risk
Blow-up riskLow
Rating★☆☆☆☆
TypeTrading EA
TimeframesM1, M5, M15
IndicatorsPrice Action
AuthorIgor Volodin

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 concept is an intrabar breakout trading system that uses the new bar's opening price as a reference level, entering when price breaks away from that level by a defined DELTA within the same bar. Entry conditions: after a new bar forms, if the current bid price exceeds the bar open by DELTA points, a SELL order is placed; if the bid falls below the bar open by DELTA points, a BUY order is placed — notably the logic appears inverted, selling on upward breakouts and buying on downward breakouts, which suggests a possible logic error. Exit conditions use fixed stop loss of 100 points and take profit of 700 points, yielding a risk-reward ratio of 1:7. Position sizing uses a fixed BASELOT of 0.1 when RISK is 0, otherwise calculates lot size based on 90% of free margin multiplied by the RISK factor, capped at the broker's maximum lot. Money management has redundant code (duplicate RISK==0 check) and lacks any check for existing open positions, which could lead to over-trading on strong trending moves.

Strengths

  • Simple and clear strategy logic that is easy to understand and modify
  • Take profit is much larger than stop loss (1:7 risk-reward ratio), where a single win can cover multiple losses
  • Uses magic number to identify orders, preventing conflicts with other EAs
  • Has OrderCheck pre-validation to avoid sending invalid orders
  • Each bar only triggers one breakout signal (br flag control), preventing repeated entries within the same bar

Weaknesses

  • Entry logic appears inverted: sell triggered on price rise and buy triggered on price decline, contradicting typical breakout strategy convention
  • No position check exists, potentially opening duplicate positions in the same direction leading to overexposure
  • Stop loss and take profit use fixed point values without considering ATR or market volatility, causing inconsistent performance across different instruments
  • Duplicate RISK==0 check indicates redundant code
  • Using ORDER_FILLING_FOK may cause full order rejection in illiquid markets
  • Does not account for spread, swap, or other trading costs that impact strategy profitability

Possible improvements

  • Fix the entry logic direction: upward breakout should trigger buy not sell, downward breakout should trigger sell not buy, or explicitly document this as a reversal strategy
  • Add position count checks to limit same-direction or total open positions, preventing overexposure risk
  • Change stop loss and take profit to ATR-based dynamic calculation so the strategy adapts to different instruments and market volatility conditions

Risk assessment

Overall risk: High risk

  • No position check, potentially opening excessive positions during strong trends leading to severe overexposure
  • Entry direction appears inverted, potentially causing positions in the opposite of intended direction and major losses
  • Fixed 100-point stop loss may be too tight for high-volatility instruments and easily triggered by noise
  • Using 90% of free margin for lot calculation when RISK is non-zero can lead to excessive leverage

Evaluation scores

Code quality2.0
Strategy logic2.0
Risk management1.0
Robustness2.0
Innovation1.0
Documentation1.0
Overall1.5

Parameters

ParameterDefaultDescription
MAGIC_NUMBER12937EA magic number for order identification
DEV20Order slippage tolerance in points
RISK0.0Risk coefficient; 0=fixed lots, non-zero=margin percentage lot sizing
BASELOT0.1Base fixed trading lot size
SL100Stop loss distance in points
TP700Take profit distance in points
DELTA30Breakout trigger distance in points from open price

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.