MetaTrader 5 · XAUUSD · Breakout EAs

Turtle Trading EA for MT5 (Donchian Channel)

GoldLab Turtle Channel is a Turtle trading EA for MT5 built on the classic Donchian channel rules: enter on a 20- or 55-bar breakout, size and stop from the ATR (the Turtles' N) and exit on the opposite 10- or 20-bar channel.

GoldLab Turtle Channel - turtle trading ea mt5
GoldLab Turtle Channel logo
$99One-time purchase · no subscription · free demo on MQL5
Buy on MQL5 Market →

GoldLab Turtle Channel is an Expert Advisor based on the well-known Turtle trading rules: buy new highs, sell new lows, size positions by volatility and let winners run. It was designed for XAUUSD (Gold) and also runs on forex pairs, indices and other CFDs. Every trade has a stop-loss.

How it trades

  • Entry: a closed bar beyond the Donchian channel - System 1 uses the 20-bar high/low, System 2 the 55-bar high/low, or set your own lengths.
  • N (volatility): the ATR (default 20). The initial stop-loss is 2N from entry.
  • Pyramiding (optional, hedging accounts): adds a unit every 0.5N in profit from the last unit, up to the maximum number of units (default 2). When a unit is added, earlier stops are raised to the new unit's stop.
  • Exit: all units are closed when a bar closes beyond the opposite exit channel - the 10-bar low/high for System 1, 20-bar for System 2. An optional fixed take-profit in N can be added.
  • Signals are evaluated once per closed bar of the signal timeframe.

Risk management

  • Risk % per unit (default 1% of equity) - the lot is calculated from the 2N stop distance. With 2 units the total open risk is up to 2x this value. A fixed lot can be used instead.
  • Daily loss limit (default 3% of the day-start equity).
  • Maximum spread filter and optional trading hours.
  • Free-margin check, broker volume limits and stop/freeze levels are respected before every order. On netting accounts pyramiding is switched off automatically and the EA never adds to or reverses a position opened by something else.

Inputs and default settings

GroupInputDefaultMeaning
StrategySignal timeframeH1Timeframe for the channels (chart timeframe can be anything)
StrategyBreakout systemSystem 1System 1 (20/10), System 2 (55/20) or Custom
StrategyCustom entry / exit length30 / 15Used only with Custom
StrategyN = ATR period20Volatility measure
StrategyAllow longs / shortstrue / trueDirection filter
StopsStop-loss (x N)2.0Initial stop distance
StopsTake-profit (x N)00 = none, exit on opposite channel
StopsPyramiding / Max units / Add step (x N)true / 2 / 0.5Unit adding
StopsRaise earlier stopstrueMove older stops up when a unit is added
Position sizeRisk % / Fixed lot / Max lot1.0 / 0 / 10Position sizing (per unit)
SafetyDaily loss limit %3.00 = off
SafetyMax spread (points)502-digit gold scale: 100 = 1.00 USD
SafetyUse hours / Start / Endfalse / 1 / 22Optional server-time window
SafetyMagic number26100701Change it to run several copies on one symbol

Recommended setup

  • Symbol: XAUUSD (or your broker's gold symbol). Signal timeframe: H1 or H4 (System 2 suits H4/D1).
  • Hedging account for pyramiding; netting works with single units.
  • Start on a demo account with the default 1% risk and test the settings in the Strategy Tester with your broker's data first. A VPS is recommended for 24/5 operation.

Honest notes

No martingale, no grid, no averaging down - units are only added to a winning position, and every position has a stop-loss. Breakout systems have many small losses from false breakouts and rely on fewer, larger trends; expect losing streaks. Trading gold, forex and CFDs is high risk and you can lose your capital. No trading system wins every trade, and past or backtested results do not guarantee future results. Only trade money you can afford to lose and always test on a demo account first.

How GoldLab Turtle Channel trades - illustration
How it trades (illustration, not real trading results).
GoldLab Turtle Channel risk management features
Built-in risk management.

Plan your risk before you run it

FAQ

Does the Turtle Channel EA add to positions?

Yes, on hedging accounts it can add a second unit after the trade has moved 0.5N in profit (default on, maximum 2 units, switchable off). Units are only added to a winning position, earlier stops are raised, and on netting accounts pyramiding is switched off automatically. It never averages down.

Turtle System 1 or System 2: which should I use on gold in MT5?

Both are built in. System 1 (default) enters on a 20-bar Donchian breakout and exits on the opposite 10-bar channel; System 2 uses 55-bar entries and 20-bar exits, so it trades less often and holds longer, which suits H4 or D1. Custom entry and exit lengths are also possible. Compare them in the MT5 Strategy Tester with your broker's gold data before going live.

Is there a free demo?

Yes. Every MQL5 Market product has a free demo that runs in the MetaTrader 5 Strategy Tester, so you can test it on your broker's own data before buying.

Does it use martingale, grid or averaging down?

No. Every position is opened with a stop-loss, the lot size comes from your risk % (or a fixed lot), and there is a daily loss limit.

Which broker and account do I need?

Any MetaTrader 5 broker that offers XAUUSD, on a hedging or netting account. A low-spread account and a VPS for 24/5 operation are recommended.

Can this EA guarantee profits?

No. No trading system wins every trade, and backtest or past results do not guarantee future results. Start on a demo account with the default risk.

Trading gold, forex and CFDs is high risk and you can lose your capital. This page is for information only and is not investment advice. Illustrations are not trading results.