Sigma7 Gold Scalper
A gold (XAUUSD) scalper on resting stop orders at recent swing levels. Every order carries a hard stop loss and a take profit from the start, and a tight trailing stop manages each trade. No grid, no martingale, no averaging.
What I built
- Trades gold (XAUUSD) on MetaTrader 5, written in MQL5.
- Reads recent swing highs and lows on the H1 chart and, at fixed decision hours, rests one buy stop above the price and one sell stop below it.
- Every order is placed with a hard stop loss and a take profit.
- A tight trailing stop, fixed or ATR-based, manages each filled trade.
- Pending orders expire after a set number of days.
- No grid, no martingale and no averaging down.
- An optional news filter removes resting orders around high-impact calendar events.
- Respects the broker's volume, margin, stops-level and freeze-level limits and the symbol's trading sessions, the checks the MQL5 Market runs before it accepts an EA.
- Its trades can be followed on a public MQL5 signal.
- Published and sold on the MQL5 Market.
Tools
See it live
View on MQL5 Market →
Live signal on MQL5 →
Backtest results
MetaTrader 5 Strategy Tester, XAUUSD H1, 2026.01.01 to 2026.10.20, modeling: 1 minute OHLC, deposit 10,000 USD, leverage 1:500. One 0.01 lot per 50 USD of balance, at most 5 lots per order, ATR trailing stop (14 × 0.25 on M1), decisions every 2 hours, news filter on.
| Total net profit | 1,312,186.96 USD |
|---|---|
| Gross profit / gross loss | 1,529,699.33 / −217,512.37 |
| Profit factor | 7.03 |
| Recovery factor | 104.43 |
| Sharpe ratio | 18.64 |
| Expected payoff | 1,615.99 |
| Total trades | 812 |
| Profit trades | 713 (87.81%) |
| Short trades (won) | 328 (86.89%) |
| Long trades (won) | 484 (88.43%) |
| Balance drawdown maximal | 6,110.00 (6.52%) |
| Equity drawdown maximal | 12,565.00 (27.52%) |
| Equity drawdown relative | 27.52% (12,565.00) |
| Largest profit / loss trade | 32,985.50 / −2,000.00 |
| Average profit / loss trade | 2,145.44 / −1,974.30 |
| Maximum consecutive losses | 3 (−6,000.00) |
Backtest results do not guarantee future results.

