FI Gold Context Guard EA — XAUUSD Multi-Core Context Framework and Broker SET File Guide
FI Gold Context Guard EA — XAUUSD Multi-Core Context Framework

FI Gold Context Guard EA is a MetaTrader 5 Expert Advisor designed for XAUUSD / GOLD.
- This post is intended as an extended guide for users who want to better understand the product structure, the broker-specific SET file logic, the internal CORE module approach and the role of the GOLD Context Guard
- The goal of this Expert Advisor is not to present a “magic robot”, but to introduce a more structured way to manage automated GOLD trading: internal strategy execution combined with market context validation, standardized CME Central Time sessions, portfolio protection and controlled risk settings.
Product page: FI Gold Context Guard EA is available on MQL5 Market.
You can download the demo, review the product description and follow future updates from the official Market page.
1. Product Concept
The EA is built as a protected multi-strategy trading container. Instead of exposing the complete internal strategy logic through dozens of optimizable parameters, the product uses protected internal strategy modules called CORE modules.
The user can control the global operational layer:
- risk profile;
- lot management;
- spread protection;
- long / short permissions;
- maximum daily trades;
- maximum open positions;
- margin and portfolio exposure limits;
- broker-specific driver mapping;
- diagnostics and visual panel settings.
The internal strategy parameters remain protected inside the Expert Advisor.
2. Current Internal CORE Modules
The current release includes two internal protected CORE modules.
CORE-01
- Symbol: XAUUSD
- Timeframe: H1
- Native session: EUROPE_US
- Session window: 01:00 - 11:30 CT
CORE-02
- Symbol: XAUUSD
- Timeframe: H1
- Native session: FULL_US
- Session window: 08:30 - 15:00 CT
Each CORE module has its own protected internal logic and its own native operating window. Future CORE modules may be added only after internal validation, broker testing and framework compatibility checks.
3. GOLD Context Guard
The GOLD Context Guard is a context validation layer. It is not an entry generator by itself. Its role is to evaluate whether the surrounding GOLD environment is aligned, neutral or divergent before allowing or blocking internal trading activity.
The EA can evaluate selected intermarket drivers such as:
- Dollar Index — DXY, DXY_U6, DOLLAR.IDX, USDX;
- S&P 500 — US500, USA500.IDX, .US500Cash, SPX500;
- Nasdaq / US Tech — USTEC, US100, USATECH.IDX, NAS100;
- Silver — XAGUSD, XAGUSDm, SILVER, XAGUSD.r;
- Copper — XCUUSD, COPPER.CMD, COPPER, HG;
- VIX — VIX, VIX_N6, USVIX, VOLX.
Copper and VIX are optional drivers. If a driver is not available or not reliable on a specific broker, it is better to disable it than to use an incorrect symbol.
4. Regime Score and Visual Panel
The EA includes a custom FintechInvest™ visual panel directly on the chart. The panel provides a quick operational overview without exposing the protected internal strategy logic.
The panel displays:
- Regime Score;
- current regime state;
- driver status;
- XAU context;
- server time;
- CT time;
- active CORE module.
The Regime Score should not be interpreted as a prediction of future price movement. It is a context classification tool used by the framework before allowing or blocking internal trading activity.
5. TimeProfile CT Logic
All internal strategy sessions are expressed in CME Central Time.
The EA converts broker server time into a standardized CT reference, reducing distortions caused by:
- different broker server time zones;
- daylight saving changes;
- platform-specific session definitions;
- non-standard broker configurations.
The commercial EA does not rely on the old StrategyQuant “Limit Time Range” as the final operating layer. The active logic is based on the FintechInvest™ standardized TimeProfile CT framework.
6. Risk and Portfolio Protection
The EA includes a centralized risk and portfolio protection layer. Before a CORE-generated signal becomes an executable trade, the global layer can evaluate:
- risk profile;
- maximum spread;
- maximum daily trades;
- maximum open positions;
- maximum positions per direction;
- maximum portfolio risk;
- maximum margin usage;
- minimum minutes between trades;
- Friday protection;
- emergency stop options.
Risk profiles are operational presets, not performance promises. Higher risk settings can increase both potential returns and drawdowns.
7. Broker-Specific SET Files
Broker symbol names are not standardized. For this reason, the EA supports broker-specific SET files and explicit driver mapping.
The recommended workflow is:
- load the broker-specific SET file;
- verify the XAUUSD symbol name;
- verify all driver symbols;
- disable unavailable or unreliable optional drivers;
- test in Strategy Tester;
- validate on demo before any live usage.
Broker-specific SET files will be progressively published in the product comments section and referenced from this blog post.
Example driver mapping:
- IC Markets-style: DXY_U6, US500, USTEC, XAGUSD, Copper OFF, VIX OFF;
- Dukascopy-style: DOLLAR.IDX, USA500.IDX, USATECH.IDX, XAGUSD, COPPER.CMD, VIX OFF.
8. Input Overview
The input structure is intentionally focused on the global operational layer. The internal strategy DNA is not exposed as public optimization inputs.
This design choice is intended to:
- protect the internal strategy logic;
- reduce uncontrolled over-optimization;
- keep the user focused on risk, execution and broker configuration;
- make the product easier to maintain across future CORE updates.
SET Files Pack
Broker: IC Markets
EA Version: ALL
Symbol: XAUUSD
Timeframe: H1
Risk Profile: Low / Medium / High / Extreme
Driver Mapping:
DXY = DXY_U6
USA500 = US500
USTEC = USTEC
XAGUSD = XAGUSD
Copper = OFF
VIX = OFF
Preset: FI_Gold_Context_Guard_EA_ICMarkets_Standard_Validation_v1.19.set
Broker: Dukascopy
EA Version: ALL
Symbol: XAUUSD
Timeframe: H1
Risk Profile: Low / Medium / High / Extreme
Driver Mapping:
DXY = DOLLAR.IDX
USA500 = USA500.IDX
USTEC = USATECH.IDX
XAGUSD = XAGUSD
Copper = COPPER.CMD
VIX = VOL.IDX
9. Demonstrative Backtest Overview
The image below shows a demonstrative Strategy Tester report using an Extreme Risk profile.
This is not intended as a performance promise. It is a visual overview of one historical test configuration and should always be interpreted with caution.
Backtests and demo results do not guarantee future performance. Execution quality, spread, slippage, liquidity, broker conditions, account settings and risk profile can significantly affect results.
10. Recommended First Setup
For a clean first validation, I recommend the following workflow:
- Use MetaTrader 5 Strategy Tester first.
- Select XAUUSD on H1.
- Load the broker-specific SET file when available.
- Check that driver symbols are available in your broker environment.
- Start with Low Risk or Custom low exposure settings.
- Run a demo validation before any live use.
- Compare results across broker data, spread and execution conditions.
11. Live Monitoring and Forward Testing
This is a new product. Live monitoring and additional forward-testing references will be added after the first public release, once sufficient live data is available.
The development roadmap is active. Additional CORE modules may be evaluated regularly and integrated only after internal validation, broker testing and framework compatibility checks.
12. Important Risk Disclaimer
This product is not financial advice.
Automated trading involves risk. Backtests, demo results and historical simulations do not guarantee future results. Users should understand MetaTrader 5 testing, broker execution, risk management and the limitations of historical simulations before using any Expert Advisor.
Always test first in Strategy Tester and on demo. Never use risk settings that are not compatible with your account size, experience and risk tolerance.
Conclusion
FI Gold Context Guard EA is designed as a scalable XAUUSD Expert Advisor built around protected CORE modules, GOLD context validation, standardized CME Central Time sessions, broker-specific SET files and risk-first execution logic.
The current release is the first step of a broader multi-core framework. Future updates may include additional validated CORE modules, improved broker mapping, enhanced diagnostics and further framework refinements.











