🔢 Open Lock MT5 Settings Explained – Complete Parameter Guide
Open Lock MT5 is a specialized MetaTrader 5 Expert Advisor designed to manage and close locked (hedged) positions automatically based on predefined conditions.
The EA provides flexible controls for startup behavior, drawdown monitoring, trading schedules, equity protection, and risk management, making it a useful tool for traders who use hedge or lock recovery strategies.

🔢 Installation Panel Parameters
Below are the details of the parameters in the advisor’s trading system settings table:
🔶 Base Settings
🔹 Language = Auto – Automatically detects and uses the platform language for the EA interface.
🔹 OL Magic number = 50 – Assigns the unique Magic Number 50 to identify orders managed by Open Lock MT5.
🔹 Order comment = OL order – Adds the comment "OL order" to all orders opened or managed by the EA.
🔹 Which orders to close = Buy and Sell – Configures the EA to manage and close both Buy and Sell positions.
🔹 List of magics to be excluded (use ; for separate) = (blank) – Allows you to exclude specific Magic Numbers from management by entering them separated with semicolons (;). The default value is blank, so no Magic Numbers are excluded.
🔶 Start Work
🔹 Start work = At startup – Begins EA operation immediately after the Expert Advisor is attached to the chart or the terminal starts.
🔹 -> Drawdown in currency = 0.0 – Sets the drawdown trigger in account currency. A value of 0.0 disables this condition.
🔹 -> Drawdown in percent = 0.0 – Sets the percentage drawdown trigger. A value of 0.0 disables percentage-based activation.
🔹 -> Price cross = 0.0 – Defines the price-cross activation level. A value of 0.0 disables this trigger.
🔹 Stop another advisors when start work = Not used – Does not stop or disable other Expert Advisors when Open Lock MT5 begins operating.
🔶 Trading
🔹 Continue trading = All time – Allows the EA to continue trading without time restrictions.
🔹 Maximal lot in average ord (0-not used) = 0.0 – Sets the maximum average lot size for managed orders. A value of 0.0 disables the limit.
🔹 Maximal number average ord in one direction (0-not used) = 0 – Limits the number of averaging orders in one direction. A value of 0 disables this restriction.
🔹 Maximal step (0-not used) = 0 – Defines the maximum averaging step distance. A value of 0 disables the limit.
🔹 Time to open orders = All time – Permits new orders to be opened at any time.
🔹 -> From hour = 0 – Specifies the starting hour for opening trades. The default value 0 represents 00:00.
🔹 -> To hour = 0 – Specifies the ending hour for opening trades. With Time to open orders = All time, this setting is not actively limiting trading.
🔶 Stop Trading
🔹 Action when the risk limit is reached = Nothing – Takes no automatic action when the configured risk limit is reached.
🔹 -> How many second before action will show message = 30 – Displays a warning message 30 seconds before executing a configured action.
🔹 -> Equity level in currency = 0.0 – Sets the minimum account equity in currency. A value of 0.0 disables this protection.
🔹 -> Equity level in percent = 0.0 – Sets the minimum account equity percentage. A value of 0.0 disables this protection.
🔹 -> DD in percent (equity/balance) = 0.0 – Defines the maximum drawdown percentage based on equity versus balance. A value of 0.0 disables this limit.
🔹 -> DD in currency (all orders) = 0.0 – Sets the maximum total drawdown in account currency across all positions. A value of 0.0 disables this restriction.
🔶 Authorization
🔹 Auth Key = (blank) – Stores the authorization or license key required for EA activation. The default value is blank.
🔢 Conclusion
Open Lock MT5 is a practical Expert Advisor for traders who rely on locking and hedge management strategies. It offers configurable startup conditions, flexible order management, trading schedule controls, equity monitoring, and drawdown protection. With support for both Buy and Sell positions, Magic Number filtering, and customizable risk parameters, the EA helps automate the management of locked positions while allowing traders to tailor protection settings to their trading style.
🔢 FAQs
❓ What is Open Lock MT5 designed for?
Open Lock MT5 is designed to automate the management and closing of locked (hedged) Buy and Sell positions on MetaTrader 5.
❓ Can Open Lock MT5 manage both Buy and Sell orders?
Yes. The default setting Which orders to close = Buy and Sell allows the EA to manage both trade directions.
❓ Does Open Lock MT5 include drawdown protection?
Yes. The EA supports drawdown and equity protection based on both currency and percentage values, although the default configuration leaves these protections disabled.
❓ Can I exclude other Expert Advisors from Open Lock MT5 management?
Yes. You can specify Magic Numbers in the List of magics to be excluded field to prevent those trades from being managed.
❓ Can I restrict when Open Lock MT5 opens new orders?
Yes. The EA includes configurable trading time filters using From hour and To hour, although the default preset allows trading All time.











