Gold Agent AI
- Experts
- Versione: 5.0
- Aggiornato: 3 dicembre 2026
- Attivazioni: 20
GOLD AGENT – Multi-Agent Gold Trading Desk for XAUUSD
Seven Specialists + One Cross-Market Layer. One Gold Decision.
Gold doesn't move on charts alone. It reacts to real interest rates, the US dollar, Fed expectations, geopolitical headlines, speculator positioning, and moves in the stock and energy markets.
GOLD AGENT brings all of these together. Seven specialised agents study the drivers of gold every hour, vote on direction, and the EA trades only when enough of them agree. An extra Index & Energy Lead layer watches for moves in US stock indices and energy markets that gold has not followed yet.
And you see everything: what every agent thinks, how confident it is, and exactly why the EA says BUY, SELL or NO TRADE.
No black box. No hidden logic. A transparent gold trading desk on your chart.
1. Meet Your Gold Trading Desk
| Agent | What Does It Do? |
|---|---|
| 01. Positioning & Mood | Reads CFTC Commitments of Traders data for COMEX gold to see how speculators are positioned, and the CNN Fear & Greed Index to measure safe-haven demand. |
| 02. Data & Headlines | Scores US economic releases against forecasts and scans market headlines for gold-moving events (war, sanctions, rate cuts, ceasefires, hawkish Fed). Avoids trading around CPI, NFP and FOMC. |
| 03. Yields & Fed | Tracks the US 10-year real yield (the strongest long-term driver of gold) and the US 2-year yield (Fed expectations). |
| 04. Trade Manager | Protects open trades with breakeven, ATR trailing stop, target extension, a time stop and a Friday close. |
| 05. Dollar Divergence | Compares gold with the Dollar Index. Gold rising with the dollar shows hidden demand; gold falling despite a weaker dollar shows weakness. |
| 06. Session Hours | Knows the Asian, London and New York sessions, and blocks entries during the daily rollover when spreads widen. |
| 07. Asian Range Breakout | Marks the Asian session high and low, then trades the London breakout, or fades a false break (stop hunt). |
Plus: the Index & Energy Lead Layer
| Condition | Result |
|---|---|
| US30, US2000, US500 and NAS100 rising + WTI, gasoline and natural gas rising + gold has not started rising yet | BUY setup |
| All of them falling + gold has not started falling yet | SELL setup |
It can open trades on its own (Own entry mode) or act as a confirmation filter for the agents (Confirm only mode).
2. How the Desk Decides
Every hour, 10 minutes after the H1 candle opens, the desk holds a check-in.
| Step | What Happens? |
|---|---|
| 1 | Every agent analyses its part of the gold market. |
| 2 | Each voting agent gives a Bullish, Bearish or Neutral opinion with a confidence score. |
| 3 | Votes are weighted and combined into one consensus score (-1.00 to +1.00). |
| 4 | The Index & Energy Lead layer checks for a cross-market setup. |
| 5 | Safety filters check news, session, spread and volatility. |
| 6 | The EA calls BUY, SELL or NO TRADE, and explains why on screen. |
Default Trading Signals
| Signal | Decision |
|---|---|
| Consensus +0.40 or higher | BUY |
| Consensus -0.40 or lower | SELL |
| Index & Energy Lead setup (Own entry mode) | BUY or SELL in the setup's direction |
| Anything else | NO TRADE |
Adaptive weights: the EA tracks every agent's accuracy. After 20 judged calls, agents that are right more often gain influence (up to 1.5×), and weaker ones lose it (down to 0.5×).
3. Built-In Risk Management
| Feature | What It Does |
|---|---|
| Stop Loss | H1 ATR-based stop distance (default ATR × 1.5). |
| Take Profit | Default 2R target, optionally extended to 3R when the desk still agrees. |
| Lot Calculation | Position size from your balance risk (default 0.5%). |
| Margin Protection | Caps the free margin one trade may use. |
| Spread Filter | Skips entries when the spread is too wide compared with ATR. |
| Breakeven | At +1R the stop moves to entry plus a small buffer. |
| Trailing Stop | From +1.5R the stop follows price by ATR. |
| Reverse Signal Exit | Closes a trade when the consensus flips to the other side. |
| Time Stop | Closes trades that go nowhere for 48 hours. |
| News Blackout | No new trades 30 minutes before and after high-impact USD news. |
| Rollover Block | No new entries during the daily rollover (21:00–23:00 GMT). |
| Friday Close | Closes open trades before the weekend gap (optional). |
| Smart Order Handling | Retries rejected orders, adapts to your broker's filling mode, and shows the exact reason if a trade can't be placed. |
All values are configurable. They are settings, not guaranteed risk or return outcomes.
4. A Professional Black-and-Gold Dashboard
| Feature | What You See |
|---|---|
| Seven Agent Cards | Direction, confidence and a plain-English explanation from every agent. |
| Consensus Meter | How strongly the agents agree, from Bear -1 to Bull +1. |
| THE CALL | BUY, SELL, NO TRADE or MANAGING. |
| Index & Energy Lead Card | Live tiles for US30, US2000, US500, NAS100, WTI, Gasoline, Natural Gas and Gold. |
| Live Chart | Gold candles (M15/H1/H4/D1), EMAs, Asian high/low, entry, SL and TP lines. |
| Trade Story & Desk Equity | Current trade, last decision, profit, win rate, profit factor, drawdown. |
| The Rationale | Which agents support or oppose the trade, and what would change the decision. |
| Agents Tab | Live data, rules, hit rate and adaptive weight for every agent, plus a full LEAD LAYER page. |
| News Tab | Economic calendar and gold-related headlines. |
| Web Request Tab | Connection status for every data source, with copyable addresses. |
| About Tab | Complete built-in user guide. |
The dashboard fits your chart size automatically and can be minimised at any time.
5. Supported Symbols
| Instrument | Example Symbol |
|---|---|
| Gold vs US Dollar | XAUUSD |
| Gold (alternative naming) | GOLD |
| Broker variations | XAUUSD.m, XAUUSDm, #XAUUSD and other prefixes/suffixes |
For the full feature set, your broker should also offer some of: US 2-year and 10-year yields, a Dollar Index (or EURUSD), US30, US2000, US500, NAS100, WTI crude, gasoline and natural gas. Common broker names are detected automatically. Any market that isn't available is simply skipped, and the panel shows which ones were found.
6. Two Operating Modes
| Mode | How It Works |
|---|---|
| Automatic Trading | Evaluates signals, places orders and manages trades automatically. |
| Signals Only | Shows signals and sends alerts without opening trades. |
My recommendation: start with Signals Only. Watch how the agents and the lead layer think before enabling automatic trading.
7. Quick Installation
| Step | What You Need to Do |
|---|---|
| 1 | Attach GOLD AGENT to an XAUUSD chart (any timeframe). |
| 2 | Open Tools → Options → Expert Advisors and enable "Allow WebRequest for listed URL". |
| 3 | Add https://publicreporting.cftc.gov (COT positioning) |
| 4 | Add https://fred.stlouisfed.org (real yield) |
| 5 | Add https://production.dataviz.cnn.io (Fear & Greed, optional) |
| 6 | Add https://www.fxstreet.com and https://www.investing.com (headlines) |
| 7 | Open the LEAD LAYER tab and check that your broker's symbols were found. |
| 8 | Enable Algo Trading. |
Good to know: if a data source is unavailable, only that agent sits out and the rest of the desk keeps working. The WEB REQUEST tab shows the status of every address, with a TEST NOW button.
8. A Note About Backtesting
GOLD AGENT is designed mainly for live analysis and forward testing.
Several inputs come from live external sources: CFTC positioning, Fear & Greed, real yields, the economic calendar and market headlines. When the EA runs on a live chart, it saves COT, Fear & Greed and real-yield history, which the Strategy Tester can then use without look-ahead. The economic calendar and headlines don't exist in the tester, so the Data & Headlines agent sits out there. For this reason, a backtest cannot fully reproduce live behaviour.
I recommend:
- A demo account with enough balance for gold. One 0.01-lot gold stop is often $25–40, so a $5,000 demo works well with the default risk settings.
- Starting in Signals Only mode.
- Watching the desk through different conditions, including major US news weeks.
- Reviewing the agent decisions, entries and exits.
Important
Gold can move tens of dollars in minutes and can gap over weekends. GOLD AGENT is a decision-support and automation tool, not a promise of profit. Past results, including backtests, do not guarantee future results. Always test on a demo account first, and only risk money you can afford to lose.

