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 together 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)

Fastened Lot Measurement (MMByFixed)
Makes use of a set lot dimension for all trades.
Instance: MMFixed = 0.20 → each commerce makes use of 0.20 heaps.

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

Stability Ratio (MMByBalanceRatio)
Calculates lot dimension based mostly on account steadiness (0.01 lot per $100 steadiness).
Instance: MMBalanceRatio = 200 , Stability = $5,000 → (5000 / 200) × 0.01 = 0.25 heaps.

Threat Share (MMByRiskPC)
Calculates lot dimension based mostly on the proportion of fairness risked per commerce.
Instance: MMRiskPC = 2 , Fairness = $10,000, SL = 50 factors → threat = $200 = 2%, lot dimension = 4.00 heaps.

Fastened Greenback Loss (MMByFixedDollar)
Dangers a set greenback quantity per commerce. Ideally suited 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 based mostly 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 Technique

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 day by day vary.

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

2.2 Field Offset

Offsets are utilized to field boundaries to regulate entry ranges.

Field Offset Kind (OffsetType)

  • OffsetOff: no adjustment.
  • Fastened Level: provides/subtracts mounted factors.
    Instance: +20 → entry 20 pts above; –13 → 13 pts under.
  • Fastened Share: share of field dimension.
    Instance: 10% of 100 pts field → ±10 pts.
  • ATR: share of ATR worth.
  • ADR: share of ADR.
  • Value: share of present value.

Random Offset Kind (RandomOffset)

  • Off: none.
  • By Level: random shift by mounted factors.
  • By Share: random shift by % of field dimension.

Instance: RandomOffsetPC = 10 → ±10 pts randomisation.

2.3 Field Vary Filter

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

Vary Filter Kind (RangeType)

  • Off: no filter.
  • Fastened Level: minimal & most in factors.
  • ATR: vary as % of ATR.
  • ADR: vary as % of ADR.
  • Value: vary as % of present value.

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

3. Cancel Orders

Defines when untriggered pending orders can 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: drive 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 dimension.
  • Fastened Level: precise factors.
  • ATR-Primarily based: % of ATR.
  • ADR-Primarily based: % of ADR.
  • Value Issue: % of present value.
  • 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).
  • Fastened Level: precise distance.
  • ATR-Primarily based: % of ATR.
  • ADR-Primarily based: % of ADR.
  • Value Issue: % of value.
  • 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 value strikes favourably.

Trailing Cease Swap

Permits/disables trailing cease.

Trailing Cease Kind (TSType)

  • By Cease-Loss %: % of preliminary SL.
  • Fastened Level: mounted factors.
  • ATR/ADR-Primarily based: % of ATR/ADR.
  • Value %: % of value.

Path Activation

  • Path % (Path): portion of distance used to set off path.
  • Above Break-Even Swap (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 normal commerce habits.

Cancel Reverse Orders (COO_Switch)

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

Commerce Course (BorS)

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

Most Trades

  • Max Lengthy Trades: most day by day purchase orders.
  • Max Quick Trades: most day by day promote orders.
  • Max Complete Trades: complete day by day restrict.

Minimal Time Between Trades (NextOpenTradeAfterSeconds)

Defines the cooldown time (in seconds) after a place is closed earlier than a brand new one may 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 Shifting Averages Filter

  • Allow (CMASwitch)
  • Timeframe (MAATF)
  • Technique (MAMethod)
  • Quick/Medium/Gradual Intervals (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 day by 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. Normal Settings

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

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

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

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

12. Visible Settings

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

  • RangeColor: predominant field shade.
  • StopColor / CancelColor: colours for cease/cancel strains.
  • DayOpenColor: shade for day by day open line.
  • UpperBoxColor / LowerBoxColor: colours for field edges.
  • ShowInfo: toggle on-chart information.
  • TextSize / TextColor / BoxColor: font dimension, shade, and information field background.

13. Commerce Classes Indicator

Shows the beginning of key market periods 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 special timezone.

14. Backtest & Optimisation

Quick Backtest Mode (FastBacktest)

Select optimisation shortcut:

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

Take a look at Interval (TInt)

Defines spacing between check steps for T-Kind mode.

Dealer Time Offsets

For proper backtest, these 2 parameters have to be modified in case your dealer server is completely 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 time = 3.0
Exness: Winter = 0, Summer time = 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 test.
  • MinTrailingStep: minimal logical step dimension in factors.

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

When you have query relating to this EA, you’ll be able to 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