Machinegun Breakout Scalper
- Experts
-
Yassir Lamrichi
With over 13 years of trading experience, I am a CFA charterholder and seasoned data scientist specializing in the architecting of sophisticated, data-driven trading strategies and systematic investment frameworks. My expertise lies in leveraging advanced machine learning, deep learning, and - Version: 18.0
- Updated: 16 October 2026
- Activations: 5
After purchase, please contact me via MQL5 private message or ask in the group to receive the setup file and installation guide.
After purchase, please contact me via MQL5 private message or ask in the group to receive the setup file and installation guide.
Machinegun Breakout Scalper is an automated trading system designed specifically for the XAUUSD (Gold) symbol. It operates as a short-term breakout scalping system using dynamic price channels to identify potential market entries. The internal logic is built for rapid execution, monitoring tick velocity and short-term volatility to respond to rapid price movements.
This system applies strict risk management. It does not use grid, martingale, cost-averaging, or multiple-order recovery hedging techniques. Every single position is protected by a hard Stop Loss and Take Profit from the moment of entry.
The architecture consists of four independent internal sub-engines, allowing the system to monitor tight momentum, wide breakouts, and swing levels simultaneously.
Broker and Data Feed Sensitivity
This Expert Advisor is a high-frequency scalper and is sensitive to tick data, spread, and execution speed. It was developed and optimized using raw data feeds. To achieve execution and performance that aligns with the provided backtest results, it is recommended to use a broker with tight spreads and low latency. Using a broker with wider spreads or higher latency will negatively impact the intended logic of the system.
Main System Features
-
Designed for XAUUSD.
-
Applies strict Stop Loss and Take Profit to all trades.
-
No grid, no martingale, and no high-risk recovery methods.
-
Utilizes an adaptive trailing stop mechanism based on current market spread and Average True Range.
-
Evaluates market conditions using Average Directional Index and Tick Volume moving averages before allowing entries.
Execution Controls
-
Spread Filter: Restricts trading when broker spreads exceed a predefined maximum.
-
Time Filter: Allows the user to define specific operating hours to target optimal market liquidity.
-
Slippage Compensator: Monitors price gaps at the moment of execution to avoid filling orders at unfavorable distances.
-
Z-Score Sizing: An optional dynamic volume adjustment feature that can reduce the lot size to the broker minimum based on historical trade streak sequences.
Input Parameter Configuration
The parameters are divided into logical categories for straightforward setup.
Risk Management
-
Lot Mode: Choose between Fixed Lot, Risk Percent, or Risk Per Balance.
-
Fixed Lot: The base volume used if the fixed mode is selected.
-
Risk Percent: The percentage of the account balance to risk per trade.
-
Balance Reference: The step allocation used for the Risk Per Balance calculation.
System Filters
-
Max Spread Points: The maximum allowed spread to authorize a trade entry.
-
Use Time Filter: Enable or disable specific daily operating hours.
-
Trading Session Start/End: Specify the daily start and end hours for trading operations.
-
Volume Multiplier: Adjusts the required tick volume baseline for trade entries.
Advanced Options
-
Use Z-Score Sizing: Enables the internal logic to monitor trade sequences for volume reduction.
-
Expected Win/Loss Streak: The threshold settings that trigger the Z-Score volume reduction.
-
Force Min Lot On Danger: Forces the Expert Advisor to use a 0.01 lot size during identified streak zones.
-
Friday Closure: Automatically cancels pending virtual setups on Friday evenings to avoid holding risk over the weekend.
Operating Recommendations
-
Symbol: XAUUSD
-
Timeframe: The Expert Advisor calculates its own internal timeframes, but attaching it to the M1 chart is recommended for execution.
-
Execution Environment: A stable Virtual Private Server environment with low latency to the broker server is recommended due to the short-term trailing stop mechanics.

This is the second EA I’ve purchased from Yassir, and both have now become reliable profit-generating engines for my account. I have no doubts about its performance on IC Markets, though I’m still hoping for even better results with other brokers. The EA nearly paid for itself on my mini account after just a single day of trading. Thanks, Yassir.