Gold Breakout Quant X MT5
- Experts
- 버전: 1.1
- 업데이트됨: 12 10월 2026
- 활성화: 10
Quant-X Gold Breakout Expert Advisor with ATR Risk Control for XAUUSD
- Gold Breakout is an Expert Advisor for XAUUSD that trades confirmed range breakouts. It measures a consolidation range on completed bars, waits for price to move beyond the range boundary, and manages every position with a stop loss defined at entry, an optional trailing stop and optional partial profit taking. There is no grid, no martingale and no averaging down.
How the EA works
- Range detection
The EA scans the last PivotLength completed bars of the current chart timeframe and takes the highest high and the lowest low of that window. The window is accepted only when its height is at least one ATR value, so narrow windows that sit inside normal daily noise are skipped. An accepted range is locked and is not recalculated while price remains inside it. It is released when a trade opens, when the engine is restarted, or when a range rescan is requested from the panel. The chart displays the upper and lower boundary, the 50 percent equilibrium level and the shaded consolidation area.
Entry conditions
A long entry requires the current bid and the current bar close to be above the range high, and the bid to stay within the zone that extends no more than 0.5 ATR beyond that boundary. A short entry uses the mirrored condition below the range low. Confining the entry to this zone limits how far price may travel between the signal and the order, and it removes signals that only appear after the move has already developed.
The EA also blocks entries while an order is still being processed, when the account or terminal does not permit trading, when the daily trade limit is reached, when a previous attempt failed within the last 60 seconds, and when a position of another strategy is open on the same symbol on a netting account.
Stop loss, take profit and position size
The stop loss and the take profit are configured independently. Each of them can use a manual distance in pips, or a calculated value.
Stop loss:
- manual distance in pips, or the opposite range boundary plus ATR_Period multiplied by ATR_SL_Multiplier
Take profit:
- manual distance in pips, or the stop distance multiplied by TP_Ratio, for example 1.5 or 2.0
The lot size is calculated from the stop distance that the order actually receives, after the current price and the spread are applied.
Position size modes:
- Fixed lot size
- Risk percent of balance
- Balance multiplier, with the profiles Safe, Normal, Medium, High and Aggressive, which correspond to 0.01 lot per 1000, 500, 300, 200 and 100 USD of balance
Enable UseStrictRiskSizing so that the requested Risk percent is applied as a limit. With this option off, the EA keeps its previous sizing behaviour and the Risk percent value is not a hard cap. It is recommended to keep strict sizing on.
Trade limits:
- Maximum Open Trades, which must be 1 on a netting account
- Maximum Trades Per Day, counted from the account history and restored after a restart
- Minimum Stop Distance in points - A 60 second cooldown after a failed order attempt
Trade management
Trailing stop
- Two trailing modes are available. Both require an activation level before the stop moves, and both apply a trailing distance and a minimum improvement step.
The stop is only moved in the favourable direction.
- ATR mode: activation and trailing distance are expressed in ATR units and adjust with current volatility
- Pip mode: activation and trailing distance are fixed values in pips
- It closes a chosen percentage of the position when a chosen multiple of the initial risk is reached, and leaves the remaining volume under the trailing stop.
End of day close
This function is optional.
- It closes all positions of this EA at a set hour in broker time.
Manual actions from the panel
- move the stop of open positions to the entry price
- close half of the open volume
- halt new entries and close all positions of this EA
Filters
Session, spread and volatility filters
- Time filter: trading hours defined in broker time
- Spread filter: maximum allowed spread
ATR filter: minimum accepted ATR value These three filters are optional and are turned off in the delivered settings.
Economic calendar filter
- The news filter uses the economic calendar built into MetaTrader 5. It can pause new entries before a scheduled event, keep trading closed for a period after the event, and close open positions shortly before the release. Events can be limited to selected currencies, and the filter can be set to high impact events only or to moderate and high impact events. The calendar clock is compared with server time, and the event list is refreshed automatically when the broker timezone or the connection changes.
- The news filter runs in live trading only. It is inactive in the Strategy Tester, so backtest results do not include the news pauses. Verify this behaviour separately on a demo account.
Dashboard and chart display
- The on-chart panel shows the balance, equity, floating result of this EA, free margin, margin level, open trade count and volume, trades taken today, the active risk settings, the range levels, the current position inside the range, the spread, the ATR value and the next scheduled event. It can be moved with the mouse, minimised, hidden and reopened with the P key, and it adjusts its size to fit the chart.
- The status badge reports the reason when entries are currently paused, such as a news window, a spread limit or a reached trade limit. Clicking it requests a range rescan, or resumes the engine when it is halted. An optional dark chart theme can be applied.
- When the Expert Advisor is removed, the original chart settings are restored and the objects created by the Expert Advisor are deleted.
Recommended settings
- Symbol: XAUUSD
- Timeframe: Any TF byt the best safty is M30 or H1, with H1 preferred
- Account type: standard or ECN account with a competitive spread on XAUUSD
- Leverage: the value required by your broker, with free margin checked before every order
- A VPS or a reliable internet connection is recommended for continuous operation
- Minimuim Deposit : 100$
Deposit guidance
The relevant figure is the distance between entry and stop loss. With the default stop of 1500 pips on XAUUSD, one 0.01 lot position can lose about 15 USD in a single stop out. At a risk setting of 2 percent, an account of roughly 750 USD is required to keep that single loss within budget, and at 1 percent roughly 1500 USD. Please select the risk percent and the stop distance together instead of relying on a minimum deposit figure alone.
Risk warning Trading leveraged instruments carries a high level of risk and may not be suitable for every user. The loss of the entire deposit is possible. Past performance and backtest results do not guarantee future results. Test the Expert Advisor on a demo account, and on a small live account, before using a meaningful balance. Set a risk percent that you can accept to lose.
Support is provided through the comments section of this product and through private messages on MQL5.com.
