FXEA365 Gold Tripwire Breakout: user guide, set files and FAQ
9 November 2026, 10:22
0
9
This guide covers installation, run modes, ready-made set files and common questions for FXEA365 Gold Tripwire Breakout version 2.00. The EA trades XAUUSD (gold) on MetaTrader 5 with two engines. The breakout engine places a buy-stop at the last confirmed H1 swing high and a sell-stop at the last confirmed H1 swing low, each with a stop-loss, a take-profit and a staged trailing stop. The Piyo engine, added in v2.00, is an independent H1 scalper on the same chart with a fixed stop-loss and take-profit in dollars, a staged trailing stop and a time exit. A performance breaker scores the last 30 trades and switches to virtual trading when the profit factor falls below 0.3. Attach the EA to one XAUUSD chart; any timeframe works (M15 recommended) because the EA reads the H1 swings itself. A hedging account and a low-spread account are recommended. Figures in this guide are as of 2026-11-09.
Installation and first run
1. Open one XAUUSD chart. M15 is recommended, but any timeframe works.
2. Drag the EA onto the chart and allow algorithmic trading in the Common tab.
3. Turn on Algo Trading in the terminal toolbar.
4. A hedging account is recommended. On a netting account the EA prints a warning in the Experts log.
5. A VPS is recommended so the pending orders are managed around the clock.
6. After attaching, the EA trades at 0.3x lot size until 30 trades have been recorded for the breaker. This is expected behaviour.
Minimum deposit and leverage
- From about 300 USD for Defensive and Standard.
- 1,000 USD or more for Ultra.
- Leverage 1:100 or higher.
Run modes
The lot multiplier is x0.5 / x1 / x2 / x5. The figures below come from the Exness 2020-2026 test with both engines (Exness real ticks, XAUUSDm, 2020.01.01 to 2026.10.14, deposit 1,000 USD, fixed lot, history quality 11%). Backtests are historical simulations, not a live record, and do not indicate future performance.
- Defensive (x0.5, breakout 0.01 / Piyo 0.01 lot): +6,764.89 USD, maximum equity drawdown 251.11 USD (4.00%), largest relative 5.49%.
- Standard (x1, breakout 0.02 / Piyo 0.01 lot): +7,525.62 USD, maximum equity drawdown 234.08 USD (3.47%), largest relative 5.49%.
- Aggressive (x2, breakout 0.04 / Piyo 0.02 lot): +15,081.50 USD, maximum equity drawdown 472.08 USD (3.79%), largest relative 9.92%.
- Ultra (x5, breakout 0.10 / Piyo 0.05 lot, default): +37,448.32 USD, profit factor 1.83, maximum equity drawdown 1,186.27 USD (4.03%), largest relative drawdown 18.97%, 2,762 trades, win rate 66.4%.
The Ultra dollar drawdown exceeds the 1,000 USD start because it came after the balance had grown; plan for about 19% of equity.
The forward test runs on an Exness demo account (not real money) in the default Ultra mode. It started on 2026-10-26 with v1.00 and switched to v2.00 on 2026-11-08. No forward figures are stated yet; judge it against the Ultra drawdown above (largest relative 18.97%) and expect about 400 trades a year.
Set files
The run mode is chosen with the RunMode input (an enum). Each set changes only the run mode; all other inputs stay at their tested defaults (base lot InpLot=0.02, Piyo base lot InpPyLot=0.01, InpRiskPct=0 = fixed lot, Piyo engine on).
Defensive
; RunMode 0 = MODE_DEFENSIVE
RunMode=0
Copy these lines into a text file named GoldTripwire_Defensive.set, save it in MQL5\Presets, then load it in the EA's Inputs tab with Load.
Standard
; RunMode 1 = MODE_STANDARD
RunMode=1
Copy these lines into a text file named GoldTripwire_Standard.set, save it in MQL5\Presets, then load it in the EA's Inputs tab with Load.
Aggressive
; RunMode 2 = MODE_AGGRESSIVE
RunMode=2
Copy these lines into a text file named GoldTripwire_Aggressive.set, save it in MQL5\Presets, then load it in the EA's Inputs tab with Load.
Ultra (default)
; RunMode 3 = MODE_ULTRA
RunMode=3
Copy these lines into a text file named GoldTripwire_Ultra.set, save it in MQL5\Presets, then load it in the EA's Inputs tab with Load.
Prop firm (Defensive mode: the smallest lot measured above, breakout 0.01 / Piyo 0.01, maximum equity drawdown 251.11 USD (4.00%), largest relative 5.49%)
; RunMode 0 = MODE_DEFENSIVE
RunMode=0
Copy these lines into a text file named GoldTripwire_PropFirm.set, save it in MQL5\Presets, then load it in the EA's Inputs tab with Load.
Check your firm's daily-loss and maximum-loss rules against these figures before you start.
If you want exactly the v1.00 behaviour (breakout engine only), add the line InpPyEnable=false to any set. Note that the run-mode figures above are for both engines.
FAQ
Q: Which timeframe should I attach it to?
A: Any. M15 is recommended. The EA reads the H1 swings itself, so the chart timeframe does not change the signals.
Q: Does it use martingale or grid?
A: No grid, no martingale and no averaging-in. The breakout engine holds at most one position per direction. The lot is fixed per mode (or set by Risk %), and raising it raises the drawdown in the same proportion. Every breakout trade has a stop-loss and a take-profit, and the Piyo engine uses a fixed stop-loss and take-profit in dollars, plus a time exit (a profitable position closes after 5 hours, any position after 9 hours).
Q: What is the smallest account that makes sense?
A: About 300 USD for Defensive or Standard, and 1,000 USD or more for Ultra.
Q: What changed in v2.00?
A: The Piyo engine was added. It trades far more often (about 170 trades a year) and holds longer (up to 9 hours), so expect more trades and a larger dollar drawdown than v1.00 at the same mode.
Q: Can I use it on a prop-firm account?
A: Use the prop-firm set above (Defensive) and check your firm's daily-loss rule against the drawdown figures before you start.
Q: My broker calls the symbol XAUUSDm or GOLD. Does it work?
A: Yes. The EA recognises gold symbols that contain XAU or GOLD, so suffixes are accepted. The Piyo engine switches itself off on a symbol that is not gold.
Q: What about news?
A: An economic event filter is built in and on by default (EconFilter_Enable=true), using the MetaTrader 5 economic calendar.
Q: How do I check it in the Strategy Tester before buying?
A: Run the free demo on XAUUSD with "Every tick based on real ticks" and compare profit factor and drawdown with the figures above at the mode you plan to use. Price history and spreads differ between brokers, so some gap is normal.
Q: What should I do during a drawdown?
A: Compare it with the figure for your mode. The breaker already moves the EA to virtual trading when the last 30 trades fall below profit factor 0.3, and back to real trading at 1.0. If the drawdown goes beyond the tested figure for your mode, stop and reassess rather than raising the lot to recover.
Q: How do updates work?
A: Updates arrive through the MQL5 Market. After an update, check that RunMode and the Piyo switch are still as you set them.
Risk warning
Losing streaks and losing months exist; the breaker reduces them but does not remove them, and spread, commission and slippage change the results. Backtests are historical simulations and do not indicate future performance. Start on a demo account or a small account, and never trade money you cannot afford to lose.


