SR Breakout EA

SR Breakout EA is a fully automated Expert Advisor for MetaTrader 5 that trades genuine support and resistance breakouts on any symbol and timeframe. It identifies the most recent swing high and swing low over a configurable lookback window, confirms the breakout with momentum and impulse filters, and enters in the direction of the breakout once price has cleared the level by a measurable distance.

The EA is designed for serious live use. It works on netting and hedging accounts without configuration changes, respects every broker constraint reported by the symbol specification, and was hardened against the validation rules of the MQL5 Market.

How it trades

A breakout is registered only when price closes beyond the level by a configurable point distance and at least one of two confirmation conditions is met: three consecutive closes in the breakout direction, or a strong-impulse move that exceeds a separate stronger threshold. The same level is not retraded until either a minimum price gap or a minimum time window has elapsed, which prevents repeated entries on the same exhausted move.

Risk and trade management

Stop loss and take profit are derived from ATR with independent multipliers for SL and TP, so the reward-to-risk ratio adapts to current volatility rather than to a fixed point distance. Once a trade is open, three independent managers can be enabled or disabled:

- Trailing stop that follows price by a configurable distance once a minimum profit is reached.
- Breakeven shift that locks in zero loss after a configurable profit threshold.
- Profit trailing on the take profit leg that extends the target while the trade keeps moving in your favor.

All position modifications go through a single safe wrapper that skips no-change requests, respects the broker freeze level on both the current and the requested SL or TP, and never sends a modify the broker would reject.

Broker-safe execution

Every order send and every position modification is pre-validated. The EA normalizes lot size to the broker volume step, respects SYMBOL_VOLUME_LIMIT, checks free margin with OrderCalcMargin, validates SL and TP against SYMBOL_TRADE_STOPS_LEVEL, applies a directional freeze-level check based on SYMBOL_TRADE_FREEZE_LEVEL, and runs OrderCheck before sending. A session and tick-freshness gate prevents sends during the symbol daily break, which is the usual cause of Market closed errors on instruments such as gold and indices. Filling mode is auto-detected as FOK, IOC, or Return based on the symbol.

On netting accounts the EA closes any opposite position before opening a new one and never relies on implicit reversal, which avoids the close to market rejections common when SL or TP sits inside the freeze band.

Inputs

- Symbol and timeframe: any. Tested on EURUSD, USDJPY, USDCAD, NZDUSD, XAUUSD on M30, H1, H4, H12, D1, W1.
- Level lookback bars
- Breakout points and strong breakout points
- Minimum level gap and minimum time between trades on the same level
- ATR period, SL multiplier, TP multiplier
- Trailing distance and minimum profit to start trailing
- Breakeven trigger
- Profit-trailing distance for the take profit
- Lot size and magic number

Recommended use

Start on a demo account on H1 with default inputs. The EA opens at most one position per symbol and is safe to run on multiple symbols in parallel by assigning each chart a different magic number.

Support is provided through the product comments section on mql5.com.


Altri dall’autore
The Ultimate Arbitrage Machines EA is a professional-grade solution designed for both statistical and triangular arbitrage in forex markets. This EA adaptively captures mean-reversion opportunities while employing robust risk controls. It features dynamic threshold adjustment, adaptive risk management, multi-strategy execution, and real-time market adaptation. The EA auto-calibrates Z-Score parameters, intelligently positions TP/SL, and uses multi-factor position sizing. It detects both statist
FREE
This Expert Advisor uses statistical arbitrage to trade cryptocurrency pairs (e.g., BTCUSD & ETHUSD). It identifies mispricings and executes trades based on deviations from historical correlations. The EA employs mean reversion, pair trading, and cointegration analysis. It features advanced risk management, including dynamic position sizing, ATR-based stop-loss/take-profit, equity protection, and drawdown limits. It also includes smart order handling, real-time position verification, and statis
FREE
The MarketMaverick Expert Advisor is a MetaTrader 5 algorithm by Themichl LLC, designed for forex trading. It uses technical indicators and risk management for automated trading within specified hours. Key features include Bollinger Bands, ATR, ADX, and Moving Averages for trade execution; risk management with dynamic lot sizing, and flexible stop-loss/take-profit; trading restrictions like news filters and cooldown periods; error handling with logging; and extensive customization options. It a
FREE
EclipesPro
Themichl LLC
EclipesPro II is a MetaTrader 5 Expert Advisor that uses FRAMA and VIDYA indicators for trend following in forex markets. It generates buy/sell signals based on indicator crossovers and price position relative to FRAMA, with RSI used for exit filtering. The EA employs advanced exit strategies, including partial position closing and triple-confirmation. Risk management includes multiple position sizing methods, trailing stops, and order volume validation. Market filters include trading sessions,
FREE
Professional Velocity Yield EA is an advanced trading engine designed for precise and efficient market navigation. It combines technical analysis (FRAMA and VIDya), intelligent risk management, and adaptive filtering to capitalize on market opportunities. The EA dynamically adjusts to market volatility, manages risk with flexible strategies, and filters out noise with news and session controls. It also verifies sufficient funds before trades, aiming to maximize profit potential, provide a compe
FREE
Market Maverick IV is an intelligent trading tool designed for both new and experienced traders. It automates trading with a user-friendly interface, employing a sophisticated strategy that combines Bollinger Bands, RSI, and ADX. The EA offers customizable parameters, multi-timeframe analysis, and adaptive timing. It also emphasizes risk management with dynamic position sizing, equity safeguards, and daily loss limits. Market Maverick IV aims to simplify trading, provide educational insights, a
FREE
This MQL5 script calculates and displays a recommended trading lot size, offering both automatic and manual modes. In automatic mode, it calculates lot size based on account balance, market volatility (ATR), or a hybrid of both. The script defines lot size types (Micro, Mini, Standard) with switching thresholds, volatility settings, and safety limits. It aims to automate lot size calculations for systematic risk management, adapting to market dynamics and account parameters. Core Features Out
FREE
Arbitrage365
Themichl LLC
The Arbitrage365 EA is a basic script for MetaTrader that implements a triangular arbitrage strategy. It identifies and exploits price discrepancies between EURUSD, GBPUSD, and EURGBP to profit from temporary market mispricing. This EA capitalizes on the law of one price by simultaneously buying and selling currency pairs. Its advantages include speed, accuracy, scalability, consistency, cost-effectiveness, contribution to market liquidity, and portfolio diversification. However, it's a basic E
Filtro:
Nessuna recensione
Rispondi alla recensione