🔢 XG Gold Robot MT4 Settings Guide – Complete Parameters Explained
XG Gold Robot MT4 is a professional automated trading Expert Advisor (EA) designed specifically for gold trading on MetaTrader 4.
The EA includes advanced news filtering, recovery trading logic, risk management systems, pending order support, trading session controls and customizable stop-loss/take-profit settings.
With flexible configurations for XAUUSD and gold-related symbols, XG Gold Robot MT4 is built to help traders manage volatility while optimizing trading performance.

🔢 Complete XG Gold Robot MT4 Settings Explained
Below are the details of the parameters in the advisor’s trading system settings table:
🔶 News Filter Parameters
🔹 NewsFilterParams = --- NewsFilter ----------------: Section header for news filter settings.
🔹 NewsFilter = true: Enables the economic news filter system.
🔹 doNotTradeBeforeInMinutes = 60: Stops trading 60 minutes before important news events.
🔹 doNotTradeAfterInMinutes = 60: Prevents trading 60 minutes after news releases.
🔹 Report for USD = true: Activates filtering for USD economic news events.
🔹 Report for EUR = true: Activates filtering for EUR economic news events.
🔹 Allow TradingOnHolidays = false: Disables trading during holidays.
🔹 FindKeyword = false: Disables keyword-based news searching.
🔹 FindKeywordsList = ECB, FOMC, Fed, Federal Funds Rate, Non-Farm: List of monitored high-impact keywords.
🔹 StopLoss important News (% of balance) = 100.0: Maximum stop-loss during important news equals 100.0% of account balance.
🔹 Stop at profit important news (% of ordersprofit) = 0.0: Profit-based news stop condition is disabled with value 0.0.
🔶 Closing Orders Settings
🔹 ClosingOrders = --- Closing Orders ----------------: Section header for order-closing settings.
🔹 Closing All Orders = false: The EA will not automatically close all open trades.
🔹 Closing Time = 22:00: Orders can be closed automatically at 22:00.
🔶 Trade Parameters
🔹 TradeSection = --- Trade Params ----------------: Section header for trade configurations.
🔹 MaxSpread = 50.0: Maximum allowed spread is 50.0 points.
🔹 Lots = 0.05: Default trading lot size is 0.05.
🔹 LotsStep = 0.01: Lot increment step is 0.01.
🔹 RecoveryMode [for Low Risk] = false: Recovery trading mode for low-risk setup is disabled.
🔹 RecoveryMultiplier = 1.59: Multiplies recovery lot size by 1.59.
🔹 RecoveryMaxCycle = 3: Maximum recovery cycles allowed is 3.
🔹 Slippage = 50.0: Maximum slippage allowed is 50.0.
🔹 MagicNo = 427987: Unique magic number 427987 used for trade identification.
🔶 Main Trading Settings
🔹 Pending = true: Enables pending order functionality.
🔹 Trading = GOLD, XAUUSD, XAUEUR: Supported trading symbols are GOLD, XAUUSD, and XAUEUR.
🔹 FIFO = false: FIFO rule handling is disabled.
🔹 FixedLot = 0.0: Fixed lot mode is disabled with value 0.0.
🔹 RiskPercent = 10: Risk percentage per trade is set to 10%.
🔹 TradeComment = XG GOLD: Adds XG GOLD as trade comment.
🔹 MagicNumber = 391777: Unique magic number for EA trades is 391777.
🔹 Panel = true: Enables the on-chart information panel.
🔹 GoldWeeklyLevels = false: Weekly gold levels display is disabled.
🔹 System = true: Main trading system is enabled.
🔹 CustomComment = ADT: Adds custom comment ADT to trades.
🔹 tradeDirection = BuyAndSell: Allows both buy and sell trades.
🔶 Order Parameters
🔹 OrdersParams = --- Orders ----------------: Section header for order settings.
🔹 SelectRisk = Medium: Trading risk profile is set to Medium.
🔹 OrdersStep = 70.0: Distance between orders is 70.0 points.
🔹 OrdersProfit = 50.0: Target profit for orders is 50.0.
🔹 TrailingStopStart = 0.0: Trailing stop activation start is disabled with 0.0.
🔹 TrailingStopStep = 0.0: Trailing stop step is disabled with 0.0.
🔹 FixedTotalSLTP (Medium/High) = false: Fixed total stop-loss/take-profit system is disabled.
🔶 Stop Loss & Take Profit Parameters
🔹 TakeProfitParams = --- SL & TP ----------------: Section header for SL/TP settings.
🔹 TakeProfit = 50.0: Take-profit target is 50.0 points.
🔹 Stop Loss = 50.0: Stop-loss distance is 50.0 points.
🔹 Stop Loss % = 100.0: Maximum stop-loss percentage is 100.0%.
🔹 Stop at profit (% of OrdersProfit) = 50.0: Stops trading after reaching 50.0% of target order profit.
🔹 DisableAfterLoss = false: EA continues trading after losses.
🔶 Trading Hours Parameters
🔹 TradeHoursParams = --- Trade Hours (local time) ----------------: Section header for trading schedule.
🔹 Trading24h = false: 24-hour trading is disabled.
🔹 Monday = true: Trading enabled on Monday.
🔹 MondayStartTime = 08:00: Monday trading starts at 08:00.
🔹 MondayEndTime = 22:00: Monday trading ends at 22:00.
🔹 Tuesday = true: Trading enabled on Tuesday.
🔹 TuesdayStartTime = 08:00: Tuesday trading starts at 08:00.
🔹 TuesdayEndTime = 22:00: Tuesday trading ends at 22:00.
🔹 Wednesday = true: Trading enabled on Wednesday.
🔹 WednesdayStartTime = 08:00: Wednesday trading starts at 08:00.
🔹 WednesdayEndTime = 22:00: Wednesday trading ends at 22:00.
🔹 Thursday = true: Trading enabled on Thursday.
🔹 ThursdayStartTime = 08:00: Thursday trading starts at 08:00.
🔹 ThursdayEndTime = 22:00: Thursday trading ends at 22:00.
🔹 Friday = true: Trading enabled on Friday.
🔹 FridayStartTime = 08:00: Friday trading starts at 08:00.
🔹 FridayEndTime = 20:00: Friday trading ends at 20:00.
🔢 Conclusion
XG Gold Robot MT4 is a feature-rich gold trading Expert Advisor optimized for XAUUSD and related gold instruments. The EA combines advanced news filtering, recovery systems, risk control, pending orders and flexible trading session management.
With customizable stop-loss, take-profit, and order management tools, XG Gold Robot MT4 offers traders a comprehensive automated trading solution for volatile gold markets.
🔢 FAQs
❓ What is XG Gold Robot MT4?
XG Gold Robot MT4 is an automated gold trading EA for MetaTrader 4 designed for XAUUSD and gold-related instruments.
❓ Does XG Gold Robot MT4 include a news filter?
Yes, the EA includes a built-in economic news filter with customizable stop-trading periods.
❓ Which symbols can XG Gold Robot MT4 trade?
The EA supports GOLD, XAUUSD, and XAUEUR.
❓ Can XG Gold Robot MT4 trade both buy and sell positions?
Yes, the tradeDirection parameter is set to BuyAndSell.
❓ Does XG Gold Robot MT4 support recovery trading?
Yes, the EA includes recovery trading settings with configurable multipliers and cycle limits.









