Gold Structure EA MT5 Trading Capital P
- Experts
- Version: 1.0
- Activations: 10
Gold Structure EA MT5 Trading Capital P trades XAUUSD with the market structure. It uses the same two engines as Structure Stop MT5 and Power Bar MT5: it enters with a power bar or a structure turn in the direction of the H1 and H4 structure, places the stop loss on the structure stop and takes profit at 3 R.
No grid, no martingale, no averaging down. One trade at a time per symbol, always with a stop loss, sized by the risk you choose.
How it trades
- Direction: the structure phase of the chart. In a BUY phase the stop sits under the last swing low; a candle close beyond the stop turns the phase.
- Filter: the structure phase of a higher timeframe (H4 by default) must point the same way.
- Entry: a power bar that closes in the direction of the phase (range of at least 1.8 ATR, strong body, close near the extreme), or the candle that turns the phase.
- Stop loss: the structure stop itself. Trades are skipped when it is closer than 0.3 ATR or farther than 3 ATR.
- Exit: take profit at 3 R, or close when the structure turns against the trade. Optional trailing with the structure stop.
- All decisions are made on closed candles. What you see in the Strategy Tester is what the EA does live.
Research behind the default inputs
- XAUUSD H1, September 2021 to October 2026, 30,000 bars, with a cost of 35 points per trade. Results in R (1 R = the risk of each trade), so they do not depend on lot size.
- All trades: 185 trades, 40 % win rate, average +0.31 R, profit factor 1.63, maximum drawdown 13.1 R
- First 60 % of the data: 112 trades, +0.31 R per trade. Last 40 %: 73 trades, +0.32 R per trade, profit factor 1.65. The search of 1,260 input combinations looked at both parts, so the last 40 % is a stability check, not a blind test. Of the combinations that were positive on the first 60 %, 88-92 % were also positive on the last 40 %, and the neighbours of each chosen input stay positive
- Both directions were positive. Five of the six calendar years were positive; 2024 was -1.8 R.
- The MQL5 code of the EA was replayed on the same history and reproduced the research trade list exactly: 185 of 185 trades
- Honest note: with the same inputs, EURUSD and GBPUSD lost in our test. The defaults are built for gold. Test any other symbol in the Strategy Tester first.
Protection
- Risk per trade in % of the balance (1 % by default) or fixed lots, with a maximum lot
- Daily loss limit: no new trades for the rest of the day after the loss you set (3 % by default)
- Maximum new trades per day, maximum spread, trading hours and optional Friday close
- Volume, stop level, free margin and trading permission checks before every order
Panel
- Structure phase and stop of the chart, phase of the filter timeframe, last power bar
- Open position with its result in R and money, today's result and number of trades
- The reason for the last decision, for example why a signal was skipped
Recommendations
- XAUUSD H1, one chart. A broker with a low spread on gold and a VPS help.
- Start with 0.5 % to 1 % risk per trade. Expect losing streaks: the win rate is about 40 % and the edge comes from winners of 3 R.
- Run your own test in the Strategy Tester with "Every tick based on real ticks" on your broker's data.
Backtest results are not a promise of future results. Trading gold with leverage carries a high risk of loss. Part of the Trading Capital P family: Structure Stop MT5, Power Bar MT5, Structure Scanner MT5, Currency Strength MT5 and Trade Manager MT5.

