Gold Sniper Breakout
- Experts
-
Noel Anjao Alube
Dedicated to developing smart, data-driven trading solutions with a strong focus on performance, risk management, and innovation. Committed to transforming trading ideas into automated strategies. - Versione: 1.47
- Attivazioni: 5
Gold Sniper Breakout EA — XAUUSD 1-Minute Session Scalper for MT5
Overview
Gold Sniper Breakout is a fully automated Expert Advisor engineered exclusively for XAUUSD (Gold) on the MetaTrader 5 platform. Built around a precision 1-minute candle breakout methodology, it hunts high-probability momentum moves during the most liquid sessions of the trading day — then exits with surgical timing before the market can reverse.
No indicators. No lagging signals. Pure price action.
How It Works
At the open of every new 1-minute candle, the EA identifies the high and low of the previous completed candle and places a Buy Stop above it and a Sell Stop below it simultaneously. The moment price breaks out in either direction, the live order is triggered and the opposite pending order is instantly cancelled. Every trade carries a fixed-dollar risk amount you control, a precise stop loss, and a calculated take profit based on your chosen risk-reward ratio. At the 56th second of every minute, any open trade or untriggered pending order is force-closed — locking in the result and resetting for the next candle. Clean. Fast. Precise.
Key Features
Precision Breakout Engine
Fires Buy Stop and Sell Stop orders on every candle during your sessions. One triggers, one cancels. Maximum one open trade at any time.
Fixed Dollar Risk Control
You decide exactly how many dollars you risk per trade — $5, $50, or $500. Lot size is calculated dynamically before every entry and fully accounts for broker commission, so your real risk matches your intended risk to the cent.
Commission-Aware Lot Sizing
Built for raw spread accounts. The EA factors in the round-turn commission ($6 per standard lot) directly into the lot size formula, so you never overshoot your risk budget.
Dual Session Control
Define two independent trading windows using your broker's server time. The EA only hunts trades inside those windows — completely silent outside them.
Hard Time Exit at Second :56
Every open position is force-closed at the 56th second of the minute via a high-frequency OnTimer loop running every 1,000ms. No trade survives into the next candle. No exceptions.
Trailing Drawdown Protection — Balance-Based
Tracks a lifetime peak balance that only ever ratchets upward. If your closed balance drops 45% below that peak at any point, the EA immediately closes all trades, cancels all pending orders, and locks itself until you manually restart it the next day. Floating equity is completely ignored — only closed balance counts.
Built-in News Filter
Connects to the MQL5 Economic Calendar. Blocks all new orders in a configurable window before and after high-impact (or high + medium) news events for your chosen currency. Never get caught in a spike again.
Persistent State Across Restarts
Peak balance and halt state are stored in MT5 GlobalVariables — survives terminal restarts, VPS reboots, and EA reloads without losing your protection levels.
Input Parameters
| Parameter | Default | Description |
|---|---|---|
| Target_Risk_Cash | 10.00 | Dollar risk per trade |
| SL_Distance_Gold | 0.94 | Stop loss distance in price points |
| Risk_Reward_Ratio | 1.10 | Take profit multiplier |
| Max_Daily_Loss_Percent | 45.0 | Trailing drawdown hard floor % |
| Session 1 Start / End | 03:00 / 05:00 | First session (server time hours) |
| Session 2 Start / End | 08:00 / 12:00 | Second session (server time hours) |
| Use_News_Filter | True | Enable economic calendar filter |
| News_Importance_Level | High Only | High only or High + Medium |
| Filter_Currency | USD | Currency to filter news for |
| Mins_Before_News | 10 | Block minutes before event |
| Mins_After_News | 10 | Block minutes after event |
| Commission_Per_Lot | 3.00 | One-side commission per standard lot |
Account Requirements
- Platform: MetaTrader 5
- Symbol: XAUUSD (Gold)
- Account type: Raw spread with commission (ECN/STP)
- Timeframe: M1 (EA runs natively on 1-minute chart)
- Minimum recommended balance: $200
- Leverage: 100x or higher recommended
Important Notes
Session hours must be entered in your broker's server time, not your local PC time. Check your server time via the MT5 terminal clock and adjust inputs accordingly. The EA does not convert time zones automatically — this gives you full control regardless of broker.
The economic calendar must be enabled in your MT5 terminal settings for the news filter to function (Tools → Options → Charts → Load Economic Calendar).
Trade with precision. Exit with discipline. Protect your capital at all costs.
