🔢 Onyx MT5 EA Settings: Complete Parameters, Risk Management & Trading Configuration Guide
Onyx MT5 is an automated trading system designed for MetaTrader 5, with configurable trading directions, order distance, break-even management, dynamic lot sizing, risk controls, trailing stop mechanisms, and multiple independent trading sets. Its detailed parameter panel allows traders to customize how the Expert Advisor manages entries, positions, risk, and trading sessions.
This Onyx MT5 EA settings guide explains every parameter shown in the configuration panel, including the exact numerical values, enabled/disabled states, and the practical purpose of each setting.

🔄 GENERAL PARAMETERS
🔹 Trading_BUY — true: Enables BUY trading, allowing Onyx MT5 EA to open and manage Buy positions.
🔹 Trading_SELL — true: Enables SELL trading, allowing Onyx MT5 EA to open and manage Sell positions.
🔹 "↔" difference GMT (necessary only for testing) — 3: Sets the GMT time difference to 3, specifically indicated as being necessary only for testing and used to align the EA's test-time calculations with the required GMT reference.
🔹 Distance to Order — 50.0: Sets the configured order distance to 50.0, controlling the required distance used by the EA when placing or managing orders according to its trading logic.
🔹 Transfer to Breakeven — true: Activates the automatic transfer of a qualifying position toward its break-even level to help protect the trade from turning into a loss after sufficient favorable movement.
🔹 Distance to Breakeven — 10: Sets the break-even distance/trigger value to 10, determining the configured distance used before the EA applies its break-even mechanism.
🔹 min time to hold a position (sec) — 0: Sets the minimum holding time to 0 seconds, meaning there is no additional minimum-time restriction configured before a position can be managed or closed by the EA's rules.
🔹 Magic — 100: Sets the EA's Magic Number to 100, allowing MetaTrader 5 to identify and distinguish positions/orders managed by this EA.
🔹 COMMENT — blank: No custom comment value is configured in the displayed settings.
🔹 Max Spread — 100: Sets the maximum allowed spread parameter to 100; the EA can use this threshold to restrict trading when spread conditions exceed the configured limit.
🔄 GRAPHIC PANELS
🔹 Info Panel — true: Enables the EA's on-chart information panel so relevant trading and account information can be displayed directly on the MT5 chart.
🔹 Info Panel "Risk Management" — true: Enables the Risk Management information section within the on-chart information panel.
🔄 RISK MANAGEMENT
🔹 Lot : fixed or dynamic — Dynamic Lot: Selects Dynamic Lot, meaning position size is calculated dynamically rather than using only one fixed lot size.
🔹 Lot calculation method — Risk percent of equity: Specifies Risk percent of equity as the lot calculation method, linking position sizing to the configured percentage of account equity.
🔹 01 Multiplicity for Lot (Lot increase by 0.01 every Multiplicity_f — 40): Sets the multiplicity value to 40, with the displayed description indicating that the lot can increase by 0.01 for every configured multiplicity factor.
🔹 Risk percent (%) of equity — 50: Sets the risk percentage to 50% of equity, which is a very aggressive risk setting and can result in substantially larger position sizes depending on the EA's calculation logic, stop-loss distance, and account equity.
🔹 Minlot (true if fixed_lot = true) — 0.01: Sets the minimum lot value to 0.01. The displayed note specifies that this parameter is associated with the fixed-lot condition.
🔹 Maximum_Lot — 500.0: Sets the maximum permitted lot size to 500.0, establishing the upper position-size limit configured in the EA.
🔄 SET 1
🔹 [1] Trade (enable (disable) trading) — true: Enables Set 1 trading.
🔹 [1] TakeProfit — 0: Sets Take Profit to 0, indicating that no fixed Take Profit value is configured for Set 1.
🔹 [1] StopLoss — 900: Sets Stop Loss to 900 for Set 1.
🔹 [1] Trailing_SL — 60: Sets the trailing stop-loss parameter to 60 for Set 1.
🔹 [1] Start Trailing_SL — 0: Sets the Start Trailing SL value to 0, meaning the configured trailing mechanism can become active from the defined starting threshold without an additional positive trigger value.
🔹 [1] Step Trailing_SL — 1: Sets the trailing-stop adjustment step to 1 for Set 1.
🔹 [1] Start Time Trading (hours GMT) — 3: Sets the Set 1 trading start time to 03:00 GMT.
🔹 [1] End Time Trading (hours GMT) — 0: Sets the Set 1 trading end time to 00:00 GMT according to the displayed GMT-hour configuration.
🔄 SET 2
🔹 [2] Trade (enable (disable) trading) — false: Disables Set 2 trading.
🔹 [2] TakeProfit — 0: Sets Take Profit to 0 for Set 2, meaning no fixed Take Profit value is configured.
🔹 [2] StopLoss — 500: Sets Stop Loss to 500 for Set 2.
🔹 [2] Trailing_SL — 60: Sets the trailing stop-loss parameter to 60 for Set 2.
🔹 [2] Start Trailing_SL — 0: Sets the trailing-stop activation starting value to 0 for Set 2.
🔹 [2] Step Trailing_SL — 1: Sets the trailing-stop adjustment step to 1 for Set 2.
🔹 [2] Start Time Trading (hours GMT) — 3: Sets the Set 2 trading start time to 03:00 GMT.
🔹 [2] End Time Trading (hours GMT) — 0: Sets the Set 2 trading end time to 00:00 GMT.
🔄 SET 3
🔹 [3] Trade (enable (disable) trading) — false: Disables Set 3 trading.
🔹 [3] TakeProfit — 0: Sets Take Profit to 0 for Set 3, meaning no fixed Take Profit value is configured.
🔹 [3] StopLoss — 900: Sets Stop Loss to 900 for Set 3.
🔹 [3] Trailing_SL — 70: Sets the trailing stop-loss parameter to 70 for Set 3.
🔹 [3] Start Trailing_SL — 70: Sets the trailing-stop activation threshold to 70 for Set 3.
🔹 [3] Step Trailing_SL — 1: Sets the trailing-stop adjustment step to 1 for Set 3.
🔹 [3] Start Time Trading (hours GMT) — 3: Sets the Set 3 trading start time to 03:00 GMT.
🔹 [3] End Time Trading (hours GMT) — 0: Sets the Set 3 trading end time to 00:00 GMT.
🔄 SET 4
🔹 [4] Trade (enable (disable) trading) — false: Disables Set 4 trading.
🔹 [4] TakeProfit — 0: Sets Take Profit to 0 for Set 4, meaning no fixed Take Profit value is configured.
🔹 [4] StopLoss — 500: Sets Stop Loss to 500 for Set 4.
🔹 [4] Trailing_SL — 70: Sets the trailing stop-loss parameter to 70 for Set 4.
🔹 [4] Start Trailing_SL — 70: Sets the trailing-stop activation threshold to 70 for Set 4.
🔹 [4] Step Trailing_SL — 1: Sets the trailing-stop adjustment step to 1 for Set 4.
🔹 [4] Start Time Trading (hours GMT) — 3: Sets the Set 4 trading start time to 03:00 GMT.
🔹 [4] End Time Trading (hours GMT) — 0: Sets the Set 4 trading end time to 00:00 GMT.
🔢 Key Configuration Overview
🔹 Trading direction: Both BUY = true and SELL = true are enabled.
🔹 Break-even: Transfer to Breakeven = true, with Distance to Breakeven = 10.
🔹 Minimum position holding time: 0 seconds.
🔹 Magic Number: 100.
🔹 Lot mode: Dynamic Lot.
🔹 Lot calculation: Risk percent of equity.
🔹 Risk percentage: 50%.
🔹 Minimum lot: 0.01.
🔹 Maximum lot: 500.0.
🔹 Set 1: Enabled, with StopLoss = 900, Trailing_SL = 60, Start Trailing_SL = 0, and Step Trailing_SL = 1.
🔹 Set 2: Disabled, with StopLoss = 500, Trailing_SL = 60, Start Trailing_SL = 0, and Step Trailing_SL = 1.
🔹 Set 3: Disabled, with StopLoss = 900, Trailing_SL = 70, Start Trailing_SL = 70, and Step Trailing_SL = 1.
🔹 Set 4: Disabled, with StopLoss = 500, Trailing_SL = 70, Start Trailing_SL = 70, and Step Trailing_SL = 1.
🔹 Trading schedule: All four sets display Start Time = 3 hours GMT and End Time = 0 hours GMT.
🔢 Important Risk Consideration
🔹 Risk percent (%) of equity = 50 is the most important setting to review from a risk-management perspective because a 50% equity-risk configuration is highly aggressive. The actual monetary exposure will depend on how Onyx MT5 EA calculates lot size, the instrument's contract specifications, Stop Loss distance, leverage, and broker conditions.
🔹 Maximum_Lot = 500.0 provides a very large upper position-size limit, so traders should verify that this value is appropriate for their account size, broker, symbol, and intended risk profile.
🔹 TakeProfit = 0 is configured across all four sets, while Stop Loss and trailing-stop parameters are used to manage exits.
🔢 Conclusion
Onyx MT5 EA provides a highly configurable MetaTrader 5 framework with BUY/SELL controls, break-even protection, dynamic equity-based lot calculation, multiple trading sets, Stop Loss, trailing Stop Loss, trading-session controls, and an integrated Risk Management information panel.
The displayed configuration currently has Set 1 enabled, while Set 2, Set 3, and Set 4 are disabled. The most notable configuration values are Dynamic Lot, Risk percent of equity = 50, Minimum Lot = 0.01, Maximum_Lot = 500.0, Magic = 100, and Transfer to Breakeven = true.
For live trading, these settings should be tested carefully in the intended symbol, broker environment, and account type before deployment. In particular, the 50% equity risk setting should be evaluated carefully because it represents a very aggressive configuration.









