EA Gold Swing Trand
- Uzmanlar
- Sürüm: 1.17
- Güncellendi: 28 Kasım 2026
- Etkinleştirmeler: 5
EA No.26
PK EA Gold Tri-Timeframe Swing Trend · V1.17
PK EA Gold Tri-Timeframe Swing Trend
Swing-trend Expert Advisor for gold (XAUUSD) on MetaTrader 5. Three legs on H2, H1 and H4, a real-yield filter, and a stop loss on every trade.
Gold Tri-Timeframe Swing Trend is an automatic Expert Advisor for gold (XAUUSD / GOLD) on MetaTrader 5.
It runs three independent swing legs from one chart, on the H2, H1 and H4 time frames. Each leg looks for a pullback in RSI(14) on the side of its EMA100 trend while ADX is low. A daily filter based on the US 10-year real yield decides whether buys or sells are allowed.
Every trade has a stop loss set at entry (2.5 x ATR; 3.0 x ATR on H4) and a trailing stop (4.0 x ATR; 5.0 x ATR on H4). There is no take profit. Lot size is calculated from the stop distance, so each leg risks 0.10% of equity while the account balance is below 10,000 USD and 0.30% once the balance is at or above 10,000 USD; both values are inputs. Account-wide protection halves the risk at a 12% equity drawdown and stops the EA at 20%.
The EA uses no martingale, grid or averaging down. It trades gold only and needs no .set file. It needs WebRequest permission for the data address in the input InpFredURL so the real-yield data can update.
Requirements: hedging account, balance of 2,000 USD or more (3,000 USD or more recommended), VPS recommended, Algo Trading enabled, WebRequest allowed for the real-yield data address.
Backtest (MT5 Strategy Tester, GOLD, every tick based on real ticks, 2016.01.01 - 2026.10.07, deposit 10,000 USD, default inputs, history quality 17%): net profit 7,265 USD, profit factor 1.60, maximal equity drawdown 11.01%, 793 trades, win rate 34.93%, longest losing run 20 trades.
Risk warning: Backtest results are simulated and are not real trading results. The rules were developed on the same historical data (in-sample) and no forward test has been completed. History quality in the MT5 Strategy Tester was 17%: real ticks exist only for the later part of the test and the earlier part is built from M1 bars. The 2018 and 2019 results were negative, and all of the net profit came from 2020 onward. In the 10,000 USD test shown the balance was below 10,000 USD on about 21% of days, so the lower 0.10% risk per leg applied during those periods. Equity drawdown is above 20% at a balance of 500 USD (35.4%) and 1,000 USD (23.3%). The win rate is low (about 20% - 36%) and losing runs of 20 to 24 trades occurred. The EA needs WebRequest permission for the real-yield data; without it the filter becomes neutral after its built-in data (to October 2026) is out of date and results will differ from the tests. Past performance does not guarantee future results. Trading gold CFDs carries a high risk of loss.

