🔢 Onyx MT5 – Complete Settings & Configuration Guide
Onyx MT5 is a configurable automated trading Expert Advisor built around flexible BUY/SELL control, dynamic equity-based lot sizing, multiple trading sets, Stop Loss management, trailing-stop logic, Break-Even protection, spread control and GMT-based trading schedules.
The supplied configuration shows a multi-set trading architecture, allowing up to 4 independent trading sets, each with its own entry permission, Take Profit, Stop Loss, trailing parameters, and trading hours. The EA also provides dynamic position sizing based on equity risk percentage, making its money-management system highly configurable.

🔄 General Parameters
🔹 Trading_BUY = true — Enables BUY trading.
🔹 Trading_SELL = true — Enables SELL trading.
🔹 "----" difference GMT (necessary only for testing) = 3 — Sets the GMT difference to 3, primarily intended for testing purposes.
🔹 Distance to Order = 50.0 — Sets the configured distance to the order at 50.0.
🔹 Transfer to Breakeven = true — Enables the EA's Break-Even transfer function.
🔹 Distance to Breakeven = 10 — Sets the Break-Even distance/trigger parameter to 10.
🔹 min time to hold a position (sec) = 0 — Sets the minimum holding time to 0 seconds, meaning no minimum holding period is imposed by this parameter.
🔹 Magic = 100 — Uses 100 as the EA's Magic Number for identifying its trades.
🔹 COMMENT = [blank] — No trade comment is specified in the supplied configuration.
🔹 Max Spread = 100 — Sets the maximum permitted spread parameter to 100.
🔄 Graphic Panels
🔹 Info Panel = true — Enables the EA's main information panel on the chart.
🔹 Info Panel "Risk Management" = true — Enables the Risk Management information panel.
🔄 Risk Management
🔹 Lot: fixed or dynamic = Dynamic Lot — Selects Dynamic Lot position sizing instead of a fixed-lot calculation.
🔹 Lot calculation method = Risk percent of equity — Calculates position size according to a percentage of account equity.
🔹 01 Multiplicity for Lot (Lot increase by 0.01 every Multiplicity_f = 40 — Sets the lot-sizing multiplicity/reference value to 40; the parameter indicates a 0.01-lot increase per configured multiplicity level.
🔹 Risk percent (%) of equity = 50 — Sets the dynamic risk calculation to 50% of equity.
🔹 MinLot (true if fixed_lot = true) = 0.01 — Sets the minimum/reference lot size to 0.01.
🔹 Maximum_Lot = 500.0 — Sets the maximum permitted lot size to 500.0 lots.
🔄 Set 1
🔹 [1] Trade (enable (disable) trading) = true — Enables Set 1 trading.
🔹 [1] TakeProfit = 0 — Sets Set 1 Take Profit to 0.
🔹 [1] StopLoss = 900 — Sets Set 1 Stop Loss to 900 points.
🔹 [1] Trailing_SL = 60 — Sets Set 1 trailing-stop distance/parameter to 60.
🔹 [1] Start Trailing_SL = 0 — Sets the Set 1 trailing-start level to 0.
🔹 [1] Step Trailing_SL = 1 — Sets the Set 1 trailing-stop adjustment step to 1.
🔹 [1] Start Time Trading (hours GMT) = 3 — Sets Set 1 trading to start at 03:00 GMT.
🔹 [1] End Time Trading (hours GMT) = 0 — Sets the Set 1 trading end-hour parameter to 0.
🔄 Set 2
🔹 [2] Trade (enable (disable) trading) = false — Disables Set 2 trading.
🔹 [2] TakeProfit = 0 — Sets Set 2 Take Profit to 0.
🔹 [2] StopLoss = 500 — Sets Set 2 Stop Loss to 500 points.
🔹 [2] Trailing_SL = 60 — Sets Set 2 trailing-stop parameter to 60.
🔹 [2] Start Trailing_SL = 0 — Sets the Set 2 trailing-start level to 0.
🔹 [2] Step Trailing_SL = 1 — Sets the Set 2 trailing adjustment step to 1.
🔹 [2] Start Time Trading (hours GMT) = 3 — Sets Set 2 trading start time to 03:00 GMT.
🔹 [2] End Time Trading (hours GMT) = 0 — Sets Set 2 trading end-hour parameter to 0.
🔄 Set 3
🔹 [3] Trade (enable (disable) trading) = false — Disables Set 3 trading.
🔹 [3] TakeProfit = 0 — Sets Set 3 Take Profit to 0.
🔹 [3] StopLoss = 900 — Sets Set 3 Stop Loss to 900 points.
🔹 [3] Trailing_SL = 70 — Sets Set 3 trailing-stop parameter to 70.
🔹 [3] Start Trailing_SL = 70 — Sets the Set 3 trailing-start level to 70.
🔹 [3] Step Trailing_SL = 1 — Sets the Set 3 trailing adjustment step to 1.
🔹 [3] Start Time Trading (hours GMT) = 3 — Sets Set 3 trading start time to 03:00 GMT.
🔹 [3] End Time Trading (hours GMT) = 0 — Sets Set 3 trading end-hour parameter to 0.
🔄 Set 4
🔹 [4] Trade (enable (disable) trading) = false — Disables Set 4 trading.
🔹 [4] TakeProfit = 0 — Sets Set 4 Take Profit to 0.
🔹 [4] StopLoss = 500 — Sets Set 4 Stop Loss to 500 points.
🔹 [4] Trailing_SL = 70 — Sets Set 4 trailing-stop parameter to 70.
🔹 [4] Start Trailing_SL = 70 — Sets the Set 4 trailing-start level to 70.
🔹 [4] Step Trailing_SL = 1 — Sets the Set 4 trailing adjustment step to 1.
🔹 [4] Start Time Trading (hours GMT) = 3 — Sets Set 4 trading start time to 03:00 GMT.
🔹 [4] End Time Trading (hours GMT) = 0 — Sets Set 4 trading end-hour parameter to 0.
🔢 Key Configuration Highlights
🔹 BUY Trading = true — BUY operations are enabled.
🔹 SELL Trading = true — SELL operations are enabled.
🔹 GMT Difference = 3 — Testing GMT difference is configured as 3.
🔹 Distance to Order = 50.0 — Order-distance parameter is 50.0.
🔹 Break-Even Transfer = true — Break-Even management is enabled.
🔹 Break-Even Distance = 10 — Break-Even distance is 10.
🔹 Minimum Position Holding Time = 0 seconds — No minimum holding time is configured.
🔹 Magic Number = 100 — EA trade identifier is 100.
🔹 Maximum Spread = 100 — Maximum spread setting is 100.
🔹 Lot Mode = Dynamic Lot — Dynamic position sizing is selected.
🔹 Lot Calculation = Risk percent of equity — Lot size is calculated from equity risk.
🔹 Lot Multiplicity = 40 — The configured multiplicity reference is 40, associated with a 0.01-lot increment.
🔹 Risk Percentage = 50% — The configured equity-risk percentage is 50.
🔹 Minimum Lot = 0.01 — Minimum lot is 0.01.
🔹 Maximum Lot = 500.0 — Maximum lot is 500.0.
🔹 Set 1 = Enabled — The first strategy/trading set is active.
🔹 Set 2 = Disabled — The second set is inactive.
🔹 Set 3 = Disabled — The third set is inactive.
🔹 Set 4 = Disabled — The fourth set is inactive.
🔹 Set 1 Stop Loss = 900 points — Set 1 uses 900 points.
🔹 Set 2 Stop Loss = 500 points — Set 2 uses 500 points.
🔹 Set 3 Stop Loss = 900 points — Set 3 uses 900 points.
🔹 Set 4 Stop Loss = 500 points — Set 4 uses 500 points.
🔹 Set 1 Trailing SL = 60 — Set 1 trailing parameter is 60.
🔹 Set 2 Trailing SL = 60 — Set 2 trailing parameter is 60.
🔹 Set 3 Trailing SL = 70 — Set 3 trailing parameter is 70.
🔹 Set 4 Trailing SL = 70 — Set 4 trailing parameter is 70.
🔢 Conclusion
Onyx MT5 provides a highly configurable framework for automated trading, combining directional trade control, dynamic equity-based lot sizing, Break-Even management, trailing-stop protection, multiple strategy sets, spread filtering, and GMT-based execution schedules.
The supplied setup is configured for both BUY and SELL trading, with Dynamic Lot and Risk percent of equity selected. The most significant risk-management parameter is Risk percent (%) of equity = 50, which is an aggressive configuration and should be carefully evaluated through backtesting and demo testing before live deployment.
Only Set 1 is currently active. It uses a 900-point Stop Loss, 60 trailing parameter, 0 trailing-start value, and 1 trailing step, with trading beginning at 03:00 GMT. Sets 2–4 remain available for alternative configurations but are currently disabled.
The EA's Break-Even function is enabled, the Break-Even distance is 10, and the maximum spread is set to 100. The combination gives traders substantial control over how Onyx MT5 handles entries, protection, and position management.
Important: The numerical settings shown above are the exact values visible in the supplied image. Parameters such as 50% equity risk and 500.0 maximum lot can represent substantial exposure depending on the account and broker, so they should not be interpreted as generally recommended values.
🔢 FAQs
❓ What is the current trading direction configuration of Onyx MT5?
Both Trading_BUY = true and Trading_SELL = true, so BUY and SELL trading are enabled.
❓ How does Onyx MT5 calculate its lot size?
The EA is configured for Dynamic Lot with Lot calculation method = Risk percent of equity and Risk percent (%) of equity = 50. The minimum lot is 0.01 and maximum lot is 500.0.
❓ Which trading set is currently active?
Only Set 1 is enabled. Set 2, Set 3, and Set 4 are all configured as false.
❓ What are the main Stop Loss and trailing settings?
Set 1 uses StopLoss = 900, Trailing_SL = 60, Start Trailing_SL = 0, and Step Trailing_SL = 1. Set 2 uses 500 / 60 / 0 / 1, while Sets 3 and 4 use 900 / 70 / 70 / 1 and 500 / 70 / 70 / 1, respectively.
❓ Is Break-Even protection enabled?
Yes. Transfer to Breakeven = true, with Distance to Breakeven = 10.









