Home >EA List >GOLD TRIPWIRE EA

gold-tripwire
XAUUSDH1BidirectionalNo averagingMT5 test 6.8 yrsPF 2.72

GOLD TRIPWIRE EA

A breakout EA for XAUUSD only. It places buy stop / sell stop orders at swing highs and lows (fractals) confirmed on H1, and skips unfavourable conditions with ATR (volatility) and slope filters. After a fill, a staged trailing stop locks in profit. At most one position per side, no averaging, no martingale. It runs on any XAUUSD chart timeframe (it reads H1 internally).

Pair

XAUUSD

Timeframe

H1

Recommended Broker

Exness

Live BT Period

6.8 yrs

🛡 10th EA in the defensive lineup — gold breakouts only

It never averages down or uses martingale, and holds at most one position per side. Before every order it checks volume, stop/freeze levels, margin and market hours, and skips orders that fail. A built-in performance breaker stops real trading and switches to virtual trades when the recent profit factor drops below a threshold, then returns to real trading once it recovers.

🥇 GOLD BREAKOUT EA

GOLD TRIPWIRE EA

XAUUSD only · stop-order breakouts at swing highs/lows
Profitable in every year of a 6.8-year MT5 backtest (2020.01-2026.10 / Exness)

Cumulative

+760%

6.8 yrs · Ultra

PF

2.72

Relative equity DD

12.7%

Trades

616

Win rate 58.6%

⚡ Minimum deposit: from 100k JPY (Standard or Micro account, either is fine)

You can operate from 100k JPY. If you want to run it more safely with a smaller amount, we recommend a Micro (cent) account (the real exposure of a 0.01 lot becomes about 1/100, making the same 100k JPY far lower-risk).

Verification Status

Share on X

How far verification has progressed, from backtest to forward testing

  1. BacktestDone
    Period
    M15 (2020.01.01 - 2026.10.14)
    History quality
    11% real ticks — real-tick coverage is low for this period, so fill prices are reproduced less accurately
    Trades
    616
    PF
    2.72
    Max DD (relative, equity)
    12.72% (equity DD at the largest loss in money terms: 7.08%)
    Recommended minimum capital
    $1,000+ recommended
  2. OOSCaution
    Data source
    MT5 official ticks
    Years verified
    6.8
  3. ForwardNot started

    Forward testing has not started for this EA. Judge it by the backtest / OOS figures above only.

    See all forward tests →
  4. LiveNot started

How the strategy works (entry, stop, target)

XAUUSD only. It places buy stop / sell stop orders at swing highs and lows (fractals) confirmed on H1 and joins only when price breaks through. After a fill, a staged trailing stop locks in profit early (average hold about 21 minutes).

Entry
Buy stop at the confirmed H1 swing high, sell stop at the confirmed H1 swing low. Unfilled orders expire after about 46 hours. At most one position per side.
Filters
Generally skips choppy periods when M30 ATR exceeds 0.30% of price, and places no orders against the slope of the daily EMA50.
Stop loss / take profit
Initial stop about 0.19% of price from the entry and take profit about 0.36%.
Exit / trail
Once floating profit reaches a set distance the stop moves toward breakeven, then trails in steps to lock in profit.
Performance breaker
If the profit factor of the last 30 trades falls below 0.3, real trading stops and switches to virtual trades; it returns to real trading when PF recovers to 1.0.
Risk
Standard is a fixed 0.02 lot (InpRiskPct=0). Run mode: Defensive ×0.5 / Standard ×1 / Aggressive ×2 / Ultra ×5 (shipped default). Every order is checked for volume, stop/freeze level, margin and market hours. No averaging, no martingale.
Timeframe
H1 swings act as intraday reference levels in gold and give fewer false breaks than M15 or lower. The EA reads H1 internally, so the chart timeframe does not matter.

REAL MT5 BACKTEST

📈 MT5 backtest results (XAUUSD / Exness / $1,000 deposit / Ultra default)

MetricMeasured (Ultra default)Assessment
Verification Period2020.01 – 2026.10 (6.8yr)Profitable every year
Net Profit / Cumulative+$7,604 (+760%)$1,000 → $8,604
Profit Factor2.72Clears the flagship standard (PF≥1.5)
Max equity DD / relative equity DD7.08% / 12.72%Low
Trades / Win Rate616trades / 58.6%Short holds (21 min on average)
Recovery factor30.90Good
History quality11%Low (11% real ticks) — read the figures with a discount

RESULTS BY RUN MODE

Results by run mode (same period, $1,000 deposit)

ModeLot multiplierNet profitPFMax equity DD
Defensive×0.5+$770.072.67$24.62 (1.96%)
Standard (0.02 lot)×1+$1,526.372.70$49.20 (3.28%)
Aggressive×2+$3,038.842.72$98.39 (4.95%)
Ultra (shipped default)×5+$7,603.642.72$246.07 (7.08%)

Every mode takes the same 616 trades; only the lot differs. The return % in the run-mode table below is also based on a $1,000 deposit (not the $10,000 stated in the shared note).

📈MT5 Strategy Tester Report — GOLD TRIPWIRE EA

🏆 MT5 Official Strategy Tester Result · XAUUSD / H1Open original in new tab →
GOLD TRIPWIRE EA Strategy Tester Report

📋 About this report

  • Official report generated by the MT5 Strategy Tester (real-tick data)
  • Multi-year real price data with the every-tick (real ticks) model
  • Balance curve (blue) / Equity curve (green) shows floating losses too
  • Past results do not guarantee future profits

⚠️ Risk Warning

  • The return depend on the 2020-2026 gold market. Future replication is not guaranteed
  • It reproduces the logic of another vendor's EA and was tuned on the same broker's (Exness) data. There is no out-of-sample test on another period or broker
  • The published backtest has 11% history quality (real ticks). Spreads and fills are reproduced roughly, so live results can be worse
  • Ultra (the shipped default) trades 5× the Standard lot. Max equity DD was 7.08% and relative equity DD 12.72%. If that worries you, switch to Defensive or Standard
  • Short-term stop-order breakouts change a lot on accounts with wide spreads or slow fills. While the performance breaker has switched to virtual trades, the EA does not trade on the real account

Run Mode

Measured

The "RunMode" setting switches how aggressively the EA trades. On EAs whose chart panel has run-mode buttons, you can also switch with one click (applies from the next new entry). Only the lot (risk) changes — entry/exit logic, symbol and timeframe stay the same.

This EA ships set to Ultra, the highest-risk mode. If you want lower risk, switch to Standard or Defensive before you start.

Defensive

×0.5

Half the Standard lot. For capital preservation or first-time automated trading.

Total: +77%PF: 2.67Max DD: 2.0%

Standard (recommended)

×1.0

The reference risk level. Start here.

Total: +153%PF: 2.70Max DD: 3.3%

Aggressive

×2.0

Twice the Standard lot. Drawdowns deepen and the risk of ruin rises. Use only money you can afford to lose.

Total: +304%PF: 2.72Max DD: 4.9% (relative 6.0%)

Ultra

The maximum risk level set for each EA. Produces the deepest drawdowns. Only for traders who fully accept the risk.

Total: +760%PF: 2.72Max DD: 7.1% (relative 12.7%)

Measured backtest: XAUUSD H1, 2020-01 – 2026-10, 616 trades, $10,000 start, MT5 Strategy Tester. Returns are totals for the whole period, not annual. Every mode trades the same signals; only the lot differs.

Past performance does not guarantee future results. With compounding on, lots adjust automatically to the balance.

All Parameters

All 50 inputs shown in MT5 (EA core + shared modules). Strategy-core values are pre-optimized — keep them at defaults; tune only the operational ones as needed.

ParameterDefaultDescription
General
VersionCheck_EnabletrueEnable automatic update notifications.
RunModeMODE_ULTRARun mode (Defensive x0.5 / Standard x1.0 / Aggressive x2.0). Switches the lot multiplier.
Economic Event Filter
EconFilter_EnabletrueAvoid trading around high-impact economic events.
EconFilter_AvoidNFPtrueAvoid NFP (1st Friday each month).
EconFilter_AvoidFOMCtrueAvoid FOMC (US Federal Open Market Committee).
EconFilter_AvoidCPItrueAvoid CPI (US consumer price index).
EconFilter_AvoidWeekendtrueAvoid weekend risk (late Fri / early Mon).
EconFilter_AvoidHoursBefore2Avoid N hours before the release.
EconFilter_AvoidHoursAfter1Avoid N hours after the release.
EconFilter_ServerGMTOffset3Server-time GMT offset (summer=3 / winter=2).
EconFilter_VerbosefalseVerbose filter logging.
EconFilter_UseCalendartrueAuto-fetch from MT5 economic calendar (falls back to NFP/CPI rules where unavailable).
EconFilter_MinImportance2Min calendar importance (1=low+ / 2=medium+ / 3=high only).
EconFilter_CurrenciesUSDCalendar target currencies (CSV, e.g. USD,EUR,JPY).
EconFilter_StopImportance3Fully stop new entries at this importance or above.
EconFilter_StopBeforeMin120Stop: N minutes before release.
EconFilter_StopAfterMin60Stop: N minutes after release.
EconFilter_ReduceLotFactor0.5Lot factor on medium impact (reduce instead of stop).
EconFilter_ReduceBeforeMin30Reduce lot: N minutes before.
EconFilter_ReduceAfterMin15Reduce lot: N minutes after.
Safety Guard
Guard_EnabletrueEnable the safety guard (forward only).
Guard_EmergencyMargin120.0Close all if margin level falls below this % (0=off).
Guard_DailyLossPct8.0Stop new entries for the day at this daily loss % (0=off).
Guard_DailyLossClosefalseAlso close open positions when the daily loss is hit.
Guard_MaxConsecLoss0Stop new entries for the day after N consecutive losses (0=off).
Guard_FridayClosefalseClose everything late Friday.
Guard_FridayCloseHour20Friday close-all hour (server time).
News Protect
Guard_NewsProtectMode00=off / 1=SL to break-even / 2=half close / 3=close all.
Guard_NewsProtectMin15Run protection N minutes before high-impact events.
Dashboard / Notify
Notify_PushtrueMT5 mobile push notifications (requires MetaQuotes ID).
Notify_EmailfalseEmail notifications (requires MT5 email setup).
Notify_WebhookURL—Generic webhook URL (Discord/Slack, etc.; empty=off).
Notify_MarginAlert150.0Alert when margin level falls below this %.
Notify_DailySummarytrueSend a daily summary at a set time.
Notify_SummaryHour6Daily summary send hour (server time, 0-23).
Dash_TradeCSVtrueRecord all fills to CSV (MQL5/Files).
Dash_PauseButtontrueShow a pause button on the chart.
Dash_ShowPaneltrueShow the status panel on the chart (false = plain text)
Dash_LanguageFXLANG_AUTOPanel language (Auto = terminal language)
Notify_NewsPrewarnMin60Pre-warn N minutes before entries are halted (0=off).
EA_Sluggold-tripwireFXEA365 site EA identifier (do not change).
Position size
InpLot0.02Base lot (Standard mode; scaled by Run mode)
InpRiskPct0Risk % of balance per trade (0 = use base lot)
General
InpMagic20261020Magic number
DetailedLogtrueLogs wait/skip reasons, entries and exits to the Journal (forward only).
LogVerbosefalseVerbose tier: log pivots and filter detail
Performance breaker
InpBrkN30Trades evaluated by the breaker (0 = off)
InpBrkOff0.3Pause real trading when profit factor falls below
InpWarmMul0.3Lot multiplier until the breaker has enough trades
InpBrkOn1.0Resume real trading when profit factor reaches

Defaults and descriptions follow the EA source. Lot inputs show the effective value after the run-mode multiplier (Defensive x0.5 / Standard x1.0 / Aggressive x2.0). See the bundled MANUAL.html for details.

Always-on chart panel

Once the EA is on the chart, a panel shows its status at a glance.

EA chart panel
  • Switch the run mode with a button on the chart (no need to reopen the settings)
  • Choose the display language from 11 languages
  • Live P/L, maximum drawdown and EA net profit
  • Open positions with distance to SL

Screens show sample values for illustration.

EA Setup Guide

  1. Copy to the MQL5/Experts folderCopy the .ex5 file to the MQL5/Experts folder inside the MT5 data folder (File > Open Data Folder)
  2. Allow fxea365.com in MT5 WebRequest settingsIn MT5 open Tools → Options → Expert Advisors, tick "Allow WebRequest for listed URL", add https://fxea365.com and press OK. The EA checks your account licence there on start-up; without this it stops with "code=4014"
  3. Attach the EA to a chartOpen the chart for the target currency pair, drag the EA from the Navigator panel onto the chart, check "Allow Algo Trading," and click OK
  4. Turn on the Algo Trading buttonTurn on the "Algo Trading" button (green) in the MT5 toolbar. A smiley face (😊) in the top right of the chart means it is running

How to Set Up an EA in MT5 | From Installation to Operation →

Free download (register your account number)

⭐ Try it free first

STEP 1 Prepare your account

Using the EA requires an MT5 account opened through our referral link. If you already have an account, please create an additional account.

No account yet — open a new account via the links below

Adding an account — create an additional account in your member pageSee how →

STEP 2 Register your account number and download (free)

Please check before applying

The free EA is available for MT5 accounts opened through our referral link. When you enter your account number we check the linkage on the spot, and show you how to fix it if it is not confirmed.

Free registration; your account number is used only for EA license activation

Buy the paid version (MQL5 Market, no account registration)

Buy GOLD TRIPWIRE EA

This EA is coming soon on the MQL5 Market. For now you can download it free with a broker account to try it.

Frequently asked questions

What is the difference between the free and paid versions?
The free version works once you register the number of an Exness, XMTrading or HFM trading account opened through our referral link. The paid version is a one-time purchase on MQL5 Market and needs no account registration. For some EAs the version or default settings differ between the two (see the version shown on each page).
What happens if I change accounts?
The free version runs only on the account number you registered. To use it on another account, register again with that account number.
Can I backtest it?
Yes. The MT5/MT4 Strategy Tester does not check the account, so you can test on any account type.
Can I use it on a demo account?
No. The free version runs only on the registered live trading account. Use the Strategy Tester to check how it behaves.
What if the EA does not trade?
See "Common problems and fixes" in the setup guide. How to Set Up an EA in MT5 | From Installation to Operation →

📧 Free 8-email course + subscriber-only pack of 13 MT5 indicators

Right after you sign up, you get a download link for a subscriber-only pack of our 13 MT5 indicators: compiled files (.ex5), source code and a setup guide. Then 8 emails on algo-trading essentials, reading backtests correctly and choosing a broker (one a day for the first 5 days, then 7, 14 and 30 days after signing up). You also get notified before each price rise of the versions sold on the MQL5 Market (launch pricing that steps up as copies sell). Our EAs are free on this site with a live account at a partner broker.

* Privacy strictly protected. You can unsubscribe at any time.