Breaker Oco
- エキスパート
- バージョン: 1.0
- アクティベーション: 10
BREKER OCO is a fully automated, rule-based intraday range breakout Expert Advisor engineered specifically for Gold (XAUUSD) on the M15 timeframe.
Instead of relying on lagging indicators, grid averaging, or martingale recovery, BREKER OCO captures institutional session expansion following pre-session consolidation using strict One-Cancels-Other (OCO) execution and predefined risk boundaries.
==================================================
CORE STRATEGY LOGIC
==================================================
1. Daily Consolidation Range: Automatically measures the high and low of XAUUSD between Range Start Hour and Range End Hour (default 00:00 - 07:00 GMT+3).
2. OCO Breakout Execution: Places a Buy Stop at the range high and a Sell Stop at the range low. The moment one order is triggered, the opposite pending order is immediately canceled.
3. One Trade Per Day: Enforces a strict maximum of one filled position per strategy day to avoid overtrading during choppy afternoon sessions.
4. Dynamic Post-Fill Stop-Loss: Supports both percentage-of-entry Stop-Loss (re-calibrated accurately to the actual fill price after the entry candle closes) and opposite-range Stop-Loss.
5. Mandatory Intraday Time Exit: No overnight holding or swap exposure—all open positions and unfilled pending orders are closed at the configured Close All Hour (default 20:00 GMT+3).
6. Automatic Broker Timezone & DST Handling: Built-in automatic DST adjustment converts GMT+2 winter / GMT+3 summer server clocks to a fixed strategy clock, with a manual shift option for any broker.
==================================================
BACKTEST PERFORMANCE SUMMARY (XAUUSD M15)
==================================================
Tested with 100% Real Ticks history quality on XAUUSD M15 (2026.01.01 - 2026.11.11) using a fixed 0.01 lot size on a $1,000 initial deposit:
- Total Net Profit: $2,122.41 (+212.24% on fixed 0.01 lot)
- Profit Factor: 1.76
- Recovery Factor: 5.68
- Sharpe Ratio: 4.31
- Linear Regression Correlation: 0.98
- Total Trades: 206 (59.22% Win Rate | Long: 60.38% | Short: 58.00%)
- Expected Payoff: $10.30 per 0.01 lot trade
- Max Balance Drawdown: 14.55% ($231.77)
- Max Equity Drawdown: 21.92% ($373.47)
- Average Holding Time: 9 hours 18 minutes (strictly intraday)
Note: Past backtest performance does not guarantee future live trading results. Always test on a demo account first to verify broker symbol suffixes and server time alignment.
==================================================
RECOMMENDED SETUP & REQUIREMENTS
==================================================
- Symbol: XAUUSD (Gold)
- Timeframe: M15 (15-Minute)
- Account Type: ECN / Raw Spread account with low Gold spread and fast execution
- Minimum Deposit: $500 - $1,000 for 0.01 fixed lot
- VPS: Recommended for uninterrupted 24/5 order management and post-fill SL adjustment
==================================================
INPUT PARAMETERS GUIDE
==================================================
- Range Start Hour: Start hour (GMT+3 strategy clock) for building the daily range (default: 0).
- Range End / Trading Start Hour: End of range calculation and time when OCO breakout orders are placed (default: 7).
- Close All Positions Hour: Hard intraday exit time for all open trades and pending orders (default: 20).
- Time Shift Mode: Choose Automatic DST (GMT+2 winter / GMT+3 summer) or Manual Shift.
- Manual Time Shift Hours: Hour offset if Manual Shift is selected (+1 for GMT+2 server, 0 for GMT+3 server).
- Skip First Loaded Day: Prevents trading on an incomplete initial range when attaching the EA mid-day.
- SL Mode: Choose between "% of Entry Price" or "Opposite Range Boundary".
- SL, % of Entry Price: Percentage distance for Stop-Loss calculation (default: 1.0%).
- Fixed Volume in MT5 Lots: Fixed trade size per breakout (default: 0.01).
- EA Magic Number: Unique identifier for isolating BREKER OCO orders from other EAs.
- Maximum Deviation in Points: Maximum allowed slippage in points.
