TCEGold
- Experts
- Versione: 1.2
- Aggiornato: 4 dicembre 2026
- Attivazioni: 5
TCE Gold - Trend Channel Edge (M5 GOLD)
TCE Gold is a trend-following expert advisor for GOLD / XAUUSD on the M5 timeframe. It draws a least-squares regression channel over the last 300 confirmed M5 closes, decides the market regime from the H4 trend, and trades only breakouts of that channel in the direction of the H4 trend. While a position is in profit it adds same-direction pyramid positions.
This is the third product of the ACE / RCE / TCE series. No grid, no martingale, no averaging down.
HOW IT DECIDES
- Channel: least-squares regression of the last 300 confirmed M5 closes; the half-width is the largest residual from the centre line.
- Regime filter: H4 EMA(50) slope and price position, measured over 6 bars with a 0.15% threshold.
- Entry: a confirmed M5 bar closes OUTSIDE the channel edge, and only in the direction of the H4 trend. Counter-trend breakouts are not taken.
- Stop loss: channel width x 0.45, sent to the broker with the order.
- Take profit: channel width x 0.75. Risk to reward is 1 : 1.667, so the break-even win rate is 37.5%.
- Add-ons: same-direction pyramid every channel width x 0.80 of open profit, equal lot size, maximum 2 adds.
- Basket limit: 6 positions maximum; total held risk is capped.
- Frequency: at most 1 new entry per day and 1 initial position, so the EA is selective by design.
BUILT-IN PROTECTION
- Equity drawdown stop: closes the basket and pauses for 10 days when equity drawdown from the peak reaches the configured level (10% by default).
- Held-risk cap: the sum of open risk is limited (4.0% of the account in the shipped set).
- Session filter: no new entries between 20:00 and 21:00 server time, and no entries on Friday after 21:00.
- Spread filter: no entry when the spread is above 200 points.
- Volatility floor: no entry when ATR is below 0.12%, which avoids dead markets.
- Loss-streak cooldown: after 2 consecutive losses, entries pause for 96 M5 bars.
- Every position is opened with a broker-side stop loss. The EA never holds a position without a stop.
VERIFIED RESULTS
Same EA, same period, four runs. The only differences are the risk preset and the account size.
Data: GOLD (XAUUSD) M5, "Every tick based on real ticks", 2022.01.03 to 2026.11.30, 283,873,406 ticks / 347,887 bars, leverage 1:100, execution delay 0 ms.
SAFE (LowDD), 5,000 USD: net profit +2,130.75 (+42.6%), max equity drawdown 315.24 (4.50%), 112 trades, win rate 56.3%, profit factor 1.8367, recovery factor 6.76.
SAFE (LowDD), 10,000 USD: net profit +4,521.75 (+45.2%), max equity drawdown 611.43 (4.68%), 113 trades, win rate 56.6%, profit factor 1.9920, recovery factor 7.40.
STANDARD, 5,000 USD: net profit +6,025.78 (+120.5%), max equity drawdown 882.96 (9.63%), 113 trades, win rate 56.6%, profit factor 1.9445, recovery factor 6.82.
STANDARD, 10,000 USD: net profit +11,816.70 (+118.2%), max equity drawdown 1,703.77 (9.55%), 109 trades, win rate 56.0%, profit factor 1.9594, recovery factor 6.94.
Sharpe ratio 4.47 to 4.98. Minimum margin level 758%. Maximum consecutive losses 4.
The return is almost identical at 5,000 and 10,000 USD because risk is sized as a percentage of equity: the same percentage risk produces the same percentage result at any account size.
SETTINGS AND REQUIREMENTS
- Symbol: GOLD / XAUUSD. Broker prefixes and suffixes are handled.
- Timeframe: M5. Attach the EA to a GOLD M5 chart.
- Account: hedging or netting. The results above come from a hedging account, where the pyramid add-ons are active.
- On a netting account the EA detects the mode at start-up, prints a warning and disables only the add-ons. It keeps running in single-position mode instead of refusing to start.
- Recommended deposit: 5,000 USD or more. Below that, the 0.01 minimum lot pushes the real risk per trade above the design value.
- Leverage: 1:100 or higher.
- Risk modes: SAFE (default) and STANDARD are built into the EA. To switch, change the input InpRiskMode and press OK. MANUAL lets you set your own percentages. An AGGRESSIVE preset exists in the EA but is not recommended and is not part of this offer.
- Every row above is reproducible by changing InpRiskMode only (STANDARD row = InpRiskMode STANDARD, SAFE row = InpRiskMode SAFE). All other inputs can stay at their defaults.
- Changing the mode does not close open positions. The new risk percentages apply from the next entry.
WHAT IS INCLUDED
- TCE Gold expert advisor (compiled for MetaTrader 5, X64 build).
- Two risk presets (SAFE / STANDARD) built into the input InpRiskMode. No external files to load.
- No DLL, no WebRequest, no external files, no network access.
HONEST LIMITATIONS
- 109 to 113 trades over 4.8 years is a thin sample. The one-entry-per-day limit keeps the EA selective, but statistical confidence is limited. Judge it on forward results, not on this backtest.
- Because of the pyramid add-ons, a losing basket can carry up to 6 positions. That is a designed drawdown, not a grid.
- The backtest uses one broker's tick history. Spread, commission, swap and fill quality differ between brokers.
- Past performance does not guarantee future results. Test on a demo account before using real money.
