Home >EA List >GOLD TRIPWIRE EA

GOLD TRIPWIRE EA — XAUUSD swing breakout strategy artwork

✓ Even if we cannot confirm the account was opened through our link (an account you already had, or a demo account), applying activates a 14-day trial right away.

Watch on the video page →

XAUUSDH1BidirectionalNo averagingMT5 test 6.8 yrsPF 1.87

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). v2.00 adds an independent H1 scalping engine (Piyo: two strategies — a stop order priced by a small neural network and a market entry scored by a gradient-boosted model) with its own magic numbers and lot.

Pair

XAUUSD

Timeframe

H1

Recommended Broker

Exness

Live BT Period

6.8 yrs

🛡 10th EA in the defensive lineup — gold only (breakout + H1 scalping)

It never averages down or uses martingale; the breakout engine holds at most one position per side and the Piyo engine trades a small fixed lot of its own. 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

+4320%

6.8 yrs · Ultra

PF

1.87

Relative equity DD

21.3%

Trades

2407

Win rate 67.3%

Aggressive ×2 · Relative equity DD: $10,000 → 4.0% (Dukascopy 2020.01–2026.11) / $1,000 → 12.6% (Exness 2020.01–2026.10)

⚡ 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
    2407
    PF
    1.87
    Max DD (relative, equity)
    21.33% (equity DD at the largest loss in money terms: 3.45%)
    Recommended minimum capital
    $1,000+ recommended
  2. OOSCaution
    Data source
    MT5 official ticks
    Years verified
    6.8
  3. ForwardIn progress

    This EA is in forward testing. Results for all EAs are published together on the forward test page.

    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. v2.00 (2026-11-08) adds an independent H1 scalping engine (Piyo, two strategies) that runs on the same chart.

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.
Piyo engine (v2.00)
An H1 scalper with two strategies. Strategy 1 places a stop order at a level computed by a small neural network from the last H1 bars; strategy 2 enters at market when a gradient-boosted model scores the bar above a threshold. Fixed stop-loss / take-profit in dollars, a staged trailing stop and a time exit (a profitable position after 5 hours, any position after 9 hours).
Engine independence
It never shares positions with the breakout engine: own magic numbers (2026110801/02) and own lot (base 0.014, scaled by run mode to 0.07 in Ultra; Standard and Defensive use the 0.01 minimum). From v2.02, each of the two strategies stops new entries for the day after one loss (two in v2.00). Manual pause, safety guard and news filter are shared. Gold symbols only. InpPyEnable=false gives exactly the v1.00 behaviour.
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+$43,202 (+4320%)$1,000 → $44,202
Profit Factor1.87Clears the flagship standard (PF≥1.5)
Max equity DD / relative equity DD3.45% / 21.33%Low
Trades / Win Rate2407trades / 67.3%Short holds (2.6 h on average)
Recovery factor18.15Good
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+$5,822.861.83$171.48 (3.10%)
Standard (0.02 lot + Piyo 0.01)×1+$6,583.771.89$163.75 (2.45%)
Aggressive×2+$18,241.661.86$507.10 (3.37%)
Ultra (shipped default)×5+$43,201.961.87$1,178.02 (3.45%)

Every mode trades the same signals (619 breakout + 1788 Piyo entries in Ultra); only the lot differs. The return % in the run-mode table below is also based on a $1,000 deposit.

The figures on this page are for v2.02 (breakout + Piyo engine; each Piyo strategy stops new entries for the day after one loss; published on MQL5 Market on 2026-11-20). The free MT5 download on this page is also v2.02. The free MT4 download is still v1.00 (breakout engine only). v1.00 baseline over the same test: +760% / PF 2.72 / 616 trades / relative equity DD 12.72%.

📈MT5 Strategy Tester Report — GOLD TRIPWIRE EA

🏆 MT5 Official Strategy Tester Result · XAUUSD / M15 (tester chart) / H1 (signal)Open 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). On 100% real-tick Dukascopy data (2015-2026, Standard mode, $10,000) the same v2.00 made +$4,534 with PF 1.62 — far less than this test suggests, so live results can be worse
  • Ultra (the shipped default) trades 5× the Standard lot. Max equity DD was 3.45% ($1,178 on a $1,000 start) and relative equity DD 21.33%. 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: +582%PF: 1.83Max DD: 3.1% (relative 5.1%)

Standard (recommended)

×1.0

The reference risk level. Start here.

Total: +658%PF: 1.89Max DD: 2.5% (relative 5.1%)

Aggressive

×2.0

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

Total: +1,824%PF: 1.86Max DD: 3.4% (relative 12.6%)

Ultra

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

Total: +4,320%PF: 1.87Max DD: 3.5% (relative 21.3%)

Measured backtest: XAUUSD H1, 2020-01 – 2026-10, 2407 trades, $1,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).
Piyo engine (H1 scalper, 2 strategies)
InpPyEnabletruePiyo エンジン(H1 スキャルパー2戦略)を有効化。false で v1.00 と同一動作(ゴールド銘柄のみ)
InpPyLot0.01Piyo の基準ロット(運用モードの倍率がかかる。Ultra=0.05)
InpPyMagic12026110801Piyo 戦略1(NN ストップ注文)のマジックナンバー
InpPyMagic22026110802Piyo 戦略2(GBM 成行)のマジックナンバー
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

✓ Even if we cannot confirm the account was opened through our link (an account you already had, or a demo account), applying activates a 14-day trial right away.

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 →

With Exness, an account added inside an existing Personal Area may not be linked to us. The reliable way is to register anew through our link with a different email address.

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

Buy on the official MetaQuotes Market (MQL5 Market). Payment, licensing and automatic updates are all handled inside the MT5 app.

Check the MQL5 product listing for current pricing, rental terms and availability.

Buy on MQL5 Market →

Buy on the official MetaQuotes Market — install directly in MT5 with automatic updates. No account registration needed.

Compare the available free distribution first

The free distribution may have separate eligibility and registration requirements. Review those terms before choosing the MQL5 edition.

Review free-download requirements →

Before you buy

  • Check MT4/MT5 compatibility and the current price on the MQL5 product page.
  • Free-distribution and MQL5 editions may have different license terms; verify before purchase.
  • Backtest results do not guarantee live returns. Review maximum drawdown and the test period.
Review published demo forward tests and update dates →

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 →

Articles about this EA

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

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