Gold Custom AI
- Experts
-
Peng Peng Gao
Apex Quant Labs | Algorithmic Trading Systems for MetaTrader 4 & 5 - Versão: 1.7
- Atualizado: 6 novembro 2026
- Ativações: 9
Strategy
The Expert reads the CCI indicator on M15, M30, H1, H4 and D1. On each new H1 bar, an H1 CCI filter sets the direction: above +100 for buy, below -100 for sell. An entry is opened only when the current readings also match a pattern with the same direction. New entries are allowed from 15:00 to 11:00 server time. Open positions are closed before the market closes on Friday. The Expert does not use martingale, grid or trailing stops.
Backtest: last 12 months
MT5 Strategy Tester, XAUUSD H1, 2025-11-06 to 2026-11-06, every tick based on real ticks (100% history quality), GTCGlobalSA-Server 2, deposit 1,000 USD, leverage 1:500, default inputs.
- Net profit: 20,583.08 USD (final balance 21,583.08 USD)
- Equity drawdown: 24.88% relative, 4,298.59 USD maximal
- Trades: 235 (145 buy, 90 sell), 81.70% winning
- Profit factor: 2.44
- Average win 181.68 USD, average loss 332.57 USD
- Largest loss: 1,829.42 USD, 10.5% of the balance at that time
- Longest losing streak: 2 trades
These are simulated results, not live trading, and past results do not guarantee future results. Lot sizes grow with the balance, so most of the profit comes from the later months. Commission was 0 in this test. Other brokers' data, spreads and costs can give different results. The pattern table was built using data that overlaps this period, so this backtest is not an independent test and live results may be lower.
Risk
On XAUUSD, each entry uses a take profit of 16.5 and a stop loss of 40 in price units, so one stop loss cancels more than two take profits of the same size. These distances are limited to 0.825% and 2% of the price, which only matters at gold prices below 2000 or on lower-priced symbols. By default, each entry risks 10% of the balance at the stop loss. This is a high risk setting. Up to two positions can be open at once, and their risk adds up.
When equity falls 12% from its observed peak, the risk on new entries is halved until the drawdown recovers. Trading costs and price gaps can make a loss larger than planned. You can select a fixed manual lot size in the inputs instead of the built-in risk setting.
Requirements
Designed for XAUUSD on H1. Use on other symbols is not recommended. A hedging account is recommended, because a netting account holds only one position per symbol. With a standard 100 oz contract, the minimum lot of 0.01 fits the 10% risk budget from a balance of about 400 USD. Below that, the Expert skips entries.
Chart panel and inputs
A chart panel shows the account, drawdown and trading status, and can pause automatic entries, send manual orders with a second click to confirm, and close this Expert's positions. Settings are grouped into eight sections in the inputs.
Risk warning
Trading forex and gold involves high risk, and you can lose all of your capital. Backtest results are simulated, and past results do not guarantee future results. Please test on a demo account first and only trade with money you can afford to lose.
