🔢 Gold Injection Ultra EA MT5 Settings Guide: Complete Inputs and Risk Management Explained
Gold Injection Ultra EA MT5 is an automated trading system designed specifically for Gold (XAUUSD) on MetaTrader 5. It uses a structured grid-trading approach with configurable lot sizing, basket-level stop-loss and take-profit management, trailing-profit controls, drawdown protection, spread filtering, trading schedules, and economic news protection.
These features allow traders to customize how the EA opens positions, manages a group of trades, and responds to changing market conditions.
This guide explains every visible input in the supplied configuration, preserving the original parameter names, numerical values, and enabled or disabled states.

⚙️ Lot Setting — Position Sizing
🔹 Enable Auto Lot? = true — Enables automatic lot sizing. The EA calculates position volume according to its configured risk level and balance-based lot-sizing rules instead of relying exclusively on a manually fixed lot.
🔹 Select Risk Level = Low Risk (0.01 per $500) — Selects the Low Risk profile, which specifies a lot-sizing reference of 0.01 lots per $500 of account balance. Actual volume may also depend on the EA's calculation rules, broker minimum-lot requirements, and available margin.
🔹 Balance Step Per 0.01 = 1000.0 — Sets the balance step to 1000.0. This parameter is associated with balance-based lot scaling, but its exact relationship to the selected Low Risk profile should be verified because the displayed profile specifies 0.01 lots per $500.
🔹 UseMaxLot = false — Disables the maximum-lot restriction controlled by the UseMaxLot option. The EA will not apply the separate maximum-lot cap through this switch while it remains false.
🔹 MaxLot = 1.0 — Sets the maximum lot parameter to 1.0. This value serves as the configured cap if maximum-lot protection is enabled; with UseMaxLot = false, the cap is not activated through that option.
🔹 Fixed lot (if Auto Lot is false) = 0.01 — Sets the fixed position size to 0.01 lots when automatic lot sizing is disabled. Since Enable Auto Lot? = true, this is the alternative volume setting rather than the selected sizing mode.
⚙️ Basket Setting — Grid Trade Limits
🔹 SetMaxGridTrades = Set the maximum trades to open in a grid or 0 to don't use — Describes the MaxGridTrades input, which limits the number of trades allowed in a grid. Setting the corresponding numerical parameter to 0 disables this grid-trade limit according to the displayed description.
🔹 MaxGridTrades = 0 — Sets the maximum grid-trade limit to 0, meaning this particular maximum-trade restriction is not used according to the input description. This does not necessarily mean the EA will open zero trades; other entry rules and safety controls may still apply.
⚙️ Capital Drawdown Protection
🔹 SetMaxDrawdownPercent = To use drawdown then enable it and set the maximum Drawdown in percentage — Provides instructions for configuring the maximum drawdown limit. The description indicates that drawdown protection must be enabled and a percentage threshold configured for this mechanism to operate.
🔹 UseDrawdown = false — Disables the drawdown protection feature controlled by this switch. The EA will not apply this specific maximum-drawdown restriction while the setting remains false.
🔹 MaxDrawdownPercent = 0.0 — Sets the maximum drawdown percentage to 0.0. No positive drawdown threshold is configured, and the feature is also disabled by UseDrawdown = false.
🔹 RemoveEAOnDrawdown = false — Disables automatic EA removal when the configured drawdown condition is reached. Since UseDrawdown is also false, the drawdown-triggered behavior should not be assumed to be active in this configuration.
⚙️ Basket Stop Loss
🔹 UseBasketStopLoss = true — Enables basket stop-loss management. The EA can use this feature to manage risk for a group of positions as a basket rather than relying exclusively on individual trade stop-loss levels.
🔹 BasketStopLossType = physical only — Selects physical basket stop-loss management. This indicates that the selected mode uses a broker-side stop-loss mechanism rather than relying solely on a virtual stop monitored by the EA.
🔹 BasketSLReference = BasketRef_FirstTrade — Sets the basket stop-loss reference to the first trade. The basket's stop-loss calculation is anchored to the first position according to the EA's internal rules.
🔹 VirtualBasketSLPercent = 1.5 — Sets the virtual basket stop-loss percentage to 1.5. This configures the percentage threshold for virtual basket protection, although the selected physical-only mode means this virtual setting may not control the active stop-loss method.
🔹 BrokerSideBasketSLPercent = 1.5 — Sets the broker-side basket stop-loss percentage to 1.5. This is the configured percentage for the physical basket stop-loss mechanism, with the exact reference value and calculation determined by the EA's implementation.
🔹 BasketSLPercentMode = BasketPercent_DivideByTrades — Selects the BasketPercent_DivideByTrades calculation mode for basket stop-loss management. This indicates that the configured basket percentage is handled in relation to the number of trades, according to the EA's calculation logic.
⚙️ Basket Take Profit
🔹 UseBasketTakeProfit = true — Enables basket take-profit management. The EA can use this feature to close or manage the group of positions when the configured basket profit objective is reached.
🔹 BasketTakeProfitType = physical only — Selects physical basket take-profit management. The selected mode indicates that take-profit handling uses broker-side order levels rather than relying solely on virtual monitoring by the EA.
🔹 BasketTPReference = BasketRef_FirstTrade — Sets the basket take-profit reference to the first trade. The basket's take-profit calculation uses the first position as its reference according to the EA's internal rules.
🔹 VirtualBasketTPPercent = 2.0 — Sets the virtual basket take-profit percentage to 2.0. This value configures the virtual basket profit threshold, but it may not control active take-profit behavior while the selected mode is physical only.
🔹 BrokerSideBasketTPPercent = 2.0 — Sets the broker-side basket take-profit percentage to 2.0. This is the configured percentage for physical basket take-profit management; the exact monetary or price target depends on the EA's calculation and reference settings.
🔹 BasketTPPercentMode = BasketPercent_Full — Selects the BasketPercent_Full calculation mode for basket take-profit management. The configured basket percentage is applied using the EA's full-basket calculation method rather than the divide-by-trades mode.
⚙️ Basket Trailing Profit
🔹 UseBasketTrailingProfit = true — Enables basket trailing-profit management. This feature is intended to track the profit of the basket and adjust its protective exit behavior as the basket moves into favorable territory.
🔹 BasketTrailingReference = BasketRef_AveragePrice — Sets the trailing-profit reference to the basket's average price. The EA uses its calculated average basket price as the reference for trailing-profit management.
🔹 BasketTrailingStartPercent = 0.02 — Sets the basket trailing activation parameter to 0.02. This value determines the configured activation threshold according to the EA's percentage-based trailing logic; the exact interpretation should be confirmed in the program's implementation.
🔹 BasketTrailingDistancePercent = 0.018 — Sets the basket trailing-distance parameter to 0.018. This defines the configured trailing distance as a percentage-related value, with its exact calculation and reference determined by the EA's internal logic.
🔹 BasketTrailingPercentMode = BasketPercent_Full — Selects the BasketPercent_Full calculation mode for basket trailing-profit management. This configures the trailing logic to use the EA's full-basket percentage calculation rather than dividing the percentage by the number of trades.
⚙️ Daily Trading Session
🔹 UseTradingSession = false — Disables the daily trading-session filter. The start and end times below remain configured, but this session filter is not active through this switch.
🔹 TradingStartHour = 16 — Sets the configured trading-session start hour to 16, or 16:00. The time is relevant when the daily trading-session filter is enabled and is interpreted according to the EA's time reference.
🔹 TradingStartMinute = 30 — Sets the configured trading-session start minute to 30. Together with TradingStartHour = 16, the session start is 16:30.
🔹 TradingEndHour = 16 — Sets the configured trading-session end hour to 16, or 16:00.
🔹 TradingEndMinute = 45 — Sets the configured trading-session end minute to 45. Together with TradingEndHour = 16, the session end is 16:45, giving a configured window of 15 minutes when the session filter is active.
⚙️ Trading Days
🔹 TradeMonday = true — Enables trading on Monday, subject to the EA's other active controls and broker conditions.
🔹 TradeTuesday = true — Enables trading on Tuesday, subject to the EA's other active controls and broker conditions.
🔹 TradeWednesday = true — Enables trading on Wednesday, subject to the EA's other active controls and broker conditions.
🔹 TradeThursday = true — Enables trading on Thursday, subject to the EA's other active controls and broker conditions.
🔹 TradeFriday = true — Enables trading on Friday, subject to the EA's other active controls and broker conditions.
🔹 TradeSaturday = false — Disables trading on Saturday through the weekday-selection control.
🔹 TradeSunday = false — Disables trading on Sunday through the weekday-selection control.
⚙️ General Settings
🔹 Max Spread = 40 — Sets the maximum permitted spread threshold to 40. The EA can use this filter to prevent new trades when the spread exceeds the configured limit. The effective price distance represented by 40 depends on the broker's XAUUSD quote precision and the EA's spread calculation.
🔹 Magic = 869528 — Assigns the magic number 869528 to the EA's trades. This identifier helps distinguish its positions from those opened by other automated systems or manually, depending on the EA's order-management logic.
🔹 WeeklySchedule = Monday starting and Friday close time in hours — Describes the weekly schedule configuration, which controls the Monday trading restart and Friday trading cutoff using hour-based settings. The actual schedule is determined by the numerical parameters below.
🔹 resume trading on Monday (In hours) = 2 — Sets the Monday trading-resumption hour to 2, or 02:00, according to the EA's configured time reference. This determines the configured time for resuming trading at the start of the week.
🔹 stop opening trades on Friday (In hours) = 20 — Sets the Friday cutoff for opening new trades to 20, or 20:00. The EA is configured to stop initiating new trades at this hour, subject to the behavior of its weekly schedule logic.
🔹 FridayCloseTrades = false — Disables the option to close trades automatically on Friday through this setting. Open positions may therefore remain active beyond the Friday cutoff unless another stop-loss, take-profit, or protection mechanism closes them.
🔹 force close trades on Friday (In hours) = 21 — Sets the configured Friday force-close hour to 21, or 21:00. However, FridayCloseTrades = false disables the associated Friday closing feature, so this hour should not be treated as an active guaranteed closing time unless the EA's implementation specifies otherwise.
⚙️ News Settings
🔹 AdjustNewsSchedule = Monday starting and Friday close time in hours — Describes the schedule adjustment associated with the news-filter section. The label indicates that the news schedule is related to the Monday start and Friday closing-hour configuration.
🔹 useNews = true — Enables the economic news filter. The EA is configured to apply its news-related trading restrictions around qualifying events, subject to calendar availability and the program's filtering rules.
🔹 stop opening trades before news (In minutes) = 60 — Sets the pre-news trading restriction to 60 minutes. When the news filter is active, the EA is configured to stop opening new trades during the hour before a qualifying event.
🔹 start opening trades after news (In minutes) = 60 — Sets the post-news restriction to 60 minutes. When the news filter is active, the EA is configured to resume opening trades only after the specified 60-minute period following a qualifying event, subject to other trading conditions.
🔢 Conclusion
The supplied Gold Injection Ultra EA MT5 configuration enables automatic lot sizing with the Low Risk (0.01 per $500) profile. Basket stop-loss, basket take-profit, and basket trailing-profit management are all enabled. The basket stop-loss and take-profit types are both set to physical only, with references based on the first trade; basket trailing uses the average basket price.
The grid-trade limit is set to 0, the separate drawdown protection feature is disabled, and the maximum-lot restriction is also disabled. The daily trading-session filter is off, although its configured window is 16:30–16:45. Monday through Friday trading is enabled, while Saturday and Sunday trading are disabled. The maximum spread is 40, the magic number is 869528, and the news filter is enabled with 60 minutes before and 60 minutes after qualifying announcements.
Before using these settings on a live account, verify the relationship between the Low Risk profile and Balance Step Per 0.01 = 1000.0, the intended meaning of the basket percentage settings, and the behavior of the physical-only basket controls. Since grid systems can accumulate exposure during sustained price movements, a disabled drawdown guard and an unused maximum-grid-trade limit deserve particular attention. Backtesting and demo forward testing are recommended; no configuration guarantees profits or prevents significant losses.









