Gold Breakout Sentinel Pro
- Experts
-
Allan Aparece Ninal
Sviluppo indicatori ed Expert Advisor per MetaTrader 5.
Come lavoro:
- Ogni indicatore viene controllato contro il repainting: i segnali vengono decisi solo su barre chiuse, e un test su ogni tick conferma che non cambiano in seguito. - Versione: 1.20
- Aggiornato: 2 novembre 2026
- Attivazioni: 10
Gold Breakout Sentinel Pro is an Expert Advisor for MetaTrader 5 that trades XAUUSD on the H1 chart around a daily breakout entry. It adds risk-based position sizing, account protection and news, time and spread filters. It also has trade management, panel buttons and push alerts.
Rules-based, not a profit promise. My own tests found no proven edge. The entry rule is that of the free edition. This page covers what Pro adds around it.
Built for gold. Gold is what this EA was designed and tested on, and it works best there. The tested setting is XAUUSD H1 with the default inputs. It will also trade other symbols, but in my tests the rules were not profitable on 36 others.
Quick start
- Enable Algo Trading and attach the EA to an XAUUSD H1 chart.
- Choose the Lot size mode and the Risk level, then check the Lot and Risk rows on the panel.
- Review the protection. The daily loss limit (3%) and the maximum drawdown stop (20%) are on by default.
- For push alerts, enter your MetaQuotes ID in the terminal options. Test on demo first.
Standalone: everything is built in. You do not need to buy or install any other product named on this page.
What you see on the chart
- An info panel: Lot and Risk rows, protection status, active filters and next high-impact news.
- Buttons: cancel waiting orders, close the trade, pause or resume, export trades to CSV.
- Yesterday's high and low, and an arrow at each signal.
Entry and exit rule
A stochastic turn plus a Bollinger Band filter arms a buy stop at yesterday's high or a sell stop at yesterday's low. Stop and target are 1.9% of the entry price each. Unfilled orders are deleted after 9 bars. No grid, no martingale, no averaging.
Position sizing
- Risk level: Safe 1%, Medium 2%, High 3%, Very high 5% lost if the stop is hit, or a custom percent. It is based on balance (default) or equity.
- The lot is worked out per order from the stop distance, never below the broker's minimum. A fixed lot is also available.
Protection, filters and management
- Daily loss limit (3% of the day's starting balance) and maximum drawdown stop (20% from peak equity, optionally closing open trades). A daily profit target and trade limit are optional.
- News filter, off by default: pauses new orders around high-impact USD events. It can cancel waiting orders and close trades before the release. It uses the MetaTrader calendar, and a built-in 2020 to 2026 calendar in the Strategy Tester.
- Time filter (days, hours, Friday cut-off) and optional spread guard (off by default).
- Optional break-even, trailing stop, partial close and cancel-other-order (off by default). Push and e-mail alerts (push on, e-mail off).
Who it is for / not for
For traders who want to size gold breakout trades by risk with guard rails, and will test on demo first. Not for anyone expecting a proven result, other symbols, or a signal indicator.
Inputs
| Input | Default |
|---|---|
| Lot size mode / fixed lot | Risk level / 0.01 - risk level or fixed lot |
| Risk level / custom risk % / risk based on | Safe (1%) / 1.0 / Balance - percent lost at the stop |
| Daily loss limit % / daily profit target % / max drawdown % | 3 / 0 / 20 - 0 is off |
| Close trades at max drawdown / resume after stop / cancel other stop order | false each |
| Max new trades a day | 0 - 0 is no limit |
| Break-even / trailing / partial close at x times the stop distance | 0 / 0 / 0 - 0 is off; partial close is 50% of the volume |
| News filter | false; minutes before / after - 30 / 30; close trades minutes before - -1 (off) |
| Trading days Monday to Friday | true; orders from hour / until hour - 0 / 24; Friday stop hour - 0 (off); max spread, % of price - 0 (off) |
| Allow live trading on symbols other than XAUUSD | true |
| Strategy: magic 260931, Bollinger 9, stochastic 23 / 3 / 7, stop and target 1.9, expiry 9 bars; broker clock Auto | - |
| Dry run: alert each signal, open no trades | false – when on, no trade is opened; each signal is sent as an alert |
| Dry run: pop-up alert with sound | true – pop-up with sound; used only when dry run is on |
| Dry run: push to phone | true – needs your MetaQuotes ID; used only when dry run is on |
| Debug log for bug reports | false |
Push alerts need your MetaQuotes ID in the terminal options. The defaults are the settings used for the checks below.
Use and limits
Enable Algo Trading, attach to an XAUUSD chart and check the Lot and Risk rows first. It also trades other symbols by default. The Strategy Tester accepts any symbol.
Automatic trading or signals only
By default the EA trades by itself: it opens each trade when its rule fires and manages the stop. If you prefer to decide each entry yourself, set "Dry run: alert each signal, open no trades" to true.
- With dry run on, the EA opens no trade and changes no stop. Each signal arrives as one alert with the direction, symbol, timeframe, price, stop-loss, take-profit (where the rule has one) and lot size the EA would have used.
- The alert is a pop-up with sound in the terminal and/or a push notification to your phone. Both are on when dry run is on; switch either one off in the inputs. Each signal is also written to the Experts log.
- You review the signal on your side and decide whether to enter by hand.
- For push on your phone: install the MetaTrader mobile app, find your MetaQuotes ID in its settings, and enter it in the terminal under Tools > Options > Notifications.
- In dry run the EA does not manage trades, including trades you open by hand.
- Dry run is off by default. In the Strategy Tester it only writes to the log.
How it was checked
- Code checks (release check, 1.15 and 1.16 builds): validation-style runs, no error lines. Non-repainting check: 400 identical signals between every-tick and 1-minute OHLC models.
- News options (1.17), Python and MetaTrader tests, 2020 to 2026: the result with the filter off was higher than with pauses or closing before news. This is why it is off by default.
- Backtest (Python reproduction). Data: XAUUSD H1 broker history, January 2021 to October 2026, 10,000 USD, spread, commission and swap included. Worst balance drawdown 5% at Safe, 13% at Medium, 19% at High, 32% at Very high. Over 2009 to 2026: 19%, 39%, 56%, 79%. The settings lost money over 2009 to 2020 (profit factor 0.94).
How to test in the Strategy Tester
- Open the Strategy Tester (Ctrl+R, or View > Strategy Tester).
- Choose Gold Breakout Sentinel Pro as the Expert Advisor.
- Set Symbol and Timeframe to those of the preset you want to test.
- Set the model to "1 minute OHLC", the model my tests used.
- Choose a date range, for example 2023.07.01 to 2026.10.01.
- Use a deposit and leverage close to your own account.
- Open the Inputs tab, make the changes below, and start the test.
| Preset | Inputs to change from the defaults |
|---|---|
| XAUUSD H1 | None |
The default inputs already are the XAUUSD H1 preset, so that one needs no changes.
You can try other settings the same way. The tester ignores any live-only option, and a test of other settings is not a validated preset. A backtest describes the past only.
Works well with
These are workflow suggestions. I have not found that any pair gives better trading results. You do not need any of them.
Do not combine this EA with Prop Rules Guard MT5. The EA does not read the Guard's lock. After the Guard closes its trades, the EA can enter again and be closed again until the daily reset. Rely on the EA's own daily loss and drawdown limits. If you use both anyway, set the EA's limit below the Guard's buffer.
| Product | How to use them together | Why |
|---|---|---|
| Prop Rules Monitor | Attach it to one chart of the account while the EA runs. | It shows your distance to a prop firm's limits. It only watches and never closes anything. |
| EA Health Monitor | Give the EA its own magic number in its inputs. Attach the monitor to one chart of the account. | It shows one row per magic number, so you can read this EA's trades on their own. |
| Risk Position Tool | Put the signal on the chart. Drag the entry and stop lines of the tool. It gives the lot for your risk. | It separates where you enter from how much you risk. The tool places no orders. |
| EA Health Monitor Pro | Same set-up as the free monitor. | It adds alarms for floating loss, a silent EA and Algo Trading off. |
Free and Pro: Gold Breakout Sentinel and this EA share the default magic number 260931. Do not run both on the same symbol and timeframe.
Several gold Expert Advisors follow the same market. Running them together adds to one exposure; this is not a tested diversification.
Related products
- Gold Breakout Sentinel: the free edition, with the same entry and a fixed 0.01 lot.
- Prior Day Breakout Pro: an EA that trades the break of the previous-day high or low on XAUEUR. It computes the levels itself.
- Gold Breakout Sentinel Pro MT4: the same Expert Advisor for MetaTrader 4.
- All my products on MQL5
Questions
Does it repaint? No, it acts only on closed H1 bars.
Can I test it first? Yes, in the tester and on demo.
Can I use it on other symbols? It will trade them by default, but the rules were not profitable on 36 other symbols.
Do higher risk levels help? They multiply losing streaks too. Start with Safe.
Can two trades be open at once? On a hedging account, yes, unless the cancel-other option is on.
How do I report a problem? Turn on the debug log and send me the DBG lines from the Experts tab with your inputs.
What is the free edition? Gold Breakout Sentinel uses the same entry with a fixed 0.01 lot and none of this.
Reporting a bug or error
- In the inputs, set "Debug log for bug reports" to true.
- Leave the EA running until the problem happens.
- Open the Experts tab in the Toolbox, right-click in the log and choose Copy (or open the log folder from the same menu).
- Send it as a comment on this product page or as a LinkedIn message, with the symbol, timeframe, EA version and what you expected to happen.
The debug log never contains your login, name, server, balance or equity. Set it back to false afterwards.
If it helps your trading, a short review on this page helps other traders find it.
Questions: use the comments on this page or send me a message on MQL5.
Trading gold with leveraged products carries a high risk of loss, and past results do not predict future ones.
