HEDGEMATRIX · GOLD · BREAKOUT

HedgeMatrix
Gold Breakout

Available

A multi-timeframe gold breakout system built for XAUUSD

It runs independent strategies from one XAUUSD chart and coordinates signal detection, pending orders, position management, risk controls, news protection and weekly trading sessions.

Product
HedgeMatrix Gold Breakout
Version
V1.21
Author
Jones
Instrument
XAUUSD
Chart timeframe
Any timeframe
Current status
V1.21 limited release

PRODUCT POSITIONING

Overview

HedgeMatrix Gold Breakout is a multi-timeframe breakout Expert Advisor designed specifically for gold. It runs a diversified group of independent strategies from a single XAUUSD chart and uses one shared engine for signal detection, pending-order execution, position management, risk controls, news protection and weekly trading sessions.

Each internal strategy has its own trade identity, timeframe, swing-detection width, order capacity, position-size weight and exit settings. Because the strategies react to different market structures, the portfolio is less dependent on one timeframe or one breakout width.

STRATEGY OVERVIEW

Core trading logic

The EA identifies confirmed swing highs and swing lows on H4, H8, H12 and D1, then builds breakout signals around those structures.

01

Multi-timeframe swing structure

A break above a valid swing high may produce a long setup; a break below a valid swing low may produce a short setup.

02

Structure validity management

Swings that have expired, already broken or fallen outside the lookback window are removed, and one swing source cannot be reused indefinitely.

03

Independent strategy coordination

Every strategy manages its own pending orders, positions and exit state, including stop loss, take profit, break-even, trailing-stop and recovery protection.

Four V1.21 entry modes

Choose Market execution, Limit retest, Stop breakout (default) or Stop Limit retrace. Limit and triggered Stop Limit orders may wait for a long time or never fill; changing the mode changes fill timing, slippage and risk.

Trade isolation

The default base magic number is 26090801. Consecutive, unique trade identifiers are assigned to internal strategies. Default order comments run from HedgeMatrix Gold Breakout #01 through #32, isolating the EA from manual trades and other automated systems.

ENTRY PERMISSIONS

Trade direction controls

  • Allow long trades and buy pending orders: controls the buy side.
  • Allow short trades and sell pending orders: controls the sell side.
  • Allow new entries: acts as the master entry switch.

POSITION MANAGEMENT

Risk and position sizing

The EA provides fixed-lot and balance-step position-sizing modes.

Fixed lot size

Specify the requested lot size per order

Every order uses the value under Starting / Fixed Lot Size, followed by the global risk multiplier and the hard per-order lot cap.

  • Lot-size mode: Fixed Lot Size
  • Starting / Fixed Lot Size: 0.01
  • Hard Maximum Lot Size: 0.01
  • Global Risk Multiplier: 1.0
Balance-step sizing

Scale automatically with sizing capital

Each strategy has its own capital weight. The result is subject to the minimum starting lot, hard per-order maximum, broker volume step and margin protection.

Strategy lot = built-in lot at 10,000 × sizing capital ÷ 10,000 × global risk multiplier

In balance-step mode, Starting / Fixed Lot Size is a minimum order size. Hard Maximum Lot Size caps each order, not the EA's combined exposure.

Sizing-capital controls

Use equity for lot sizing

Uses equity when enabled and balance when disabled.

OnlyUp

Allows the sizing base to rise at a new high but prevents it from falling after a drawdown.

Restore peak from history

Restores the capital peak from trade history and saved terminal state after restart.

Peak lookback days

Limits the initialization history window; 0 means all available history.

Manual capital for lot sizing

A value above 0 forces the sizing capital; 0 uses live account capital.

Minimum change before update

Updates cached order sizes only after the selected percentage change.

Global risk multiplier

Scales the calculated size of every strategy.

Hard maximum lot size

Caps each individual order regardless of account size.

OnlyUp can preserve a previous high-water sizing base during a drawdown, making effective risk more aggressive.

TRADING PROTECTION

Margin, news and weekly sessions

01

Margin protection

Enabled by default. Existing same-direction pending orders are treated as potential market exposure in the margin budget; the EA can reduce or reject a new order when required.

02

News filter

NFP, CPI and IR / FOMC decisions have independent protection settings, including whether positions close and pending orders are removed before an event.

03

Weekly trading session

Monday-open and Friday-close boundaries can be configured separately. Outside the window, the EA can block entries, remove its orders or close its positions.

V1.21 reads high-impact US events from MetaTrader 5's built-in economic calendar and uses the server timestamps supplied by the platform. Manual and automatic GMT inputs remain as compatibility fields and do not currently alter the built-in calendar window calculation.

Weekly-session controls can reduce exposure to weekend closures and reopening gaps.

ACCOUNT RULES

Prop-firm controls

The prop-firm compliance module is disabled by default. Its master switch can enable maximum daily equity drawdown, maximum daily loss, a daily reset hour, a safety buffer and a no-hedging rule.

Direct numeric controls

  • Maximum total EA pending orders: a value above 0 caps pending orders owned by this EA.
  • Maximum randomized entry offset: a value above 0 adds a randomized price shift to new pending orders.

LICENSING

Online authorization

Live trading uses online licensing. After an activation code is entered, the authorization state is checked periodically.

Valid authorization

New entries and existing-risk management are enabled.

Expired or unavailable authorization

New risk is frozen and this EA's pending orders are removed.

Existing positions

Necessary risk management continues while authorization is temporarily unavailable.

Strategy Tester

A separate unrestricted testing path is entered before live credentials or production services are accessed.

MetaTrader 5 WebRequest allowlisthttps://api.t5hedgematrix.com

INPUTS

Input interface

Functional input labels follow the selected Chinese or English build. Author, contact, WeChat and version information are locked one-option selectors. If a manually edited SET file injects another raw value, initialization is rejected as invalid.

The small checkbox on the left of a MetaTrader 5 input row is an optimization-selection checkbox, not an on/off control. The function state is the value shown in the right-hand column.

RUNTIME GUIDANCE

Recommended environment

Instrument
XAUUSD
Chart timeframe
Any; the EA loads the timeframes required by its internal strategies
Account type
A low-spread account with stable ECN / RAW execution is preferred
Trading permissions
MetaTrader automated trading and EA trading permissions must be enabled
Hosting
A stable VPS is recommended for continuous weekday operation
First use
Verify symbol suffixes, contract size, minimum lot, margin requirements and execution costs in the Strategy Tester or on a demo account

IMPORTANT

Risk disclosure

Gold can experience sharp volatility, price gaps, slippage and rapid changes in liquidity. A multi-strategy system may have several pending orders trigger within a short period. A per-order lot cap is not a cap on total account exposure.

Historical tests, engineering validation and parameter sets do not guarantee future returns. Users are responsible for selecting risk settings appropriate for their balance, leverage, broker specifications and personal risk tolerance, and accept responsibility for all trading outcomes.

PRODUCTION RELEASE

HedgeMatrix Gold Breakout V1.21 is available

V1.21 retains the four entry-order modes with Stop as the default and adds bounded handling of temporary authorization faults. New entries pause; eligible existing owned pending orders may remain briefly. Customers can download the selected EX5 after purchase. Test SET files are not production defaults, and exact-build real-tick preflight is pending.