TrendEdge Gold Breakout
- Experts
- Version: 1.20
- Updated: 15 October 2026
- Activations: 5
TrendEdge is a trend-following Expert Advisor made for gold. It waits for the H1 price to break out of the range of the previous four days, opens one trade in the direction of the breakout, protects it with an ATR stop loss and then trails the stop behind the price. One position at a time, fixed percent risk per trade, no martingale, no grid and no averaging down. It limits risk but cannot guarantee any result.
HOW IT TRADES
- It watches the H1 chart and waits for a close above the highest high, or below the lowest low, of the previous 96 hours (four days).
- It opens one market trade in the direction of the breakout and places the stop loss at 1.5 times the ATR.
- When the trade is 1.5R in profit, the stop starts trailing behind the price at 2 ATR. There is no fixed take profit by default, so winning trends can run.
- One position at a time. No martingale, no grid, no averaging down, no hedging.
- A daily trend filter (100-day average) keeps trades in the direction of the larger trend.
RISK AND POSITION SIZE
- The lot size is calculated from a fixed percent of your balance and the stop distance, so every trade risks about the same amount.
- Optional daily loss stop, maximum spread filter, trading hours and a no new trades late on Friday option.
- The lookback is set in hours and converted to bars, so the same settings also work on other timeframes (H1 is recommended).
- The EA checks that the market is open before it sends an order.
PANEL ON THE CHART
- Clean on-chart panel: state, breakout levels, ATR and stop distance, size of the next trade, open position with its R multiple, stop loss and today's result.
- Dashed lines on the chart mark the upper and lower breakout levels.
- Dark and light themes.
SMALL ACCOUNTS
- Made for gold. On XAUUSD the smallest lot (0.01) can be too large for a very small account. Check the risk shown in the panel.
- Brokers that offer gold per gram or cent symbols (for example GAUUSD) let you start with a small balance. Use the Size from this balance setting to size trades from a chosen amount.
- If the smallest lot would risk more than the allowed percent, the EA skips the trade instead of over-risking.
IMPORTANT INFORMATION
- TrendEdge limits the risk of each trade but cannot guarantee any result. Trend strategies have losing streaks and sideways periods.
- Strategy Tester results depend on broker data and settings and are not a promise of live results. Test on a demo account first.
- It works only while the terminal, the computer and the connection are running. Slippage, gaps and spread changes can make results differ.
- You are responsible for your trading decisions, settings and any losses. The developer is not responsible for losses.
SETUP
- Attach TrendEdge to an H1 chart of XAUUSD (or another gold symbol) and enable Algo Trading.
- Check the risk per trade and the optional daily loss limit. The default risk is 1 percent.
- Use a different magic number if you run it on several accounts or symbols.
- Support and updates: we keep improving the product according to customer needs and always take customer feedback into account. Questions are answered within 48 hours.
KEY SETTINGS
- Breakout lookback, hours - the length of the channel that must be broken.
- ATR period and stop loss as an ATR multiple.
- Trailing start (in R) and trailing distance (in ATR).
- Risk per trade, size from balance, maximum lot and the minimum lot risk limit.
- Daily loss stop, maximum spread and trading hours.
- Magic number, trade comment and panel settings.
NOTES
- Works with hedging and netting accounts, one position per symbol and magic number.
- Settings can be changed in the inputs at any time, open trades keep their stop.
- Trading involves risk and you are responsible for your decisions. Test on a demo account first.

