SwingFire Gold
- Experts
- Versão: 1.4
- Ativações: 10
SwingFire Gold trades gold (XAUUSD) breakouts. It finds unbroken swing highs and lows on M15 and places a Buy Stop above each swing high and a Sell Stop below each swing low. When gold breaks a level, the order fills and a tight trailing stop banks the move.
HOW IT TRADES
- Two layers of M15 fractal swings (fast 6/2 and slow 12/2), up to 5 levels per side each, spaced by daily ATR.
- Each level trades once.
- Every trade has a hard stop loss ($5) and take profit ($20) from entry.
- Trailing starts after $0.35 of profit and follows $0.33 behind, adjusted to market volatility.
- No grid, no martingale, no averaging, no hedging of losing trades.
HOW THE PROFIT IS MADE
About 83-85% of trades close in profit through the tight trailing stop; the losing trades are capped by the $5 hard stop loss. Lots grow with the balance, so profit compounds: lot size doubles each time the balance doubles, and each winning month adds more than the one before. This is why a strong gold year grows a small account so much.
PRESETS (free .set files in the Comments tab)
Two ready-made presets for XAUUSD M15. Both use the same entries, stop loss, take profit and trailing stop; only the lot size is different.
1) SwingFireGold_Default.set - 0.01 lot per $50 of balance, maximum 5 lots. For 1:500 leverage. Fastest growth, deeper drawdowns.
2) SwingFireGold_Safe.set - 0.01 lot per $100 of balance (half the default lot size), maximum 5 lots. For 1:100 - 1:200 leverage or lower risk. Slower growth, smaller drawdowns.
How to load a preset: save the .set file to File > Open Data Folder > MQL5 > Presets. Attach SwingFire Gold to an XAUUSD M15 chart, click "Load" in the Inputs tab, choose the file and click OK. The same "Load" button is in the Strategy Tester's Inputs tab.
BACKTEST (XAUUSD M15, real ticks, 1:500, from $100)
Default preset:
- 2025: $100 to $1,579, 749 trades, 85% winners, profit factor 1.56, maximum drawdown 41%.
- 2026 (Jan 1 - Nov 13): $100 to $114,658, 1,301 trades, 83% winners, profit factor 1.53, maximum drawdown 52% (in January, while the account was small).
Safe preset:
- 2025: $100 to $329, 749 trades, 85% winners, profit factor 1.53, maximum drawdown 20%.
- 2026 (Jan 1 - Nov 20): $100 to $5,561, 1,334 trades, 83% winners, profit factor 1.62, maximum drawdown 45%.
2023 and 2024 (both presets): almost no trades. Gold's daily range stayed below the $50 filter, so the EA sat out.
The results come from rising gold volatility in 2025-2026. When gold is quiet the EA can go months without trading; this is by design.
PROTECTION
- Volatility filter: trades only when gold's 14-day average daily range is at least $50. In quiet markets it stays out.
- Maximum open positions (default 6), maximum spread and slippage.
- Margin check before every order.
- Fast cut for badly slipped fills.
- News filter: pulls pending orders 15 minutes before and after high-impact USD news (MT5 economic calendar, live only).
- Trading hours, optional session pause, and Friday close (default 20:55 server time).
- Optional daily loss limit and equity guard.
LOT SIZE
- Default: 0.01 lot per $50 of balance, maximum 5 lots per trade (lots grow with the account).
- Or fixed lots, or % risk per trade.
ON-CHART DASHBOARD
Equity, floating and closed P/L, today/week/month results, win rate, profit factor, drawdown, spread, daily ATR, armed levels and filter status.
REQUIREMENTS
- Symbol: XAUUSD (any broker suffix, e.g. XAUUSD, XAUUSD+, XAUUSD.m). Designed and tested for gold only; on other symbols it shows a warning and its results are untested.
- Timeframe: any (M15 chart recommended; the swing timeframe is an input).
- Account: hedging account. Low-spread ECN/raw account recommended.
- Leverage 1:500 recommended (Default preset). With 1:100 - 1:200, use the Safe preset.
- Minimum deposit: $100 (0.01 lot).
- VPS recommended for 24/5 running.
Past results do not guarantee future performance. Test on a demo account first.
INPUT PARAMETERS
Levels: Swing timeframe (M15), Swing left/right bars (6/2), Swing lookback (2000), Levels per side (5), Level spacing x daily ATR (0.40), ATR period (14), Max/Min level distance ($300 / $0.30), Entry offset ($0).
Second level layer: On/off (on), Timeframe (M15), Left/right bars (12/2), Levels per side (5), Spacing x ATR (0.33).
Exits: Stop loss ($5), Take profit ($20), Trail start ($0.35), Trail distance ($0.33), Trail step ($0.01), Stop from actual fill (on), Fast cut for slipped fills (30 points / 90 s / 50% of SL).
Lot size: Mode (per balance step), Lots per step (0.01), Balance step ($50), Risk % (2, risk mode), Max lots (5), Volatile-day boost (x1.5 when daily ATR is $150 or more).
Filters and protection: Max spread (65 points), Max slippage (65 points), Max positions (6), Min daily ATR ($50), Trading hours (01:30 - 23:00 server), Session pause (off), Friday close (20:55), Daily loss % (off), Equity guard % (off).
News filter: On, high impact only, 15 min before / 15 min after.
Dashboard and general: Dashboard on/off and position, Magic number, Order comment.
