Gold Tandem

Gold Tandem runs two independent trend strategies for XAUUSD in one Expert Advisor. Each strategy waits for its own market situation and manages its own position, with a stop loss and take profit on every order, break-even protection after the first move and a time limit on every trade. No martingale, no grid. The same trading rules run on a live MQL5 signal that started on 25 November 2026 and is still too short to judge; the results below come from a backtest, are shown with their settings and costs, and are not forecasts.

Also available for MetaTrader 5: Gold Tandem MT5 - https://www.mql5.com/en/market/product/211579

Who it is for: traders who want two independent gold trend strategies working side by side in one EA; traders comfortable with a low win rate offset by larger winners, and with long quiet or losing stretches between strong trend phases.

At a glance

  • Symbol and chart: XAUUSD, M1 chart
  • Strategies: two, each with its own entries and its own position
  • Style: trend following with a high reward-to-risk ratio: frequent small losses, occasional large wins
  • Protection: stop loss and take profit on every order, break-even after the first move and a time limit on every trade
  • Positions: at most one per strategy, two in total
  • Time zones: adapts to your broker's server time automatically
  • Backtest averages: about 32 trades per month; median holding time about 9.7 hours
  • Not used: martingale, grid, averaging down, DLL, AI

How it works

  1. Two strategies: Each strategy looks for its own trend situation and works independently of the other.
  2. Enters with protection: The stop loss and the take profit are part of the order request, and the EA checks the stops against the broker's minimum stop distance before sending. If the broker rejects stops in the order request, the EA opens the trade and attaches them right after; a trade that still has no stop loss is closed by the EA. After a connection timeout the EA waits to confirm the order instead of sending it again.
  3. Management: The stop moves to break-even once the trade has moved in its favour.
  4. Time limit: A trade that has not reached its stop or take profit is closed after a fixed time.

Each strategy can be turned off in the inputs. With both on, up to two positions can be open at the same time, so size the account for both.

Backtest results

MetaTrader 4 Strategy Tester, hypothetical, not live trading. Gold Tandem version 1.0, XAUUSD M1, Every tick, modelling quality 99.90%, variable spread, 2025.01.01 - 2026.09.24, deposit 10,000 USD, fixed 0.01 lot.

  • Trades: 582 (334 long, 248 short)
  • Profit factor: 1.64
  • Net profit: 4,202.67 USD
  • Maximal drawdown: 500.74 USD
  • Average profit / loss trade: 68.86 / -15.35 USD
  • Longest losing streak: 20 trades in a row

Commission is not included in the tester result; at 7 USD per lot round turn it is about 40.74 USD for the 5.82 lots traded.

With the same trades, profit and drawdown in USD change roughly in proportion to the lot size; margin, costs and lot rounding can change the result.

Live monitoring

Real account running this strategy (MQL5 Signals): https://www.mql5.com/en/signals/2401505

That account runs the same trading rules and started on 25 November 2026, so it is still far too short to judge the EA. It is the author's commercial signal account and trades a larger lot than the default of this EA, so its swings are larger than the published test.

Setup

  1. Attach the EA to an XAUUSD M1 chart and enable AutoTrading.
  2. Use a low-spread account (ECN or raw spread) and a VPS. Results depend on your broker's spread, commission, slippage and swap.
  3. Keep the default settings (fixed 0.01 lot) to match the published test, or set Risk per trade, for example 0.5% or 1%, for balance-based sizing (see the FAQ).
  4. Suggested balance: 2,000 USD or more for each 0.01 lot (largest drawdown in the published test 500.74 USD, about 25% of 2,000 USD). 1,000 USD per 0.01 lot also works but doubles the risk (about 50%).
  5. Start on a demo account with the smallest lot.

Input parameters

Position sizing:

  • Risk per trade, % of balance - default 0. 0 uses the fixed lot. Above 0 the lot is calculated from the stop distance so that the planned stop-loss risk matches this percentage; signals are skipped when the broker's minimum lot would exceed it.
  • Fixed lot size per strategy - default 0.01. Used when the risk is 0. If it is below the broker's minimum lot, the minimum lot is used.

Filters:

  • Max spread to open a trade - default 1.50. In price units: 1.50 means 1.50 USD on XAUUSD. 0 turns the filter off.
  • Gold (XAUUSD) must be above this price - default 3000. Applies to gold symbols only; 0 turns it off. Open trades continue to be managed.
  • Max slippage, points - default 30.

Broker time:

  • Detect broker GMT offset automatically - default true. Used on live and demo accounts.
  • Broker GMT offset, hours - default 0. Used in the Strategy Tester or when detection is off: 0 for a GMT+0 server, 2 or 3 for GMT+2 or GMT+3.

Strategies and order tagging:

  • Strategy 1 (on/off) - default true. Turns strategy 1 on or off.
  • Strategy 2 (on/off) - default true. Turns strategy 2 on or off.
  • Magic number - default 26112601. Must be above 0. Strategy 1 uses this number and strategy 2 uses this number + 1, so keep both free from other EAs on the account.

Strategy Tester and other charts

Test on XAUUSD, M1, model "Every tick", with complete history; real tick data from your broker gives the most reliable result. Use the default settings to reproduce the published test. The free demo of this product runs in the Strategy Tester, so you can check it on your broker's price data before buying.

Enter your server's offset in the Broker GMT offset input; the EA cannot detect it in the tester.

Changing to a timeframe other than M1 activates a different, simplified strategy on the chart's own bars, with a stop loss and take profit on every order and one position at a time. It is not covered by the published results, and the gold price filter does not apply to it. All recommendations refer to XAUUSD M1.

FAQ

Why is the EA not opening trades? The status panel on the chart shows the current state and the reason for the last skipped signal, for example: its own time conditions are not met yet (check the broker GMT offset input); the price of gold is below the minimum gold price input (3000 by default); the spread is above the limit; the broker's minimum lot would exceed the risk setting (risk % mode); chart history is still loading. Also check that AutoTrading is enabled.

Fixed lot or risk %? The default fixed 0.01 lot is the setting of the published test. Risk % sizes each trade from its stop distance. Percentage sizing targets the planned stop-loss risk at order entry. Signals are skipped when the broker's minimum lot exceeds that budget. Slippage, gaps, fees and overnight costs can cause realised losses to exceed the planned amount.

Are losing streaks normal? Yes. In the published test the longest losing streak was 20 trades in a row. Size the account so that such a streak is acceptable.

Which GMT offset should I use? On live and demo accounts the offset is detected from the clock and logged once a day in the Experts tab. In the Strategy Tester enter your server's offset manually; for servers that switch between GMT+2 and GMT+3, tester results are approximate.

Can I run it together with other EAs? Yes, with a different magic number for each EA. Each EA manages only its own trades; the total exposure of several EAs is not limited automatically.

Can both strategies hold a trade at the same time? Yes, one position each. They can point in the same direction or in opposite directions; the EA does not net them.

Which magic numbers does the EA use? Strategy 1 uses the magic number from the inputs and strategy 2 uses that number + 1. Give other EAs on the account different numbers.

How should I read the backtest? A few unusually strong trend months produced a large part of the result. Between such phases the EA can go through long quiet or losing stretches, so judge it over many months, not weeks, and size the account for a losing streak.

Can I run it together with GoldSwing T24? Not on the same account. Both EAs follow gold trends and tend to be active in the same market phases, so running them together mostly adds exposure to the same moves instead of spreading the risk.

Support

For questions and help with the setup, send me a private message on MQL5 or write in the Comments tab of this product.

Risk warning. Trading leveraged products such as gold CFDs carries a high level of risk and may result in the loss of your entire deposit. Backtest results are hypothetical and do not guarantee future results. Test on a demo account first and trade only with money you can afford to lose.

Yazarın diğer ürünleri
A line-by-line MQL5 port of "UT Bot Alerts" by QuantNomad (Pine v4, 2020). The idea is by HPotter and the first version by Yo_adriiiiaan. The original is published as open source on TradingView. All credit goes to those authors. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/203726 Same logic as the original ATR is atr(c) = Wilder RMA seeded with an SMA. The built-in iATR is not used. Trailing stop follows the original nested iff / nz recursion: it ratchets up whi
FREE
Gold Entry
Thanh Trung Tran
Gold Entry runs two independent trend systems for XAUUSD in one Expert Advisor. Each system reads the market in its own way and manages its own position, so the EA does not depend on a single rule. A stop loss on every order and at most one position per system. This is the same EA that trades the Gold Entry signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below with their settings and costs; they are not forecasts. Also available for MetaTra
A line-by-line MQL5 port of "Range Filter Buy and Sell 5min" : the original Range Filter by DonovanWall , the simplified version by guikroth and the Pine v5 update by tvenn . It is published as open source on TradingView. All credit goes to those authors. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/203727 Same logic as the original Smoothed range = EMA(EMA(|close - close[1]|, period), 2 x period - 1) x multiplier. Each EMA is seeded with an SMA, the same as ta.
FREE
Adaptive SuperTrend KMeans is a MetaTrader 5 port of the open-source TradingView indicator "Machine Learning Adaptive SuperTrend" by AlgoAlpha (Mozilla Public License 2.0). All credit for the idea and the original code goes to AlgoAlpha. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/198796 At a glance What it is: a SuperTrend whose band width adapts to the current volatility level Volatility levels: K-means sorts recent ATR values into high, medium and low cluste
FREE
A line-by-line MQL5 port of "Chandelier Exit" , (c) 2019-present Alex Orekhov ( everget ), distributed under the GPL-3.0 license. The original is published on TradingView. This port is released under the same license. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/203729 Same logic as the original ATR = multiplier x ta.atr(length) (Wilder RMA, seeded with an SMA). Long stop = highest(close or high, length) - ATR. It only moves up while the previous close stays abo
FREE
An independent MetaTrader 5 implementation of the classic HalfTrend method, as popularised on TradingView by everget. It was written from the method description. Credit for the method goes to its authors. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/212439 What it shows A stepped trend line. In an up-trend it follows the highest low of the last bars and only moves up; in a down-trend it follows the lowest high and only moves down. The trend turns down when the m
FREE
An independent MetaTrader 5 implementation of the TTM Squeeze method by John Carter, in the form popularised on TradingView by LazyBear ("Squeeze Momentum Indicator"). It was written from the published formula. Credit for the method goes to those authors. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/212438 What it shows Squeeze dots on the zero line. Orange: the Bollinger Bands (20, 2.0) are inside the Keltner Channel (20, 1.5, true range), so volatility is comp
FREE
An independent MetaTrader 4 implementation of the classic HalfTrend method, as popularised on TradingView by everget. It was written from the method description. Credit for the method goes to its authors. Also available for MetaTrader 5 (free): https://www.mql5.com/en/market/product/212443 What it shows A stepped trend line. In an up-trend it follows the highest low of the last bars and only moves up; in a down-trend it follows the lowest high and only moves down. The trend turns down when the m
FREE
Gold Lighthouse
Thanh Trung Tran
Gold Lighthouse is a free, fully automated Expert Advisor for XAUUSD. It trades rarely and calmly - a few trades per month, long or short - and every order carries a stop loss and a take profit from the first second. There is never more than one position open, and a trade that reaches neither level is closed after a time limit. No martingale, no grid. Historical test results are shown below with their settings and costs; they are not forecasts. Who it is for: traders who want to try a rule-based
FREE
Adaptive SuperTrend K-Means is an MT4 port of the open-source TradingView indicator "Machine Learning Adaptive SuperTrend" by AlgoAlpha (Mozilla Public License 2.0). All credit for the idea and the original code goes to AlgoAlpha. Also available for MetaTrader 5 (free): Adaptive SuperTrend KMeans MT5 - https://www.mql5.com/en/market/product/209466 At a glance What it is: a SuperTrend whose band width adapts to the current volatility level Volatility levels: K-means sorts recent ATR values into h
FREE
A line-by-line port of "UT Bot Alerts" by QuantNomad (Pine v4, 2020). The idea is by HPotter and the first version by Yo_adriiiiaan. The original is published as open source on TradingView. All credit goes to those authors. Also available for MetaTrader 5 (free): UT Bot Alerts with Signal Stats MT5 - https://www.mql5.com/en/market/product/209458 The logic is exactly the original's ATR is atr(c) = Wilder RMA seeded with an SMA. The built-in iATR is not used. Trailing stop follows the original nes
FREE
A line-by-line port of "Chandelier Exit" , 2019-present Alex Orekhov ( everget ), distributed under the GPL-3.0 license. The original is published on TradingView. This port is released under the same license. Also available for MetaTrader 5 (free): Chandelier Exit with Signal Stats MT5 - https://www.mql5.com/en/market/product/209460 The logic is exactly the original's ATR = multiplier × ta.atr(length) (Wilder RMA, seeded with an SMA). Long stop = highest(close or high, length) − ATR. It only m
FREE
A line-by-line port of "Range Filter Buy and Sell 5min" : Also available for MetaTrader 5 (free): Range Filter Buy Sell with Signal Stats MT5 - https://www.mql5.com/en/market/product/209459 original Range Filter by DonovanWall simplified version by guikroth Pine v5 update by tvenn It is published as open source on TradingView. All credit goes to those authors. The logic is exactly the original's Smoothed range = EMA(EMA(|close − close[1]|, period), 2 × period − 1) × multiplier. Each EMA is seede
FREE
A backtest looks great. Then the EA runs live and the numbers are different, and nobody can say why. Was it slippage, missed signals, a restart or a manual trade? Or was the backtest flattering? Tester vs Live Trade Matcher answers that trade by trade, on MetaTrader 5. It never opens, modifies or closes orders. What you get Verdict: green (live matches the backtest), amber (partly matches) or red (live differs). Trade match: trades on each side and the match rate (Jaccard); trades the backtest t
FREE
Gold Order Flow
Thanh Trung Tran
Gold Order Flow is a fully automated Expert Advisor for XAUUSD that reacts to unusually strong moves in gold - long or short. Every order carries a stop loss and a take profit from the first second, there is never more than one position open, and trades are time-limited. No martingale, no grid. This is the same EA that trades the Gold Order Flow signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below with their settings and costs; they are no
GoldSwing T24
Thanh Trung Tran
GoldSwing T24 is a fully automated trend Expert Advisor for XAUUSD. It trades only with the prevailing trend and closes every trade within 24 hours at the latest - no position is left open for long. A stop loss and take profit on every order, plus break-even protection after the first move. This is the same EA that trades the GoldSwing T24 signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below with their settings and costs; they are not fore
GoldIBH
Thanh Trung Tran
GoldIBH combines three complementary gold strategies in one Expert Advisor. Each one looks for a different market situation and manages its own position and stop loss, so the EA can find opportunities in more conditions than a single-rule EA. This is the same EA that trades the GoldIBH signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below with their settings and costs; they are not forecasts. Also available for MetaTrader 5: GoldIBH MT5 - h
Gold Momentum Breakout is a fully automated momentum Expert Advisor for XAUUSD. It stays out of the market until gold shows real momentum, then joins the move - long or short. Every order carries a stop loss from the first second, trades are time-limited, and there is never more than one position open. No martingale, no grid. This is the same EA that trades the Gold Momentum Breakout signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below wit
An independent MetaTrader 4 implementation of the TTM Squeeze method by John Carter, in the form popularised on TradingView by LazyBear ("Squeeze Momentum Indicator"). It was written from the published formula. Credit for the method goes to those authors. Also available for MetaTrader 5 (free): https://www.mql5.com/en/market/product/212440 What it shows Squeeze dots on the zero line. Orange: the Bollinger Bands (20, 2.0) are inside the Keltner Channel (20, 1.5, true range), so volatility is comp
FREE
Gold Twin Rider
Thanh Trung Tran
Gold Twin Rider is a rule-based Expert Advisor for XAUUSD that trades both directions. It has two independent entry engines, one for long trades and one for short trades, and each engine holds at most one position, so at times one buy and one sell are open together. Every trade has a stop loss from the moment it is opened and a time limit; short trades also carry a take profit. No martingale, no grid, no averaging down. A real account running the same rules started on 30 November 2026 (link belo
GoldSwing T24 MT5
Thanh Trung Tran
GoldSwing T24 MT5 is a fully automated trend Expert Advisor for XAUUSD on MetaTrader 5. It trades only with the prevailing trend and closes every trade within 24 hours at the latest - no position is left open for long. A stop loss and take profit on every order, plus break-even protection after the first move. The same trading rules run the GoldSwing T24 signal on MQL5, so you can watch the strategy on a real account before you buy. Historical test results are shown below with their settings and
Gold Momentum Breakout MT5 is a fully automated momentum Expert Advisor for XAUUSD on MetaTrader 5. It stays out of the market until gold shows real momentum, then joins the move - long or short. Every order carries a stop loss from the first second, trades are time-limited, and there is never more than one position open. No martingale, no grid. The same trading rules run the Gold Momentum Breakout signal on MQL5, so you can watch the strategy on a real account before you buy. Historical test re
GoldIBH MT5
Thanh Trung Tran
GoldIBH MT5 combines three complementary gold strategies in one MetaTrader 5 Expert Advisor. Each one looks for a different market situation and manages its own position and stop loss, so the EA can find opportunities in more conditions than a single-rule EA. The same trading rules run the GoldIBH signal on MQL5, so you can watch the strategy on a real account before you buy. Historical test results are shown below with their settings and costs; they are not forecasts. Also available for MetaTra
Gold Entry MT5
Thanh Trung Tran
Gold Entry MT5 runs two independent trend systems for XAUUSD in one MetaTrader 5 Expert Advisor. Each system reads the market in its own way and manages its own position, so the EA does not depend on a single rule. A stop loss on every order and at most one position per system. The same trading rules run the Gold Entry signal on MQL5, so you can watch the strategy on a real account before you buy. Historical test results are shown below with their settings and costs; they are not forecasts. Also
Gold Tandem MT5
Thanh Trung Tran
Gold Tandem MT5 runs two independent trend strategies for XAUUSD in one MetaTrader 5 Expert Advisor. Each strategy waits for its own market situation and manages its own position, with a stop loss and take profit on every order, break-even protection after the first move and a time limit on every trade. No martingale, no grid. A live signal with the MetaTrader 4 version started on 25 November 2026 and is still too short to judge; the results below come from a backtest, are shown with their setti
Filtrele:
Değerlendirme yok
Değerlendirmeye yanıt