Gold Breakout 15M
- Experts
- Versão: 2.42
- Ativações: 5
Here's a paste-ready description for MQL5 or your website.
Gold Breakout 15M: Session Range Breakout EA for MT5
Gold Breakout 15M is a rules-based Expert Advisor that trades the breakout of the overnight range on XAUUSD (gold). It builds the range from M15 candles, places breakout stop orders at the range edges, and closes everything at the end of the session. It was converted from a TradingView Pine v6 strategy.
How it works
- Range: from the range start hour to the range end hour (default 00:00 to 07:00), it records the highest high and lowest low of the M15 candles.
- Entries: after the range closes, it places a Buy Stop at the range high and a Sell Stop at the range low.
- OCO: when one order fills, the other is cancelled immediately.
- One trade per day: after a trade has opened, no new trades are taken until the next day.
- Stop-loss: either a percentage of the entry price (default 1%) or the opposite side of the range.
- Time exit: open positions and pending orders are closed at the force-close hour (default 20:00).
- No take-profit: the trade runs until the stop-loss or the time exit, as in the original strategy.
Features
- Equity-risk position sizing (default 1% risk per trade) or fixed lots
- Leverage cap to limit notional exposure
- Optional daily equity drawdown guard that closes positions and halts trading for the day
- Broker-server clock or New York + 7 hours clock (includes US daylight saving)
- On-chart range lines, entry and stop levels, trade labels and a status dashboard
- Optional alerts and push notifications
- Capped logging and throttled retries, so it is safe to run in the Strategy Tester
Recommended setup
- Symbol: XAUUSD
- Chart timeframe: M15. The range is always built from M15 data.
- Account: netting or hedging
- Check that the session hours match your broker's server time, or switch to the New York + 7 clock.
Key inputs
| Input | Default | Description |
|---|---|---|
| Range start / end hour | 0 / 7 | Hours used to build the range |
| Force-close hour | 20 | Closes positions and cancels orders |
| Stop mode | % of entry | % of entry or opposite range |
| Stop percent | 1.0 | Stop distance if percent mode is used |
| Size mode | Equity risk | Equity risk or fixed lots |
| Risk percent | 1.0 | Equity risked per trade |
| Max leverage | 10 | Notional-to-equity cap |
| Daily equity guard | Off | Halts trading after a daily drawdown |
| Magic number | 20261024 | Identifies this EA's orders |
Risk disclaimer
Trading leveraged products such as gold carries a high level of risk and can result in losses greater than your deposit. Past or backtested performance does not guarantee future results. Test on a demo account first and use risk settings you can afford.
© 2026 fxsignalspot.com | Telegram: https://t.me/fxsignalspot
If you tell me where it's going (MQL5 Code Base, MQL5 Market, a Telegram post or your own site), I can shorten it or change the format. I left out any win-rate or profit claims because I don't have your backtest results.
