Description
Short Description: A high-precision automated XAUUSD scalper featuring single-position execution, hard broker SL/TP, dynamic ATR risk scaling, and zero martingale or grid compounding.
Overview
The No-Martingale Gold Scalper EA is an institutional-grade, high-precision automated trading system engineered specifically for trading Gold (XAUUSD) on MetaTrader 4 and MetaTrader 5 platforms. Designed specifically for lower timeframes (M1, M5, M15), this EA solves the problem of high-risk commodity scalpers that rely on dangerous volume multiplication, martingale multipliers, grid expansion, or cost-averaging to recover drawdowns.
Instead, the EA operates on a disciplined, single-entry intraday scalping framework combining short-term trend direction, momentum filtering, pullback triggers, ATR volatility thresholds, and strict spread validation. Every executed order is protected by a mandatory broker-side hard Stop Loss and predefined Take Profit objective, ensuring account capital is never exposed to compounding risk spirals.
Key Features
- Zero Martingale & Zero Grid Guarantee: Enforces a strict single-position limit per direction with fixed or risk-based lot sizing.
- Dedicated XAUUSD Scalping Engine: Specifically calibrated for Gold intraday price action, spread dynamics, and volatility expansions.
- Dynamic ATR Risk Scaling: Computes Stop Loss and Take Profit levels dynamically based on live market Average True Range.
- Automated Trade Lifecycle Management: Features automated Break-Even adjustment, ATR trailing stop, and optional partial profit closing.
- Spread & Session Gatekeepers: Protects against broker spread widening during rollover or news spikes and restricts trading to liquid session hours.
- Daily Loss Cap & Equity Protection: Monitors daily closed and floating P/L, locking trading automatically if daily risk limits are reached.
- Real-Time On-Chart Dashboard: Displays live spread status, daily loss percentage, floating P/L, active trade tickets, and risk budget metrics.
How It Works
1. Environment & Gatekeeper Check: Evaluates live tick spread against `MaxSpreadPips`, confirms current time falls within `AllowedSessionHours`, and verifies daily drawdown limit is intact.
2. Market Structure Calculation: Evaluates EMA(20), EMA(50), and EMA(200) alignment on bar close alongside ATR(14) volatility and ADX trend strength.
3. Pullback & Signal Confirmation: Identifies candle retests of fast EMAs followed by momentum candle closes in the direction of the dominant trend.
4. Order Dispatch & Protection: Calculates dynamic position volume, attaches mandatory broker-side hard Stop Loss and Take Profit, and dispatches execution.
5. Ongoing Position Management: Modifies Stop Loss dynamically for Break-Even and Trailing Stop while monitoring profit thresholds.
Trading/Indicator Logic
- Buy Conditions:
- `Close[1] > EMA_200[1]`
- `EMA_20[1] > EMA_50[1]`
- `Low[2] <= EMA_20[2]` (Pullback requirement)
- `Close[1] > Open[1]` (Bullish candle confirmation)
- `ADX[1] >= MinADX` (Filter range markets)
- `ATR[1] >= MinATRPoints`
- `CurrentSpread <= MaxSpread`
- Current time within allowed session window.
- Sell Conditions:
- `Close[1] < EMA_200[1]`
- `EMA_20[1] < EMA_50[1]`
- `High[2] >= EMA_20[2]` (Pullback requirement)
- `Close[1] < Open[1]` (Bearish candle confirmation)
- `ADX[1] >= MinADX`
- `ATR[1] >= MinATRPoints`
- `CurrentSpread <= MaxSpread`
- Current time within allowed session window.
Supported Markets
- Primary Symbol: XAUUSD (Gold vs US Dollar)
- Secondary Metals: XAGUSD (Silver vs US Dollar)
- Compatible Asset Classes: Major Forex pairs and Stock Indices (US30, NAS100)
Recommended Timeframes
- Primary Timeframe: M5 (Optimized Default)
- Supported Timeframes: M1, M5, M15
Recommended Symbols
- XAUUSD (Gold)
Main Settings
- `MagicNumber` (41001): Unique order identifier for trade isolation.
- `MoneyManagementMode` (Risk_Percent): Position sizing mode (Fixed Lot, Risk %, Fixed USD, ATR-Based).
- `RiskPercent` (1.0%): Equity percentage risked per order.
- `UseATR_SL_TP` (true): Toggle ATR-calculated Stop Loss and Take Profit.
- `ATR_SL_Multiplier` (1.5): Multiplier for ATR-based Stop Loss.
- `ATR_TP_Multiplier` (3.0): Multiplier for ATR-based Take Profit.
- `BreakEvenTriggerPips` (15.0): Profit in pips before moving SL to Break-Even.
- `TrailingStartPips` (20.0): Profit in pips before trailing stop activates.
- `MaxSpreadPips` (3.5): Maximum permitted broker spread in pips.
- `MaxDailyLossPercent` (3.0%): Daily drawdown cap before trading is suspended for the day.
Installation
1. Launch MetaTrader 4 or MetaTrader 5 terminal.
2. Go to File -> Open Data Folder.
3. Open `MQL4/Experts` (for MT4) or `MQL5/Experts` (for MT5).
4. Copy `041 – No-Martingale Gold Scalper EA.ex4` or `041 – No-Martingale Gold Scalper EA.ex5` into the Experts folder.
5. Refresh the Navigator panel in MetaTrader.
6. Drag the EA onto an M5 XAUUSD chart and check Allow Algo Trading.
How To Use
1. Attach the EA to your preferred XAUUSD timeframe chart.
2. Adjust `RiskPercent` and `MaxSpreadPips` to align with your broker conditions.
3. Ensure MT4/MT5 is running on a low-latency VPS for uninterrupted trade management.
4. Monitor performance via the integrated on-chart risk dashboard.
Who Is It For
- Gold Day Traders: Traders wanting quantitative, automated execution on XAUUSD.
- Prop Firm Traders: Evaluation and funded account traders requiring single-order hard risk limits.
- Disciplined System Traders: Traders rejecting martingale, grid layering, or averaging-down schemes.
What’s Included
- `.EX4` Compiled Executable (MetaTrader 4)
- `.EX5` Compiled Executable (MetaTrader 5)
- User Guide & Quick Setup Documentation
- Lifetime Product Updates & AlgoTim Support
Updates & Support
Every purchase includes lifetime access to updates, optimizations, and bug fixes. Our dedicated support team is available to assist with installation and configuration.
Risk Disclaimer
Trading Gold (XAUUSD) and leveraged financial instruments involves significant risk of loss. Past performance does not guarantee future results. Test all automated strategies thoroughly on demo accounts prior to live trading.
FAQ
Q: Does this EA use Martingale or Grid layering?
A: No. The EA strictly enforces a single open position limit and never increases lot sizes on losing trades.
Q: Does this EA repaint signals?
A: No. All trade calculations evaluate closed bars and lock at bar close.
Q: Can I use this on Prop Firm challenge accounts?
A: Yes. The EA includes mandatory hard stop losses and configurable daily drawdown limits suitable for prop firm guidelines.
📊 Backtested Performance Summary
This Expert Advisor has undergone quantitative historical backtesting based on tick and bar market data:
- Best Tested Symbol: BTCUSD
- Best Timeframe: H1
- Testing Period: 2020.01.01 – 2026.08.28
- Net Profit: $18,774,830.91
- Profit Factor: 2.05
- Maximum Drawdown: 76.85%
- Recovery Factor: 1.58
- Total Trades: 35
- Out-of-Sample Result: PF: 2.05, WinRate: 31.4%
⚠️ Disclaimer: Historical backtest results are provided for informational and research purposes only and do not guarantee future live trading performance. Past performance is not indicative of future returns.





Reviews
There are no reviews yet.