
Shadow Breakout Pro – User Guide
Overview
Shadow Breakout Pro is an MT5 Expert Advisor (EA) that trades Donchian Channel breakouts
with confirmation from ATR (Average True Range) and Volume Filters.
It is designed to capture strong momentum moves after price breaks a defined range, while
filtering out false signals using volatility and volume conditions.
Key Features
• Donchian Channel Breakouts: Entry when price closes above/below recent highs/lows.
• ATR-based Risk Management: Automatic Stop Loss (SL) and Take Profit (TP)
calculated from ATR multiples.
• Volume Filter: Trades only when volume exceeds a moving average threshold or
minimum level.
• Spread Filter & Cooldown: Avoids high-spread conditions and enforces a waiting
period after trades.
• Trailing Stop (ATR-based): Dynamically adjusts Stop Loss to lock in profits.
• Flexible Lot Sizing: Fixed lot or automatic calculation based on account risk %.
• One Position Mode: Option to restrict to one position per symbol.
Input Parameters
Trading Settings
• Allow Long / Short – Enable or disable buy/sell signals.
• Magic Number – Unique identifier for EA positions.
• Deviation Points – Maximum slippage allowed (points).
Lot Sizing
• UseAutoLot – true for risk-based position sizing, false for fixed lot.
• FixedLot – Lot size if AutoLot = false.
• RiskPerTrade (%) – Risk % of account balance if AutoLot = true.Donchian Channel
• DonchianPeriod – Lookback period for high/low channel.
• BreakoutShiftBars – Bars to check breakout confirmation (default: 1).
ATR Filter & Stops
• ATRPeriod – ATR calculation period.
• ATRMultSL – Stop Loss distance in multiples of ATR.
• ATRMultTP – Take Profit distance in multiples of ATR.
• UseDonchianStop – If true, SL placed at opposite Donchian band.
• MinATRPoints – Minimum ATR required (filters low-volatility markets).
Volume Filter
• VolumeMode – None / Above MA / Absolute Minimum.
• VolMAPeriod – Period for Volume SMA (if using MA filter).
• VolMAFactor – Multiplier vs SMA (e.g. 1.1 = 10% above average).
• MinTickVolume – Minimum absolute tick volume (if using ABS_MIN).
Trade Filters
• MaxSpreadPoints – Maximum spread allowed (points).
• CooldownBars – Bars to wait before allowing new trades.
Trailing Stop
• UseTrailing – Enable trailing stop.
• ATRTrailMult – Trailing distance in ATR multiples.
• TrailRearmPoints – Minimum price move before SL is updated again.
Misc
• OnePositionPerSymbol – If true, prevents multiple trades per symbol.
Recommended Settings
EURUSD M5 (Scalping)
• DonchianPeriod = 20• ATRPeriod = 14, ATRMultSL = 2.0, ATRMultTP = 3.0
• VolumeMode = Above MA, VolMAPeriod = 20, VolMAFactor = 1.1
• MaxSpreadPoints = 20–25
• CooldownBars = 3–5
• Lot = 0.01–0.05 (or AutoLot Risk 0.5–1.0%)
EURUSD M15 (More stable trend)
• DonchianPeriod = 30
• ATRMultSL = 2.2, ATRMultTP = 3.2
• VolumeMode = Above MA, VolMAFactor = 1.15
• MaxSpreadPoints = 25–30
• CooldownBars = 4–6
Usage Tips
1. Use higher Donchian periods (30–50) on higher timeframes for fewer but stronger
signals.
2. Enable UseDonchianStop if you prefer SL at structural levels instead of ATR.
3. For volatile markets, increase ATRMultSL to avoid premature stop-outs.
4. Adjust VolMAFactor depending on the pair – 1.05 (sensitive) to 1.2 (stricter).
5. Always backtest and forward-test before using on a live account.
Risk Warning: This EA is for educational and experimental purposes. Past performance
does not guarantee future results. Always use proper risk management.