MSB Pro Gold Candle Breakout
- Experts
-
Kemal Mustafa Ozkan
Hello,
I am an algorithmic trading developer specializing in MQL4, MQL5, and PineScript. My main focus is on Market Structure (MSB), Price Action logic, and strict risk management (Zero Martingale/Grid). - Versão: 1.22
- Ativações: 5
MSB Pro Gold Candle Breakout MT5
Automated Gold Trading Expert Advisor for MetaTrader 5 | XAUUSD M5 | Two-Candle Breakout Strategy
MSB Pro Gold Candle Breakout is an automated trading Expert Advisor developed specifically for Gold (XAUUSD) on MetaTrader 5.
The EA uses a simple price-action breakout strategy based on completed M5 candles. It identifies potential bullish and bearish breakouts and automatically manages BUY and SELL positions using predefined Stop Loss and Take Profit levels.
Designed for traders who prefer clear trading rules, configurable trading sessions, and disciplined risk management without complex indicator combinations.
Key Features
-
Automated Gold Trading: BUY and SELL execution on XAUUSD.
-
Two-Candle Breakout Strategy: Price-action signals based on closed candles.
-
Evening Trading Mode: 20:00–00:00 broker server time.
-
Multi Session Mode: 04:00–12:00 and 20:00–00:00 broker server time.
-
Custom Trading Hours: Adjustable session start and end times.
-
Stop Loss & Take Profit: Automatically calculated for every position.
-
Risk/Reward Control: Configurable Take Profit multiplier, default 1:2.
-
Spread Protection: Avoids opening trades when the spread exceeds the configured threshold.
-
Fixed Lot Trading: Adjustable trade volume.
-
Trade Direction Control: BUY only, SELL only, or both directions.
-
Position Management: Maximum one position per symbol under the EA's position-checking logic.
-
Optional Daily Loss Filter: Restricts new entries when the configured loss condition is reached.
-
No Martingale. No Grid. No Recovery Lot Multiplication.
Trading Modes
Mode 1 — Evening Breakout (Default)
Trading hours: 20:00–00:00, broker server time.
This is the default operating mode and produced the strongest historical results among the tested configurations.
Mode 2 — Multi Session Breakout
Trading hours: 04:00–12:00 and 20:00–00:00, broker server time.
This optional mode allows the EA to evaluate trading opportunities across multiple sessions.
Users can switch between trading modes directly from the EA input parameters.
Historical Backtest Results
Test environment:
-
Trading Symbol: XAUUSD+
-
Timeframe: M5
-
Testing Period: January 1 – September 18, 2026
-
Initial Deposit: $2,000 USD
-
Fixed Trading Volume: 0.01 lot
-
Modeling: Every tick based on real ticks
-
Historical Data Quality: 100%
-
Platform: MetaTrader 5
Evening Mode — Random Delay Test
-
Net Profit: +$1,212.07
-
Profit Factor: 1.30
-
Maximum Relative Equity Drawdown: 12.71%
-
Total Trades: 564
Multi Session Mode — Random Delay Test
-
Net Profit: +$633.08
-
Profit Factor: 1.06
-
Maximum Relative Equity Drawdown: 26.40%
-
Total Trades: 1,363
These results are historical Strategy Tester simulations, not verified live-account performance. Trading conditions, spreads, slippage, broker execution, and market volatility may affect actual results.
Recommended Initial Settings
-
Symbol: XAUUSD (including broker-specific suffixes)
-
Timeframe: M5
-
Trading Mode: Evening Breakout
-
Trade Direction: BUY + SELL
-
Fixed Lot: 0.01 for initial testing
-
Take Profit / Risk: 2.0
-
Maximum Spread: 100 points (adjust to broker specifications)
Users should test the EA with their own broker's pricing and execution conditions before considering live trading.
Risk Disclaimer
Trading Gold and leveraged financial instruments involves substantial risk. Historical results do not guarantee future profitability. Stop Loss execution, spread fluctuations, and price gaps may result in losses exceeding modeled risk levels.
Use appropriate position sizing and risk limits.
Developer: Kemal Mustafa Ozkan
Brand: MSB PRO ALGO
MQL5 Profile: https://www.mql5.com/en/users/mustafa_ozkan
© 2026 Kemal Mustafa Ozkan. All rights reserved.
