Saturday, November 8, 2025
HomeStockAll-In-One Breakout EA Settings Defined & Setfiles - Different - 8 November...

All-In-One Breakout EA Settings Defined & Setfiles – Different – 8 November 2025

All-In-One Breakout EA – Settings Defined and Setfiles

Vital Hyperlinks
Obtain Demo Trial and Purchase
About Breakout Technique

Setfiles

Obtain the setfiles pack from right here for model 2.000 and above:

Earlier than backtesting along with your dealer account, it is very important change the daylight saving timezone in Part 14 of the EA settings.

Optimisation

Obtain the optimisation .ini pack from right here:


Settings

1. Cash Administration

These settings management how the EA manages place sizing and threat.

Cash Administration Kind (MMType)

Mounted Lot Dimension (MMByFixed)
Makes use of a set lot measurement for all trades.
Instance: MMFixed = 0.20 → each commerce makes use of 0.20 tons.

Fairness Ratio (MMByEquityRatio)
Calculates lot measurement primarily based on a ratio of fairness (0.01 lot per $100 fairness).
Instance: MMEquityRatio = 100 , Fairness = $1,000 → (1000 / 100) × 0.01 = 0.10 tons.

Steadiness Ratio (MMByBalanceRatio)
Calculates lot measurement primarily based on account stability (0.01 lot per $100 stability).
Instance: MMBalanceRatio = 200 , Steadiness = $5,000 → (5000 / 200) × 0.01 = 0.25 tons.

Danger Share (MMByRiskPC)
Calculates lot measurement primarily based on the share of fairness risked per commerce.
Instance: MMRiskPC = 2 , Fairness = $10,000, SL = 50 factors → threat = $200 = 2%, lot measurement = 4.00 tons.

Mounted Greenback Loss (MMByFixedDollar)
Dangers a set greenback quantity per commerce. Very best for controlling most loss.
Instance: MMFixedDollar = 125 , Account = $25,000 → every commerce dangers 0.5%.

2. Field Time

This part defines the time window used to type the breakout vary. The EA measures the excessive/low (or shut/shut) inside this window and units breakout ranges accordingly.

Field Timeframe (TimeframeRange)

Specifies which timeframe is used to construct the field.
Instance: PERIOD_M5 → field primarily based on 5-minute candles.

Field Kind (BoxType)

  • Excessive/Low (HighLow): makes use of highest excessive & lowest low.
  • Assist/Resistance (HighLowClosed): makes use of highest shut & lowest shut.

Field Anchor (BoxAnchor)

Defines how the EA interprets your time vary:

  • RangeStart: field begins on the given time, ends after the length.
  • RangeEnd: field ends on the given time, begins by subtracting the length.

Field Begin / Finish Time

  • RangeStartHour, RangeStartMinute, RangeStartSecond → defines begin time.
  • RangeEndHour, RangeEndMinute, RangeEndSecond → defines finish time or length, relying on anchor.

Examples:
Begin = 02:00, Period = 5h30m → Field = 02:00–07:30
Finish = 07:30, Period = 4h00m → Field = 03:30–07:30

Randomised Field Time

  • Allow Randomisation (RandomRange): randomises begin and finish instances.
  • Random Vary Delta (RangeSecondDelta): most ±seconds shift.

Instance: RangeSecondDelta = 180 → as much as ±3-minute variation.

2.1 Field Methodology

Defines volatility-based calculation for field metrics.

  • ATR Timeframe (ATRTF): timeframe used to calculate ATR.
  • ATR Interval (ATRPeriod): variety of candles (e.g., 14).
  • ADR Interval (ADRPeriod): variety of days for common every day vary.

Instance: ADRPeriod = 20 → common of final 20 every day ranges.

2.2 Field Offset

Offsets are utilized to field boundaries to regulate entry ranges.

Field Offset Kind (OffsetType)

  • OffsetOff: no adjustment.
  • Mounted Level: provides/subtracts fastened factors.
    Instance: +20 → entry 20 pts above; –13 → 13 pts beneath.
  • Mounted Share: proportion of field measurement.
    Instance: 10% of 100 pts field → ±10 pts.
  • ATR: proportion of ATR worth.
  • ADR: proportion of ADR.
  • Worth: proportion of present worth.

Random Offset Kind (RandomOffset)

  • Off: none.
  • By Level: random shift by fastened factors.
  • By Share: random shift by % of field measurement.

Instance: RandomOffsetPC = 10 → ±10 pts randomisation.

2.3 Field Vary Filter

Restricts buying and selling to packing containers inside a desired volatility vary.

Vary Filter Kind (RangeType)

  • Off: no filter.
  • Mounted Level: minimal & most in factors.
  • ATR: vary as % of ATR.
  • ADR: vary as % of ADR.
  • Worth: vary as % of present worth.

Instance:
MinRangePoint = 40 , MaxRangePoint = 100 → commerce solely when field = 40–100 pts.

3. Cancel Orders

Defines when untriggered pending orders shall be cancelled.

Cancel Period

CancelOrdersHour, CancelOrdersMinute, CancelOrdersSecond
Time added to field finish earlier than pending orders are cancelled.

Randomisation

  • Allow (RandomCancelOrder): true/false.
  • Variation (CancelOrderSecondDelta): ±seconds adjustment.

Instance:
Field ends 07:30 → Cancel + 6 h = 13:30
CancelOrderSecondDelta = 180 → cancel between 13:27–13:33.

4. Shut Positions

Defines when open positions are force-closed after the cancel interval.

Shut Kind (CloseType)

  • CloseByTime: power shut at precise time.
  • CloseByTP: shut solely on Take Revenue.
  • CloseByTP_Time: shut by TP or time, whichever comes first.

Period

ClosePositionsHour, ClosePositionsMinute, ClosePositionsSecond
Period after cancel time.

Randomisation

  • Allow (RandomClosePosition): true/false.
  • Variation (ClosePositionSecondDelta): ±seconds variation.

Instance:
Cancel = 13:30 → Shut + 2 h = 15:30 ± 3 min → 15:27–15:33.

5. Cease Loss

Defines how cease loss is calculated.

Cease Loss Kind (SLType)

  • Field Issue: a number of of field measurement.
  • Mounted Level: precise factors.
  • ATR-Primarily based: % of ATR.
  • ADR-Primarily based: % of ADR.
  • Worth Issue: % of present worth.
  • Off: no cease loss (extremely dangerous).

Random Cease Loss (RandomSL)

  • Off: none.
  • By Level: ±factors round base SL.
  • By Share: ±% round base SL.

Instance: base 100 pts, ±10% → SL = 90–110 pts.

6. Take Revenue

Defines how take revenue is calculated.

Take Revenue Kind (TPType)

  • Cease-Loss Issue: a number of of SL (risk-reward ratio).
  • Mounted Level: precise distance.
  • ATR-Primarily based: % of ATR.
  • ADR-Primarily based: % of ADR.
  • Worth Issue: % of worth.
  • Off: no take revenue.

Random Take Revenue (RandomTP)

  • Off: none.
  • By Level: ±factors randomisation.
  • By Share: ±% randomisation.

Instance: base 100 pts, ±10% → TP = 90–110 pts.

7. Trailing Cease

Adjusts cease loss dynamically as worth strikes favourably.

Trailing Cease Change

Permits/disables trailing cease.

Trailing Cease Kind (TSType)

  • By Cease-Loss %: % of preliminary SL.
  • Mounted Level: fastened factors.
  • ATR/ADR-Primarily based: % of ATR/ADR.
  • Worth %: % of worth.

Path Activation

  • Path % (Path): portion of distance used to set off path.
  • Above Break-Even Change (Trail_Above_Switch): allow trailing solely past BE.
  • Above Issue (Trail_Above): how far past BE earlier than path prompts.

Random Trailing Cease (RandomTS)

  • Off: none.
  • By Level / %: random variation to trailing cease.

8. Trades

Controls common commerce conduct.

Cancel Reverse Orders (COO_Switch)

When enabled, reverse pending orders are cancelled as soon as one facet is triggered.

Commerce Path (BorS)

  • Purchase and Promote: each instructions.
  • Purchase Solely / Promote Solely: limit to 1 facet.
  • Off: disable buying and selling.

Most Trades

  • Max Lengthy Trades: most every day purchase orders.
  • Max Brief Trades: most every day promote orders.
  • Max Whole Trades: complete every day restrict.

Minimal Time Between Trades (NextOpenTradeAfterSeconds)

Defines the cooldown time (in seconds) after a place is closed earlier than a brand new one might be opened.
Prevents fast re-entries and helps handle buying and selling frequency.

Examples:
0 = no wait.
600 = 10 minutes.
3600 = 1 hour.

9. Day to Commerce

Select which weekdays the EA could commerce.

Every enter ( TradeMonday , TradeTuesday , …) = true/false.

Instance: TradeMonday = true, TradeFriday = false → trades Monday to Thursday solely.

10. Confluence

Provides pattern and volatility confirmations.

3 Transferring Averages Filter

  • Allow (CMASwitch)
  • Timeframe (MAATF)
  • Methodology (MAMethod)
  • Quick/Medium/Gradual Durations (CMA1Period, CMA2Period, CMA3Period)

Entry provided that MAs align in the identical path (e.g., 21 > 50 > 200 for uptrend).

ADI Filter

  • Allow (CADISwitch)
  • Timeframe / Interval (CADITF / CADIPeriod)
  • ADX Threshold (CADIMainLevel)
  • DI Ranges & Distinction (CADILevel / CADIDiff)

Ensures DI+ vs DI− and ADX verify directional energy (DI+ for uptrend and DI− for downtrend).

ADR Filter

  • Allow (CADRSwitch)
  • Timeframe (CADRTF)
  • Interval (CADRPeriod)
  • Min/Max ADR Ranges (CADRLevelMin / CADRLevelMax)

Trades solely when every day volatility is inside an outlined vary.

Bollinger Bands Filter

  • Allow (CBBSwitch)
  • Timeframe (CBBRTF)
  • Interval / Deviation / Min Max Width (CBBPeriod / CBBDev / CBBLevelMin / CBBLevelMax)

Permits trades solely when Bollinger band width is inside a wholesome volatility vary.

11. Common Settings

Magic Quantity (MagicNumber)
Distinctive identifier for the EA’s trades.  When you chart extra the 1 image in a MT5 terminal, be sure to change the magic quantity to one thing distinctive.

EA Remark (EaOrderComment)
Customized textual content tag added to every order. You could wish to change this.

Chart Remark (ChartComment)
Present/conceal dynamic on-chart standing.

Debug Messages (DebugSwitch)
Allow or disable detailed log messages.

12. Visible Settings

Controls how the EA attracts packing containers, labels, and statistics.

  • RangeColor: principal field coloration.
  • StopColor / CancelColor: colours for cease/cancel traces.
  • DayOpenColor: coloration for every day open line.
  • UpperBoxColor / LowerBoxColor: colours for field edges.
  • ShowInfo: toggle on-chart information.
  • TextSize / TextColor / BoxColor: font measurement, coloration, and information field background.

13. Commerce Classes Indicator

Shows the beginning of key market classes on the chart.

  • Allow (TradeSessionsIndicatorSwitch)
  • Tokyo Begin (JP_Start_Hour)
  • London Begin (LD_Start_Hour)
  • New York Begin (NY_Start_Hour)
  • Spacing: vertical distance between session labels.

Thick line = session begin, skinny line = session finish.

Typical dealer server (GMT+2 / 3):
Tokyo = 2    London = 10    New York = 15

Alter these in case your dealer server makes use of a distinct timezone.

14. Backtest & Optimisation

Quick Backtest Mode (FastBacktest)

Select optimisation shortcut:

  • T-Kind: skips redundant ticks for velocity.
  • S-Kind: simplified candle-based logic.
  • Off: full tick simulation.

Take a look at Interval (TInt)

Defines spacing between take a look at steps for T-Kind mode.

Dealer Time Offsets

For proper backtest, these 2 parameters have to be modified in case your dealer server is totally different from GMT+2. Defines your dealer’s server-to-GMT offset:

  • WinterOffset: regular season offset.  
  • SummerOffset: daylight-saving offset.

Examples:
ICMarkets: Winter = 2.0, Summer season = 3.0
Exness: Winter = 0, Summer season = 1

This ensures your field and session instances stay correct when moved throughout brokers or seasons.

Trailing Step Validation

  • MinTrailingStepCheck: allow or disable optimisation security examine.
  • MinTrailingStep: minimal logical step measurement in factors.

Prevents unrealistic trailing configurations (e.g., trailing smaller than unfold).
Advisable: allow examine and set MinTrailingStep ≈ 1.5 – 3× typical unfold.

You probably have query relating to this EA, you possibly can contact me at:
https://www.mql5.com/en/customers/rodeong

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments