Auto-Lock Plugin
Introduction
The Auto Lock plugin is intended to overwrite the default Stop-Out procedure of the MetaTrader 4 system and fully hedge the trading account’s open positions when it reaches the Stop-Out level.
Plugin Installation
To install the plugin, the MetaTrader Server 4 program has to be stopped temporary before copying the autolock.dll file into the “MetaTraderServer4/plugin” in the server root directory.
-
To stop the server, click on Start > Administrative Tools > Services.
-
Under the Services window, look for MetaTrader Server 4 and click it.
-
On the General tab, under Service status, click on the “Stop” button and wait for the MetaTrader server to stop.
-
Transfer/Copy the autolock.dll file into the server root directory “plugin” folder.
-
Go back to Services window, click “Start” button to start the MetaTrader Server 4 program.
How to order the plugin
The plugin is an extension to the server functionality.