My Breakout System
- Experts
- 버전: 1.0
PRODUCT TITLE:
My Breakout System MT5 - Trend and Volatility Breakout EA
CATEGORY:
Experts -> Trend / Breakout
SUPPORTED PLATFORM:
MetaTrader 5 (MT5)
RECOMMENDED SYMBOL & TIMEFRAME:
Symbol: XAUUSD (Gold) or Major Currency Pairs
Timeframe: M5 (5-Minute)
SHORT SUMMARY:
Rule-based breakout Expert Advisor designed for Gold (XAUUSD) and major pairs. Features dynamic ATR risk targets, macro trend confirmation, session liquidity filtering, and built-in loss protection controls.
--------------------------------------------------------------------------------
FULL DESCRIPTION (Copy directly into the MQL5 Market Description field):
--------------------------------------------------------------------------------
My Breakout System is an automated algorithmic trading system engineered for MetaTrader 5, developed specifically for volatile instruments with a focus on Gold (XAUUSD) on the M5 timeframe.
The system relies on objective technical breakout mechanics, combining fractal support and resistance levels with macro trend alignment and structured risk parameters. Every position is opened with a predefined hard Stop Loss and Take Profit to ensure controlled risk exposure on every single trade.
The Expert Advisor does not employ dangerous methods such as grid, martingale, or unhedged cost-averaging. It is fully compatible with both Netting and Hedging account modes across regulated brokers.
CORE TRADING MECHANICS
--------------------------------------------------------------------------------
- Fractal Structure Breakouts: Detects established market swing highs and lows, entering when momentum breaks beyond dynamic support and resistance thresholds.
- Higher Timeframe Trend Bias (H1 200 EMA): Evaluates the dominant higher timeframe direction. Long breakouts are only permitted when price trades above the trend filter; short breakouts are only permitted when price trades below.
- Smart Session Liquidity Window: Restricts trade execution to active market sessions (typically London and New York overlaps), avoiding illiquid consolidation and overnight spread rollover spikes.
- Volatility-Adjusted Geometry (ATR): Stop Loss and Take Profit distances dynamically adapt to current market volatility via configurable Average True Range (ATR) multipliers.
- Early Breakeven Protection: Automatically shifts the Stop Loss into positive territory once the position reaches a defined profit milestone, protecting accumulated gains.
- Consecutive Loss Cooldown: Automatically pauses new trade execution for a configurable cooldown period if consecutive losses occur, avoiding sideways chop and false breakouts.
- Daily Drawdown Safety Cap: Features a built-in equity and balance loss ceiling to maintain disciplined account preservation.
KEY RISK MANAGEMENT PRINCIPLES
--------------------------------------------------------------------------------
- Hard Stop Loss on Every Trade: No naked or unprotected orders.
- No Martingale: Position sizes are never multiplied following a loss.
- No Grid or Averaging: The algorithm never opens accumulating counter-trend positions.
- Flexible Lot Sizing: Supports both fixed lot sizes and risk-based dynamic percentage allocation.
- Broker Compliance: Strictly observes broker stop levels, freeze levels, and minimum volume constraints.
RECOMMENDED SETUP & USAGE
--------------------------------------------------------------------------------
1. Attach the Expert Advisor to a clean XAUUSD (Gold) chart.
2. Select the M5 timeframe.
3. Choose your preferred lot sizing mode: Fixed Lot (e.g. 0.01 per $500-$1000 deposit) or Dynamic Risk Percentage (e.g. 0.5% - 1.0% per trade).
4. Verify that the "Allow Algo Trading" button is enabled in the MetaTrader 5 toolbar.
5. In the Common tab of the EA settings, ensure "Allow algorithmic trading" is checked.
INPUT PARAMETERS GUIDE
--------------------------------------------------------------------------------
[Strategy Settings]
- Run_Strategy: Breakout mode selection (1 = Fractal Support/Resistance Breakout, 0 = Volatility Breakout, 2 = Range Box Breakout).
- UseHTFFilter: Enable or disable higher timeframe trend confirmation.
- HTF_Timeframe: Higher timeframe used for macro trend evaluation (Default: PERIOD_H1).
- HTF_EMA_Period: Moving average period for macro trend direction (Default: 200).
[Session & Timing Filter]
- UseSmartSessionFilter: Restrict entries to high-volume trading hours (Default: true).
- SmartSessionStartHour: Server hour to begin trading (Default: 8).
- SmartSessionEndHour: Server hour to cease new entries (Default: 18).
[Risk & Money Management]
- Risk: Dynamic risk percentage per trade based on account balance (Set to 0 to use fixed lots).
- StartLots: Base lot size used when dynamic risk is disabled (Default: 0.01).
- MaxLots: Maximum allowable order volume cap.
- MaxRiskInDollar_input: Maximum currency amount allowed to be risked per individual order.
- UseConsecutiveLossGuard: Enables circuit breaker after consecutive losses (Default: true).
- MaxConsecutiveLosses: Number of consecutive losses required to activate cooldown (Default: 2).
- LossCooldownMinutes: Cooldown period duration in minutes (Default: 180).
[Stop Loss, Take Profit & Trailing]
- UseATR_SL_TP: Calculate SL and TP distances using ATR volatility (Default: true).
- ATR_Period: Period for the Average True Range calculation (Default: 14).
- ATR_SL_Multiplier: Stop Loss distance expressed as ATR multiplier (Default: 1.3).
- ATR_TP_Multiplier: Take Profit distance expressed as ATR multiplier (Default: 3.0).
- UseBreakevenProtection: Move Stop Loss to breakeven after reaching profit target (Default: true).
- BE_TriggerPoints: Distance in points required to trigger breakeven (Default: 500.0).
- BE_LockPoints: Points locked into profit beyond the entry price (Default: 50.0).
IMPORTANT NOTICE & RISK DISCLAIMER
--------------------------------------------------------------------------------
Trading foreign exchange, precious metals, and financial derivatives on margin involves substantial risk and may not be suitable for all investors. Past performance and strategy backtest results do not guarantee future performance. It is strongly recommended to test the Expert Advisor on a demo account first to observe its execution behavior under current market conditions.
================================================================================
