Osloma Gold is an MT5 Expert Advisor that scans for structural breakouts across different timeframes and enters grid baskets on pullbacks. You can learn more about the EA on the official Osloma Gold product page.
This article explains the settings and input parameters for Osloma Gold, updated for the latest version, v2.4, released on 07/06/2026.
■ Important User Inputs (Lot Size & MaxDD)
(1) Lot Size Method: Select LOT_FixLot or LOT_PercentageEquity. If LOT_PercentageEquity is selected, MaxRisk per Basket in Percentage Equity can be adjusted as it take the value to calculate lot sizes.
(2) Fixed Lot Size: Input Fix lot size you want to run. This is used when Lot Size Method is set to LOT_FixLot.
(3) MaxRisk per Basket in Percentage of Equity: You can enter the percentage of equity that you want to risk per basket, in this setting. If your calculated risk is less than the minimum basket risk required for 0.01 lot (which is $150), the EA will not take any trades and give a low balance error.
(4) AutoAdjust Basket MaxLoss: This setting applies to LOT_FixLot. It is set to true by default. When lot size increases, max basket risk will be automatically adjusted according to the lot size.
(5) MaxDD on % of Equity for FixLot: This is an Optional DD Protection Guard. If suppose MaxDD for Fix Lot is set to 30% on 1000 which is 300 and if the fix lot entered is 0.05, then EA will enter only 0.02 as max loss cannot be more than 300. This is because Max Basket loss per 0.01 is set to $150 by default. If we want to increase the lot size with the same equity, we will also have to increase the MaxDD setting.
■ Entry Settings (Signals & Time Settings)
(6) Run GT Signal: Currently Osloma Gold uses two signals and one of them is GT Signal. This signal is set to run by default.
(7) Run OC Signal: Another signal included in Osloma Gold is the OC Signal. This signal is also set to run by default.
(8) Take only 1 trade basket at a time: It is set to true by default. It means the ea will take only one trade basket at a time. If one signal generated a trade while another trade is running, then the entry will be ignored.
(9) Start Hour, Broker Server Time: You can set the broker server time window when the EA is allowed to trade. If set to 0, there is no restriction.
(10) End Hour, Broker Server Time: You can set the broker server time window when the EA is allowed to trade. If set to 0, there is no restriction.
(11) Skip Session FROM (Hour): You can set specific session hours for the EA to skip trading - For example (8) to 11 Broker Server Time.
(12) Skip Session TO (Hour): You can set specific session hours for the EA to skip trading - For example 8 to (11) Broker Server Time.
■ Magic Numbers Settings
(13) Magic Number (GT Signal): You can set magic numbers for trades generated by GT Signal from this setting.
(14) Magic Number (OC Signal): You can set magic numbers for trades generated by OC Signal from this setting. This is to make sure Osloma Gold is trading with a unique Magic Number.
(15) Maximum Slippage in Points: This is to ensure a trade is not entered when slippage is higher than this value.
■ Basket Risk Settings
(16) GT / OC Maximum Basket Loss per 0.01 Gold Lot: This is the maximum risk a basket will bear when a set of 0.01 lot trade is entered. This input is the default basket risk.
■ Grid Settings (Grid Levels and Stoploss)
(17) Max Grid Levels: Set by default to 4. More grid may lead to faster recovery but also leads to increased chances of stoploss events.
(18) Use Hard Stop for Every Trade: It is set to true by default. If you set it to false, EA will still exit if the floating PNL of a trade basket hits maximum basket loss set above.
(19) Use Overnight Protection Exit: This is enabled by default in the latest version. If you want to reduce overnight exposure risk, you can keep this true. However, some trade basket may still be held overnight, although less likely, if exit condition is not met before market close.
■ Product / Safety Settings
(20) Fallback Lot Size: If any lot calculation method or by mistake a lower lot size is entered, the EA will use the fallback lot size to take an entry.
(21) Minimum Lot Size: Minimum Lot allowed setting.
(22) Maximum Allowed Lot: While using LOT_PercentageEquity, if the lot size becomes larger due to increased capital, the maximum lot entered can be controlled from here.
■ Miscellaneous (Miscellaneous Settings)
(23) Cooldown in Days after max basket stop hit: After a max basket stoploss is hit, the EA will stop taking new trades for the number of days set here. It is by default set to 0. If you set it 1, it will stop trading for 1 day and then resume trading activity.
(24) Basket age for Smart BE Exit in minutes: After the minutes set here, if the trade is still on, the EA will try to exit at Breakeven in case breakeven price is reached. If set to 0, it is disabled.
(25) GT Signal Grid Distance from G2: This controls the grid distance for GT Signal entries from G2 (Grid level 2). If set to 0.0, it is disabled and uses internal candle-based Grid distance logic.
(26) OC Signal Grid Distance from G2: This controls the grid distance for OC Signal entries from G2 (Grid level 2). It is by default set to 1.0 as the internal grid for OC entries use this setting.
(25) Trade Comment Prefix: You can use custom trade comment to identify trades generated by Osloma Gold from here.
■ Weekend Guard Setting
(28) Hours before close to stop entry: By default, it is set to 3. This means, the EA will not take any new entry 3 hours before market close on fridays. You can increase or decrease this input. If set to 0, it is disabled and the EA will scan for signals normally.
■ News Filter Settings
(29) Turn on News Filter: You can turn this feature ON or OFF from this setting. By default, it is set to true (ON).
(30) Filter News Type: This is the beta version of this module and currently only High Impact News is available for filter. It uses MT5 Internal Economic Calendar - MQL5 Reference to detect High Impact News updates.
(31) News Base Currency: Base Currency for the High Impact News is set to USD by default. Currently only USD option has been added.
(32) Use News Keyword Filter: If this is set true, EA will select only the news with the Keywords entered underneath to filter out entry signals during the news timing.
(33) News Keywords, comma separated: You can enter news keywords here. Keywords entered must be comma separated.
(34) Minutes before News to block Original Entries: This is set to 45 by default, meaning EA will stop new original entries 45 minutes before any news event as per the above settings.
(35) Minutes after News to block Original Entries: This is set to 45 by default, meaning EA will stop new original entries until 45 minutes after any news event as per the above settings.
■ Aggressive Recovery Module
(36) Turn on Aggressive Recovery Module: This module can be turn ON or OFF from this setting. By default, is it set to ON. This module ONLY gets activated when a basket stoploss is hit and deactivates automatically when the loss is recovered. It reduces recovery time but also increases max DD. If you prefer strict DD control, please turn this feature OFF by setting it to false.
(37) Recovery Lot Fix Multiplier: By default, it is set to 2. This means, if a basket stoploss is hit, EA will start entering twice the lot size it would usually enter, until the loss is recovered, when the module deactivates itself and lot size comes back to normal. If there is a second basket stoploss hit during this recovery period, it will only continue to use the 2x lot size and will not increase the lot size again. It deactivates itself when the entire loss from both the stoploss is recovered.
(38) Add a 3x Lot after every N winners: By default, it is set to 0, which means it is off. If we set this to 3 for example, after every 3 winners, the next trade will be take a 3x of usual lot size.












