Gold Xirtam AI
- Experts
-
Rabi Oudani
Professional developer of AI-driven algorithmic trading systems for MetaTrader environments, focused on execution precision, market logic, and disciplined risk engineering.
All systems are engineered with:
Structured, rule-based trade logic
Real market condition validation - Versione: 1.0
- Attivazioni: 10
Xirtam AI is a multi-engine gold trading system for XAUUSD with an optional language-model reviewer.
About the Expert Advisor
Xirtam AI is an Expert Advisor for MetaTrader 5 written for the XAUUSD spot gold market. It runs twenty independent strategy engines as one managed cohort, and it adds an optional MiniMax language-model review layer on top of the local engines.
The design goal is simple: keep the decision making inside one shared risk budget, so a busy market cannot turn twenty engines into twenty uncontrolled entries. Every engine proposes levels, the cohort merges them, and the account level guards decide what is actually allowed to be placed.
Operating rhythm:
| Layer | Role |
|---|---|
| M30 | Cohort decision timeframe, the base of the whole system |
| H1 | Trend and context layer, also the timeframe the language model reads |
| M15 / M5 / M1 | Lower timeframes used to refine entry timing and early exits |
The Expert Advisor is designed to stay attached to one chart and to manage its own orders, positions and exposure without any external helper, DLL or separate worker program.
The twenty engines
The cohort is built from twenty engines grouped into families. Each engine has its own magic number, its own state and its own enable switch in the panel, and each one proposes levels in its own style. The names below are the names shown in the panel, so you can map every family to the panel controls:
| Family | Engines |
|---|---|
| Foundation and structure | Foundation Grid, Adaptive Pair, Guarded Blend, Guarded Plus |
| Momentum | Momentum Reversal, Momentum Vector, Power Blend, Paired Pulse |
| Channel and spectrum | Three-Channel Blend, Full Spectrum, Spectrum Harvest, Paired Filter |
| Breakout | Micro Breakout, Micro Breakout Plus, Phantom Breakout, Apex Breakout, Quick Breakout, Unified Breakout |
| Harvest | Harvest Plus, Harvest Prime |
Two engines are deliberately kept apart: Phantom Breakout stays dormant until its own conditions are met, and the harvest family manages positions that are already running instead of opening new ones.
Engines are not independent accounts. They share one set of account rules, so the risk percentage, the maximum number of open positions and the maximum exposure apply to the whole cohort.
Order and risk management
| Control | Default | What it does |
|---|---|---|
| Risk per trade | 1.00% | Percentage of equity used for the cohort, divided between the active engines |
| Open position cap | 24 | Maximum number of positions the cohort may hold at the same time |
| Entries per level | 1 | Maximum orders on one price level, per side, across all twenty engines |
| Same level band | 60 points | Distance that still counts as the same level on XAUUSD |
| Stop loss | $12 | Initial protective stop for every order the system places |
| Take profit | $36 | Default profit target |
| Break-even | $4, then $1 | Moves the stop to break-even after a favourable move, then adds a small buffer |
| Trailing stop | $6 / $3.50 | Trailing distance and its step, applied to open positions |
| Duplicate guard | on | Removes older duplicate pending orders and keeps one order per level |
| Session filter | on | Blocks new entries outside the configured trading sessions |
| Spread filter | on | Blocks entries when the spread is wider than the configured limit |
| Sideways filter | on | Lets the cohort stand down in non-trending conditions |
All protective orders are sent to the server together with the position. If the terminal or the Expert Advisor is closed while a trade is open, the stop loss and the take profit stay on the broker side.
The on-chart panel
Xirtam AI draws a resizable panel on the chart. It is the only place where the system is configured, and it can be dragged, resized and switched between a dark and a light theme.
| Panel tab | Content |
|---|---|
| Home | Account summary, live cohort metrics, the gate status of every condition, the action row |
| Liquidity | The liquidity, spread and session view for the current market |
| Strategies | Every engine with its own on and off switch, its results and its page navigation |
| AI and News | The language-model review, the approval button and the live news wire |
| Audit | Closed trades by cohort, by language-model orders and combined, with the key performance figures |
| Setup | Live switches and filters, including the cohort master, the model master and the trailing stop |
| Readme | The five-page guide: Start, Strategies, Results, WebRequest and AI |
The action row at the bottom of the panel holds the everyday controls: pause or resume the Expert Advisor, the cohort master switch, the language-model master switch, the trailing stop switch and a guarded flatten button.
The language-model review layer
The MiniMax integration is optional and sits above the local cohort. It never replaces the risk rules; it only decides whether a trade is worth taking.
How a review runs:
- The Expert Advisor collects a market snapshot on the H1 timeframe and adds the current session state, the spread and the live news score.
- The snapshot is sent to the MiniMax endpoint together with a strict answer format. The model has to return an action, a direction, a confidence figure, a self-reported number of confirmations and a reason.
- The answer is checked against the local guards. A proposal with too few confirmations, an invalid stop or take profit, a blocked news window or a paused system is turned into a review-only result and no order is sent.
- A valid proposal can be approved by hand with one click, or placed automatically when auto trading is switched on for the model layer.
The model reads the market, it does not manage the account. Position management, the exits and the exposure limits stay with the Expert Advisor, which is why the language-model layer can be switched off without changing the behaviour of the local cohort.
News and macro context
| Source | Use |
|---|---|
| Google News RSS | General macro headlines |
| FXStreet RSS | Market commentary and scheduled events |
| ForexLive RSS | Fast reaction wire for currency news |
| BBC World RSS | Geopolitical background |
| CNBC RSS | Economic releases and central bank coverage |
| USD economic calendar | Scheduled high-impact events for the trading day |
The news layer produces a score that runs from minus three to plus three. A strongly negative score blocks new entries during the affected window, and the same score is passed to the language-model review as additional context.
Requirements and installation
| Requirement | Detail |
|---|---|
| Terminal | MetaTrader 5, 64-bit, build 2360 or later |
| Market | XAUUSD spot gold on the broker's own symbol name |
| Minimum timeframe | M30 on the chart the Expert Advisor is attached to |
| Chart mode | The panel needs an open chart window |
| Algo Trading | Must be enabled in the terminal for the system to place orders |
The language-model review and the news wire need five HTTPS hosts to be allowed for WebRequest. Open Tools > Options > Expert Advisors, find the Allow WebRequest list and add one host per line, written exactly as shown, with no trailing slash and no path:
Press OK, attach the Expert Advisor to the gold chart and allow Algo Trading. The Readme tab of the panel repeats these steps and shows how to confirm that the connection works: every feed prints an HTTP 200 line in the Experts log, and a host that is missing is refused by the terminal with error 4014.
Developer
Xirtam AI is developed by OUDANI RABI. The developer contact and the product page are available through the program properties and on the MQL5 product page, where the version history and the public discussion are kept.
