← View Product & Pricing
Market-Trader.de · MT5 · Version 5.15

Outbreaker EA for MT5

Outbreaker trades breakouts from a configurable open range and combines pending orders, OCO, flexible stop/TP models and extensive position management.

At a glance: Range 09:01–09:59 · pendings 09:59:45 · Buy Stop + Sell Stop · OCO enabled by default · 1:1 R:R · all weekdays · timed deletion/closing.
Important before you start: Times are broker time. With dynamic risk and two simultaneously prepared directions, risk is split between them.

1. How Outbreaker works

Outbreaker is an open-range breakout EA. It measures the high and low from M1 data between RangeStart and RangeEnd, then prepares breakouts in both directions.

  1. Build the range: default 09:01 to 09:59 broker time.
  2. Pending orders: at 09:59:45 by default, a Buy Stop is placed above the range high and a Sell Stop below the range low; PendingBufferPoints can add extra distance.
  3. Filters: optional MA, spread and maximum-range filters.
  4. OCO: with AllowTwoActiveOrders=false, triggering one direction removes the opposite pending.
  5. Management: optional break-even, trailing, partial close and time-based deletion/closing.

2. Quick start

  1. Install the EA: Select File → Open Data Folder, place the EA file in MQL5/Experts, then refresh the Navigator.
  2. Choose a chart: Open the desired broker symbol on an M1 or M5 chart and attach the EA. Version 5.15 rejects other chart timeframes.
  3. Enable trading: Turn on Algo Trading and the EA's trading permission.
  4. Allow the licence connection: Allow WebRequest for https://market-trader.de.
  5. Review parameters: Check times, lot/risk settings, stops, magic number and filters before the first trade.
  6. Test first: Check the strategy in the Strategy Tester and on a demo account with your own broker.

3. Understanding the settings

SettingDefault
Range09:01–09:59
Pending09:59:45
Delete pending13:00
Close positions22:50
RiskFixed lot 0.10
R:R1:1
StopRange high/low
MA / spread / range filtersoff
WeekdaysMonday–Friday
Show all 66 MT5 inputs
InputDefaultPlain explanation
UniqueID"ORB Session"EA instance identifier used in object, state and order association.
OrderComment"EA-ORB"Base order comment.
RiskMethodRisk_Fixed_LotSizing mode: fixed lots, percentage of balance, or fixed money amount.
RiskValue3Risk percentage or money amount for the dynamic risk modes; the default is 3% or 3 account-currency units.
FixedLot0.10Fixed lot size in fixed-lot mode.
MagicNumber110010Strategy magic number.
SlippagePoints20Requested price deviation in broker points.
CRV_BOXCRV_1_to_1Range-to-profit-box ratio when TP_Points=0.
TP_Points0Fixed TP distance in points; 0 uses the R:R profit box.
StoplossModeInputSL_Range_HighLowStop mode: range high/low, profit-box high/low, or range midpoint.
StoplossPoints0Fixed stop distance in points; >0 overrides the stop mode.
BreakevenEnabledfalseEnable automatic break-even.
BreakevenPoints1000Profit in points required before break-even can be set.
TrailingMethodTrailing_OffTrailing off, with TP, or without TP.
TrailingStartPoints1000Profit threshold in points before trailing starts.
TrailingDistancePoints500Trailing-stop distance in points.
PartialClosePercent0Profit threshold as a percentage of range size for one partial close; 0 = off.
PartialCloseDivider2Divides current volume; e.g. 2 closes about half.
FallbackMarketOrderfalseOptionally enter at market when a pending can no longer legally be placed because price is too close/past the level.
AllowTwoActiveOrdersfalseWhen false, OCO is enforced: triggering one direction removes the opposite pending.
FilterHeader"---- Filters ----"Heading; no trading function.
UseTrendMAfalseEnable MA trend filter.
MAPeriod40MA period.
MAMethodMODE_EMAMA method.
MATimeframePERIOD_H1MA timeframe.
MAShift0MA line shift.
MAPricePRICE_CLOSEMA price source.
MAReferenceShift0Bar used for both MA and close comparison.
SpreadControlfalseEnable spread filter.
MaxSpread1.0Maximum spread in points.
RangeControlfalseEnable maximum-range filter.
MaxRangePoints80Maximum allowed range in points.
PendingBufferPoints0.0Extra pending distance above/below range high/low.
TimeHeader"---- Session Time ----"Heading; no trading function.
RangeStart"09:01"Open-range start in broker time.
RangeEnd"09:59"Open-range end in broker time.
SendPendingAt"09:59:45"Automatic pending placement time.
DeletePendingAtTimetrueEnable time-based pending deletion.
PendingDeleteTime"13:00"Time to delete remaining pending orders.
CloseOpenOrdersAtTimetrueEnable time-based position closing.
OpenOrderCloseTime"22:50"Time to close open positions.
DaysHeader"---- Weekday Filter ----"Heading; no trading function.
TradeMondaytrueTrade Monday.
TradeTuesdaytrueTrade Tuesday.
TradeWednesdaytrueTrade Wednesday.
TradeThursdaytrueTrade Thursday.
TradeFridaytrueTrade Friday.
ChartHeader"---- Chart UI ----"Heading; no trading function.
ShowButtonstrueShow chart buttons.
ButtonFontSize9Button font size.
ButtonTextColorclrWhiteButton text colour.
ShowChartTexttrueShow information text.
TextFontSize8Chart-text font size.
TextColorclrBlackText colour.
RangeColorclrPowderBlueRange fill colour.
RangeExtBoxColorclrPowderBlueRange-extension box colour.
ProfitBoxColorclrSkyBlueProfit-box colour.
ShowFrametrueShow frames.
FrameWidth1Frame width.
RangeBorderColorclrRedRange border colour.
ProfitBorderColorclrSkyBlueProfit border colour.
SplitLineColorclrGoldMidline colour.
ExtraHeader"---- Extra ----"Heading; no trading function.
MaxMarginPercent5.0Maximum percentage of free margin available to the calculated lot size per order (0–100; 0 disables the cap).
DebugModefalseEnable additional debug output.
WriteLogfalseEnable additional log-file output.

Risk modes

Risk_Fixed_Lot uses FixedLot. Risk_Percent uses RiskValue percent of balance; Risk_Money interprets RiskValue as a money amount. When both directions are prepared simultaneously, dynamic risk is divided between them.

Partial close

PartialClosePercent is the profit threshold relative to range size in this version, not the percentage of volume to close. The actual partial volume is determined by PartialCloseDivider.

4. Trading times and session

All times use broker/server time. The range can technically cross midnight; later actions are assigned to the corresponding session.

Automatic pending orders are placed only within an approximately 60-second window beginning at SendPendingAt. Remaining pendings can be deleted from PendingDeleteTime, and open positions can be closed from OpenOrderCloseTime.

5. Position protection and order management

  • Stop: range high/low, profit-box boundary, range midpoint, or fixed point distance.
  • TP: fixed point distance or R:R-based profit box.
  • Break-even: after BreakevenPoints of profit.
  • Trailing: from TrailingStartPoints; TP can either remain or be removed.
  • FallbackMarketOrder: can reproduce a pending entry as a market order when the pending level has become too close/passed for legal placement.
  • Buttons: depending on display settings, Close, BE, Pending and version-check actions are available on the chart.

6. Activation and support

The EA uses the new Market-Trader account-based licensing system. There is no licence key to enter inside the EA.

  1. Allow WebRequest: In MetaTrader, open Tools → Options → Expert Advisors and allow https://market-trader.de.
  2. Start the EA: Attach it to the desired chart. The trading account and product slug are sent automatically to the licence server.
  3. Check the status: VALID allows new trades. If the licence is invalid, new entries remain blocked while existing positions may continue to be managed.

The Strategy Tester and optimisation use TEST MODE. For account activation issues, contact Market-Trader support.

7. Frequently asked questions

Why were no pending orders placed?

Check the licence, trading day, range calculation, SendPendingAt, spread/range filters, broker minimum distances and whether an existing position blocks placement.

Why was the opposite pending deleted?

This is the OCO behaviour when AllowTwoActiveOrders=false.

What does PartialClosePercent mean?

It defines the profit threshold as a percentage of the range. The volume share is controlled by PartialCloseDivider.

Outbreaker EA · MT5 · Version 5.15 · Updated: 23 October 2026

Risk notice: Trading leveraged instruments can cause substantial losses. Profits are not guaranteed. Defaults are not personal risk recommendations. Check the EA and its settings in the Strategy Tester and on a demo account first.

Get Open Range Breakout EA MT5