Description
Plugin StopoutsHedge can be used to hedge trading positions of the trader's account in case of a stop-outs. If stop-out's happened, instead of closing positions, the plugin opens orders in the opposite direction with the possibility of removing the existing pending orders, deleting SL/TP levels as well as modification of account's color and switching on the Read-Only status for trading account.
In addition, the plugin allows to configure the notification of managers regarding of occurrence of stop-out on the client's account through the terminal mail system of MetaTrader 4 trading platform.
Also plugin allows to specify which trading groups has to be processed, and filter by trading symbols for orders which should be hedged.
Settings:
ClearSlTp – flag of activation of cancellation Stop Loss / Trake Profit levels upon the occurrence of a stop-out situation in the trading account. If 0, the plugin does not modify these parameters for open orders. If 1, then the stop-out values of Stop Loss / Trake Profit for open orders will be reset to 0.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
DeletePendings – flag of activation of removal pending orders upon the occurrence of a stop-out situation in the trading account. If 0, the plugin will not delete pending orders. If 1, then in case of stop-out, all pending orders will be deleted.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Enabled – flag activating the plugin. If 0, the plugin will not produce any action.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Filter_Group – filter of account's group handled by the plugin. The plugin will process only those groups whose name corresponds to the value of this setting.
Data type: | string |
Default value: | * (all groups will be processed) |
Example value: | !GROUP1,GROUP2*,GROUP3 |
Filter_Symbol – filter of trading symbols handled by the plugin. The plugin will process only those prders whose symbol corresponds to the value of this setting.
Data type: | string |
Default value: | * (all symbols will be processed) |
Example value: | !USD*,AUDCAD |
ForcePricePrecision – Flag of enabling usage of prices at the moment of stop-out. If 1, this type of processing stop-out is activated.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
MaxSoLevelDeviationPercent – maximum deviation of account's Equity from the SoLevel group setting. If the deviation of Equity from SoLevel more than this value in percentage, and if the ForcePricePrecision setting is activated, the time of prices will be reduced by one second (older prices will be used).
Data type: | numeric |
Default value: | 0 |
Example value: | 10 |
NotificationRecievers – manager logins list, which will receive notifications via terminal mails about automatically hedging of trader's positions upon the occurrence of a stop out situation in the trading account.
Data type: | string |
Default value: | (empty value - no any managers will receive a notification via terminal mails) |
Example value: | 1,113,555,777 |
SoAccountColor – color change of the account on specified in the setting upon the occurrence of a stop out situation in the trading account. If left empty, the color of the account will not be changed. The color must be specified in HEX-format.
Data type: | string |
Default value: | 00ABCDEF |
Example value: | D0D0D0 |
SetAccountToReadOnly – flag of activation the automatic changing status of the trading account in Read-Only mode upon the occurrence of a stop out situation. If 0, the plugin will not change account Read-Only mode. If 1, the plugin will put the account in Read-Only mode upon the occurrence of a stop out.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Used components:
MetaTrader 4 Server API, MetaTrader 4 Server, OS Windows
After a purchase, you will receive:
Compiled plugin with configuration file without source codes
If you are interested in this product, feel free to order a DEMO version! Within a short time all the information about the product will be sent to your Email.
Free period 2 weeks without limits in functionality and other limits. For the demo you need to pass the registration!