Yesterday Breakout EA
- Experts
- Wasim Zayed
- Versione: 1.12
- Attivazioni: 5
Product Description
Yesterday Breakout EA is a straightforward and disciplined Expert Advisor for MetaTrader 5 that trades breakouts of the previous day’s high and low.
The EA waits for a clear breakout from yesterday’s range on your chosen signal timeframe and opens a trade in the direction of the breakout. It is designed for traders who prefer simple, rule-based strategies with strong risk management.
Key Features & Advantages
- Clear Breakout Logic: Enters trades only when price breaks and closes beyond yesterday’s high (for Buy) or yesterday’s low (for Sell).
- Flexible Signal Timeframe: Works on any timeframe you choose (M5, M15, H1, etc.).
- Built-in Risk Management:
- Optional risk-based position sizing (percent of account balance)
- Fixed lot mode
- Fixed Stop Loss and Take Profit in points
- Protection Tools:
- Spread filter to avoid trading during high-spread periods
- Trading hours filter (trade only during your preferred session)
- Break-even function to move SL to entry after a set profit
- Optional trailing stop with step
- Safety Options:
- One trade per day per direction (prevents over-trading)
- Single position per symbol mode
- Magic number and deviation settings
The EA is clean, well-commented, and easy to use. It does not use dangerous methods like martingale or grid.
Input Parameters
Signal Settings
- InpSignalTF — Timeframe for detecting the breakout signal (recommended: M5 or M15)
- InpAllowBuy — Allow Buy trades
- InpAllowSell — Allow Sell trades
- InpOneTradePerDayPerSide — Allow only one trade per direction per day
- InpSinglePositionSymbol — Allow only one open position at a time on this symbol
- InpMagicNumber — Unique magic number to identify EA’s trades
- InpDeviationPoints — Maximum price deviation (slippage) in points
Trading Hours
- InpStartHour / InpStartMinute — Start time of trading (server time)
- InpEndHour / InpEndMinute — End time of trading (server time)
Money Management
- InpUseRiskPercent — If true, uses risk % of balance; if false, uses fixed lot
- InpRiskPercent — Risk per trade in percent of account balance
- InpFixedLot — Fixed lot size when risk percent is disabled
Fixed Stop Loss / Take Profit
- InpStopLossPoints — Stop Loss in points (0 = disabled)
- InpTakeProfitPoints — Take Profit in points (0 = disabled)
Protection
- InpUseSpreadFilter — Enable maximum spread filter
- InpMaxSpreadPoints — Maximum allowed spread in points
- InpUseBreakEven — Enable break-even after reaching trigger level
- InpBreakEvenTriggerPts — Points in profit to move SL to breakeven
- InpUseTrailingStop — Enable trailing stop
- InpTrailingStopPoints — Trailing stop distance in points
- InpTrailingStepPoints — Minimum step for trailing stop modification
Recommended usage: Attach the EA to any major forex pair (EURUSD, GBPUSD, USDJPY, etc.) on M5 to 4H timeframe. Use moderate risk (0.5–5%) and enable the spread filter for best results.
