Gold Trend Breakout

Gold Trend Breakout is a trend-following Expert Advisor for MetaTrader 5, built for XAUUSD (Gold) on the H1 timeframe.

What it does

The EA waits for gold to break out of its recent range and then follows the trend for as long as it lasts.

  • Entry: a closed H1 bar breaks above the highest high (buy) or below the lowest low (sell) of the previous 110 bars.
  • Initial stop: 3.5 x ATR(20) from the entry price.
  • Exit: the stop trails the opposite 20-bar channel and is never loosened. There is no fixed take profit, so a winning trade stays open while the trend continues.
  • One position at a time. No grid, no martingale, no averaging, no hedging, no news trading, no DLL.

Position size

Each trade risks a fixed percentage of equity (default 0.75%) if the initial stop is hit. On small accounts where this would be below the broker's minimum lot, the EA trades the minimum lot only if its real risk stays within a limit you set (default 3%); otherwise it skips the trade.

What to expect

This is a trend-following system. It typically wins fewer than half of its trades. Most trades are small losses when a breakout fails; profit comes from a minority of trades that catch a long trend. Expect losing streaks and periods of several months without new highs. In the Strategy Tester some calendar years were negative (for example 2018 and 2022), when gold moved sideways.

Inputs

  • Entry_Period (110): breakout channel length in bars
  • Exit_Period (20): trailing exit channel length in bars
  • SL_ATR_Mult (3.5): initial stop distance in ATR
  • Trend_EMA (0): optional EMA trend filter, 0 = off
  • ATR_Period (20)
  • Risk_Percent (0.75): risk per trade, % of equity
  • Max_Min_Lot_Risk (3.0): maximum risk accepted when the minimum lot is used
  • Max_Lots (5.0): maximum lot per trade
  • Max_Spread_Pts (0): optional spread filter in points, 0 = off
  • Allow_Long / Allow_Short
  • Magic_Number, Trade_Comment
  • Stress_Cost_Per_Lot (0): Strategy Tester only, subtracts an extra cost per lot from the optimization score; it does not change live trading

Recommended use

  • Symbol: XAUUSD / GOLD, timeframe H1. The default settings were developed on this symbol only.
  • Any account type; low spread is helpful but the EA trades rarely (about 60 trades per year in tests).
  • Run it on a VPS or a computer that stays online. The EA works on closed bars, so it does not need fast execution.
  • Test it first in the Strategy Tester with your broker's data and on a demo account.

Risk notice

Trading leveraged products such as gold CFDs carries a high risk of loss. Strategy Tester results are simulations based on historical data. They do not represent live trading and do not guarantee future results. Choose a risk level you can afford to lose.

More from author
CadusFX
Ciprian Ghebanoaei
Discover the power of CadusFX, the fully automated professional trading robot, designed specifically for the USDCAD forex market on the H1 timeframe. CadusFX is ready for action right away! All you have to do is choose your lot size. With an intelligent algorithm that detects trends and filters out market noise, CadusFX generates orders in the right direction of the trend. Combining two essential indicators, MACD Signal and Average True Range – available on any MT5 platform, this expert offers
FREE
Trade Jet
Ciprian Ghebanoaei
TRADER JET is a fully automated trading robot, also known as an Expert Advisor (EA), designed to trade exclusively on the GBPJPY currency pair. This EA is ready to use out of the box, with no need for complex parameter configuration. The only setting you need to decide on is the lot size . Core Functionality This trading robot is built with an intelligent system that identifies market trends and filters out noise. It then places trades based on the detected trend's direction. The system uses a
FREE
YenGuard AI
Ciprian Ghebanoaei
YenGuard AI is a professional trading robot, which does not need to configure parameters. You only need to decide the size of the lot you will use. The robot is fully automatic and does not require any human intervention. It trades on the basis of moving averages and is able to trade in Forex USDJPY currency pairs and M15 time frame. It has a smart algorithm which detects the trend. The expert creates orders on trend direction. Input and output orders are given by a combination of two indicat
FREE
Alligator Trader
Ciprian Ghebanoaei
3 (2)
Alligator Trader is a fully automatic, professional trading robot. Designed specifically for the foreign exchange market   USDJPY M30. EA does not need to configure parameters. Ready to work on  USDJPY M30. , You only need to decide on the choice of the lot. It has a smart algorithm which detects the trend, filters out market noise. The expert creates orders on trend direction. Input and output orders are given by a combination of two indicators that can be found on any MT4 platform: Alligator
FREE
EffiTrade
Ciprian Ghebanoaei
1. Product Type: EffiTrade is an automated Expert Advisor (EA) developed for the MetaTrader 5 platform that enables automated trading on the Forex market. This EA focuses on trading the GBP/JPY pair, using advanced algorithms to identify market entry and exit opportunities. 2. Main Features: Automated Strategy: Uses technical indicators such as Moving Average and other custom parameters to execute trades. Time Frame: Operating on the M15 timeframe, i.e. every trading decision is based on anal
FREE
Pacific Trade
Ciprian Ghebanoaei
An Automated Solution for Efficient Trading on GBPJPY, M30" Description: Discover Pacific Trade, an advanced trading robot that redefines the way you engage in the forex market, focusing on the GBPJPY parity and having the M30 timeframe as the optimal time window. This intelligent tool combines modern technology with sophisticated trading strategies to bring you consistent and sustainable profits. Key features: 1. **Efficiency on GBPJPY, M30 Timeframe:** has been fine-tuned to maximize trad
FREE
Immutable Trader
Ciprian Ghebanoaei
Get your hands on Immutable Trader and start making money in the markets with ease! Our innovative EA is powered by a smart algorithm that detects trends, filters out market noise, and places orders with pinpoint accuracy. You'll never have to worry about capital security again with our built-in Stop-Loss feature. And with 5 powerful indicators at your disposal - Directional Indicators, Stochastic, RSI, ADX and Bollinger Bands - you'll be able to confidently trade in any market condition. Get Im
FREE
Bullish Wave
Ciprian Ghebanoaei
Ready to turbocharge your trading game? Bullish Wave is the fully automated trading software that gives you the edge you need to become a profitable trader. With powerful analytics, real-time market data, and intuitive tools. With   Bullish Wave , you'll be able to effortlessly trade in the forex market like a professional. Our fully automated EA works with two industry-leading indicators: Bears Power indicator and ADX indicator. Open positions faster and safer than ever before with our integrat
FREE
Idea Trader
Ciprian Ghebanoaei
Idea Trader (EURUSD M30) Idea Trader  is a fully automatic, professional trading robot. Designed specifically for the foreign exchange market   EURUSD M15 . This EA does not need to configure parameters. Ready to work on  EURUSD M15 . You only need to decide on the choice of the lot. This EA has a smart algorithm which detects the trend, filters out market noise. The expert creates orders on trend direction. Input and output orders are given by a combination of four indicators that can be found
FREE
Constant Grow
Ciprian Ghebanoaei
Unlock the secret to consistent growth in your trading account with Constant Grow , the ultimate trading indicator. Powered by a combination of advanced indicators including RVI Signal, Moving Average, Volumes, Stochastic, and Alligator, this revolutionary tool has been meticulously backtested over a two-year period (2021-2023) to ensure its effectiveness. With Constant Grow , you can now protect and expand your account balance while minimizing risks. Our expert advisor takes care of all money
FREE
Stock Flow
Ciprian Ghebanoaei
Are you looking to take your stock trading to the next level? With its smart algorithm and expert orders, you can make sure you're always ahead of the game. Make profits from up and down markets, easily predict trends, and stay on top of your investment portfolio - with Stock Flow, it's all possible! Input and output orders are given by a combination of two indicators that can be found on any MT4 platform:  MACD Signal,  Momentum indicator and  Money Flow Index indicator.  Indicators have period
FREE
Bollinger Blitz
Ciprian Ghebanoaei
With its smart algorithm and expert orders, you can make sure you're always ahead of the game. Make profits from up and down markets, easily predict trends, and stay on top of your investment portfolio - with  Bollinger Blitz , it's all possible! With Bollinger Blitz , you'll be able to effortlessly trade in the forex market like a professional. Our fully automated EA works with two industry-leading indicators: Commodity Channel Index and Bollinger Bands. Open positions faster and safer than eve
FREE
Moving Average EA Trader
Ciprian Ghebanoaei
2.5 (2)
Moving Average Trader is a professional trading robot, which does not need to configure parameters. You only need to decide the size of the lot you will use. The robot is fully automatic and does not require any human intervention. It trades on the basis of moving averages and is able to trade in all currency pairs. It has a smart algorithm which detects the trend. The expert creates orders on trend direction. Input and output orders are given by a combination of two indicators that can be found
FREE
Constant Trader
Ciprian Ghebanoaei
1 (1)
Constant Trader DayTrader Free Constant Trader DayTrader Free is a MetaTrader 4 Expert Advisor designed for intraday trading on EURUSD-style symbols. The EA uses a rule-based RSI and Bollinger Bands reversal model, ATR-based protection, dynamic lot sizing, a spread filter, and forced day-end position management. This free version is intended for traders who want a clean, transparent day-trading EA without martingale, grid, arbitrage, news trading, or neural-network logic. Main Features Intraday
FREE
Discret Trader
Ciprian Ghebanoaei
Discret Trader is a trading robot designed to generate daily profits in the foreign exchange market. Discret Trader is perfect for those who want to start with little money and make automatic trading. With minimum loss and a high accuracy of over 95%, Discret Trader has been specially designed as an automatic trading platform with minimum risk and high profit opportunities. Discret Trader is a fully automatic, professional trading robot, designed specifically for the foreign exchange market  G
FREE
Serious Trader
Ciprian Ghebanoaei
Serious Trader   is a fully automatic, professional trading robot designed specifically for the foreign exchange market   EURUSD M15 timeframe. EA   does not need to configure parameters. You only need to decide the size of the lot you will use. The recommended lot for a $1000 account is 0.1. If you have more capital in your account you can increase the lot size proportionally. It has a smart algorithm which detects the trend. The expert creates orders on trend direction. Input and output order
FREE
Professional Overview: Pound Yen Reversion Trader EA for MT4 Pound Yen Reversion Trader is a specialized Expert Advisor engineered specifically for the GBPJPY currency pair on the M15 timeframe. It systematically identifies short-term price dislocations and captures mean-reversion moves back toward equilibrium. By targeting micro-inefficiencies on M15 charts, the EA minimizes exposure time and eliminates guesswork. It translates core statistical principles into a disciplined, automated rulebook
SmartTrend EA
Ciprian Ghebanoaei
SmartTrend EA – Precision-driven trading with advanced technical indicators. If you've ever traded forex, you know that emotions can influence decisions. Sometimes, you exit a profitable trade too early or stay in a losing one for too long. An EA eliminates this emotional factor, executing strategies based solely on logic and technical indicators. MetaTrader 5 is one of the most popular trading platforms, and this EA is specifically designed to maximize its advanced functionalities. Configurable
Filter:
No reviews
Reply to review