BridgeMT4toMT4Position
ID 26
Category: Products - MT4 Plugins
Version: 2.0.14.22
Release date: 2012-01-01
Developer: ITTrendex, LLC
MetaTrader 4 plugin to duplicate transactions from one MT4 server to another MT4 server into the aggregated position
https://ittrendex.org/en/prices/item/26/amp/Description
The system of coverage clients to the aggregate position consist of two MetaTrader 4 plugins for Client trading server and Manager trading server. Account which orders should be covered on Manager server opened on Client server. BridgeClient should be installed on Client server to transfer trading orders to Master server to the aggregate position. On the Main destination server should be installed BridgeSrv plugin which can filter commands from the Client server and PositionAggregator plugin for aggregation of net position.
You can cover any accounts or groups of accounts or specific accounts depending on the settings of BridgeClient plugin.
Settings of BridgeClient:
AllowDeletePendingRequests – the flag of processing of pending order's requests removal. If 1 then processing is enabled.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
AllowGroupSpreadDiff – the flag of usage Group's spread. If 1 then usage enabled.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
AllowModifyRequests – the flag of resolution of processing of requests for modification of orders. If 1 then processing is enabled.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
AllowPendingOrders – the flag of processing of requests for the creation of pending orders. If 1 then processing is enabled.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Dealer – dealer login to process requests. It should be a manager with appropriate permissions.
Data type: | numeric |
Default value: | 0 |
Example value: | 995 |
DetectDealerCloseByLogs – the flag of processing closing orders by manager according to server logs. If 1 then processing is enabled.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
DefaultMarkup – local markup. The number or pips on which the LP's spread should be changed. If 0 then LP's quotes will be equal to Client's quotes in trading terminal. It's allowed to configure markups for each trading symbol in BridgeClient.markups.ini file which should be placed to plugins folder of MetaTrader 4 server. One symbol on the line as follows:
#GOOG=0
EURUSD=8
FDAX=4
FTSE=9
GBPAUD=22
GBPCAD=12
XAUUSD=17
The price for client will be worsen on the certain number of pips.
Data type: | numeric |
Default value: | 0.0 |
Example value: | 2 |
Filter_Group – the filter of accounts by groups which should be processed. Plugin will process the accounts only from these groups configured in this setting.
Data type: | string |
Default value: | !* (all groups are not allowed for processing) |
Example value: | ,GROUP-1,GROUP-2,GROUP-3*, |
Filter_Login – the list of accounts which should be processed. If empty then all accounts will be processed accordingly to other settings.
Data type: | string |
Default value: | (empty value) |
Example value: | 12345,122222,454545 |
Filter_Symbol – the filtration of requests handled by the symbol (default is a complete ban).
Data type: | string |
Default value: | !* (it's not allowed to process any symbols) |
Example value: | ,EUR*,USD*,AUDCAD,#*, |
Filter_TickSymbol – the filtration of incoming quotes for throwing prices by local symbol.
Data type: | string |
Default value: | !* (the filtration of ticks is not allowed for all symbol) |
Example value: | ,USD*,#*, |
Filter_ZeroSpreadSymbol – the filtration of symbols with zero spread. Setting specifies the symbols, which are transmitted with a zero spread.
Data type: | string |
Default value: | !* (it's not allowed to process any symbols with zero spread) |
Example value: | ,*USD*, |
FilterSkip_Login – the list of accounts which should be skipped. If empty then all accounts will be processed accordingly to other settings.
Data type: | string |
Default value: | (empty value) |
Example value: | 12344,122112,42245 |
InvertOrders – the flag of inversion of the direction of orders which were sent to the bridge. If 0 then inversion is turned off.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
LiquidityProviderClientName – login for check the connections to the bridge. The value should be equal to Login in server plugin BridgeSrv.
Data type: | string |
Default value: | (empty value) |
Example value: | TESTLOGIN123 |
LiquidityProviderPassword – password for check the connections to the bridge. The value should be equal to Password in server plugin BridgeSrv.
Data type: | string |
Default value: | password |
Example value: | TESTPASS123 |
LiquidityProviderServer – server and the port on which the bridge works (format IP_Address:port).
Data type: | string |
Default value: | 127.0.0.1 |
Example value: | 194.144.155.122:445 |
LogCommunicationStats – the flag of activation of logging of querying the server side and get answers. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
LoggingMode (JL) – the flag of activation of logging. If empty the logging is turned off. If J then log will be written into MT4 server log. If L then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | J |
Example value: | JL |
LogOuterOrderLinking – the flag of activation of logging of binding local and external orders. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
LogRequestAquiring – the flag of activation of logging of the accepting of requests for processing. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
LogRequestAnswers – the flag of activation of logging of incoming Bridge responses. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
LogTicksAdding – the flag of activation of logging of thrown quotes. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
LogTicksAddingEx – the flag of activation of logging of incoming ticks and their original time (it can create a significant load on the server, can be used only for debugging purposes). If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
LogTicksAddingOnTrade – the flag of activation of logging of prices thrown when processing requests. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
LogZeroSpreadSymbolsDbg – the flag of activation of debug logging of symbols with zero spread. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeClient.log file.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
MinVolume – minimum order volume in lots, which will be sent to the Bridge server. Orders with smaller volumes will not be processed by BridgeClient plugin.
Data type: | numeric |
Default value: | 0.0 |
Example value: | 1.0 |
PostFactumProcessing – flag that activates the mode of sending requests (at the current price) after opening/closing orders. If 1 then mode is enabled. If activated, the plugin does not participate in the processing of requests, stops, pendings, stop-outs and ignores DetectDealerCloseByLogs setting, and after opening, activating or closing the orders of the server part, a request is made to open or close the order at the current price.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
ProcessStopsAsMarketClose – the flag of activation of processing of Sl/Tp as transfer of MK_OPEN requests (values of Sl/Tp do not transfer). If 1 then processing is enabled.
Data type: | numeric |
Default value: | 1 |
Example value: | 0 |
ProcessPendingsAsMarketOpen – the flag of activation of processing of pending orders as transfer of MK_OPEN requests on activation. If 1 then processing is enabled.
Data type: | numeric |
Default value: | 1 |
Example value: | 0 |
SendLoginForMonitoring – the flag of activation of sending the login to the Bridge for monitoring.
Data type: | numeric |
Default value: | 1 |
Example value: | 0 |
SendPriceOnModifyRequest – the flag of switching off the transferring Client's price on order modification (in this cases the price with value -1.#INF is sending). If 1 then transferring the price is disabled.
Data type: | numeric |
Default value: | 1 |
Example value: | 0 |
Slippage_Close_Control – the flag of activation of slippage control of quotes when order closes. If 1 then the control is enabled.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Slippage_Close_MaxSlippage – maximum slippage when closing an order.
Data type: | numeric |
Default value: | 0.0 |
Example value: | 3 |
Slippage_Close_MaxVolume – the maximum volume of the order for which acts slippage from Slippage_Close_MaxSlippage setting. If 0 then slippage is not allowed.
Data type: | numeric |
Default value: | 0 |
Example value: | 5 |
Slippage_Open_Control – the flag of activation of slippage control of quotes when order opens. If 1 then the control is enabled.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Slippage_Open_MaxSlippage – maximum slippage when opening an order.
Data type: | numeric |
Default value: | 0.0 |
Example value: | 3 |
Slippage_Open_MaxVolume the maximum volume of the order for which acts slippage from Slippage_Open_MaxSlippage setting. If 0 then slippage is not allowed.
Data type: | numeric |
Default value: | 0 |
Example value: | 5 |
Slippage_ZeroSpread_Control – the flag of activation of slippage control of quotes with zero spread. If 1 then the control is enabled.
Data type: | numeric |
Default value: | 0.0 |
Example value: | 1 |
Slippage_ZeroSpread_MaxSlippage – maximum slippage when opening an order with zero spread.
Data type: | numeric |
Default value: | 0.0 |
Example value: | 3 |
Slippage_ZeroSpread_MaxVolume – the maximum volume of the order with zero spread for which acts slippage from Slippage_ZeroSpread_MaxSlippage setting. If 0 then slippage is not allowed.
Data type: | numeric |
Default value: | 0 |
Example value: | 5 |
SymbolPostfix – postfix added to the symbol name when sending the request to the bridge.
Data type: | string |
Default value: | (empty value) |
Example value: | _Y |
SymbolPrefix – prefix added to the symbol name when sending the request to the bridge.
Data type: | string |
Default value: | (empty value) |
Example value: | X_ |
TicksToSkipOnConfirmTickAdd – the number of ticks that must be skipped on tick that is thrown upon confirmation request. Maxumum value is 10.
Data type: | numeric |
Default value: | 0 |
Example value: | 5 |
TrySetInstantRequestPrice – the flag of activation of the mode of price shifting in instant-request during request confirmation by server. If 1 then price shifting mode is enabled.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
VolumeCoeff – the coefficient of modifying of the volume of order transmitted to LP server. If the value of this setting is more than 0 then the original order volume will be multiplied on this value on LP's server.
Data type: | numeric |
Default value: | 0.0 |
Example value: | 1.5 |
- in settings of trading instruments the execution is manual only, no automation
- account from Dealer setting has the dealer rights
Settings of BridgeMgr:
AutoprocessICR_SendPrices – flag of activation of sending current server's price during automatic processing of incorrect request for order close (AutoprocessInvalidCloseRequests setting). If 0, sending prices in such cases will be turned off.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
AutoprocessInvalidCloseRequests –flag of activation automatic confirmation of closing orders by the current price, if the related orders are not found, closed or incorrect (invalid login, direction or symbol). If 0, the automatic confirmation in such cases will be turned off.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
AutoprocessStopoutCloseRequests – flag of activation automatic processing of closing orders by the current price, if the related orders were closed by Stop out on server-side. If 0, the automatic processing in such cases will be turned off.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
AutoprocessSoCR_SendPrices – flag of activation of sending a current server's price, if AutoprocessStopoutCloseRequests=1. If 0, the sending a current server's price in case of Stop out will be turned off.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
AutoprocessStoppedCloseRequests – flag of activation automatic processing of closing orders by the current price, if the related orders were closed by SL/TP on server-side. If 0, the automatic processing in such cases will be turned off.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
AutoprocessStCR_SendPrices – flag of activation of sending a current server's price, if AutoprocessStoppedCloseRequests=1. If 0, the sending a current server's price in case of SL/TP will be turned off.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
BridgeLogin – trading login of the Bridge. This account will be used for client's coverage on liquidity provider's server. Client's trading orders will be opened on this account. If 0 then Bridge will not work.
Data type: | numeric |
Default value: | 0 |
Value example: | 111222 (физический счет MT4) |
DiscardProcessedRequests – the flag of activation of rejecting of processed requests (should help in cases of processing problems with bridges from another LP if there are more than one bridge plugin on trading server). If 1 then the mode is enabled.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
EnableExtraChecks – the flag of activation of extra checks of incoming requests due to which requests can be automatically requoted or rejected. If 0 then extra checks are disabled.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
Filter_Symbols – the filter of processing trading symbols. Plugin will process client's requests only with these trading symbols. It's allowed to set up mask of symbols for processing.
Data type: | string |
Default value: | * (will be processed requests with any trading symbol) |
Value example: | ,*_X, EURUSD, |
Login – the login for connection between server plugin on LP's side and client's plugin of the Bridge. This value should be equal on BridgeClient (LiquidityProviderClientName setting) and BridgeSrv plugins. The value can contain digits and letters.
Data type: | string |
Default value: | (empty value) |
Value example: | TESTLOGIN123 |
LogIncommingRequests – the flag of activation of journaling of incoming client's requests. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeSrv.log file.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
LogRequestsStatuses – the flag of activation of journaling of returning statuses of processing results. If 0 the logging is turned off. If 1 then log will be written into plugins\logs\BridgeSrv.log file.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
Password – the password for connection between server plugin on LP's side and client's plugin of the Bridge. This value should be equal on BridgeClient (LiquidityProviderPassword setting) and BridgeSrv plugins. The value can contain digits and letters.
Data type: | string |
Default value: | (empty value) |
Value example: | TESTPASS123 |
Port – the password for connection between server plugin on LP's side and client's plugin of the Bridge. This port should be opened on LP's server and Client's server.
Data type: | numeric |
Default value: | 4444 |
Value example: | 445 |
ProcessAutomaticExecution – the flag of activation of automatic execution of client's requests. If 1 then automatic execution is enabled.
Data type: | numeric |
Default value: | 1 |
Value example: | 0 |
SymbolPostfixLength – the number of letters which should be cut from the end of trading symbol when its used in order copy.
Data type: | string |
Default value: | (empty value) |
Value example: | _Y |
SymbolPrefix – prefix added to the symbol name when sending the request to the bridge.
Data type: | string |
Default value: | (empty value) |
Value example: | X_ |
Settings of PositionAggregator:
CommentBalanceCorrection – the comment of balance correction operation of account with aggregated position in case of the net volume is higher that the volume of incoming order and the direction of current position differs from the direction of changing volume (for example, if SELL position opened and the incoming order has a BUY direction or incoming order to close SELL.).
Data type: | string |
Default value: | #correction |
Value example: | balance correction |
Filter_Color – the filter by color for accounts from which orders will be copied. If empty then this setting will not be used for filtering by account color. If the setting specifies the colors, according to other settings, orders will be aggregated from those accounts color of which coincides with the configured colors. The color should be set in HEX format like RRGGBB.
Data type: | string |
Default value: | (empty value) |
Value example: | ,FF0000,A3A3A3,0000FF, |
Filter_Group_* – the filter by group of accounts from which orders will be copied. If empty then this setting will not be used for filtering by group. Instead of "*" should be placed the number of the trading account, which will aggregate net position. Format settings as follow: Filter_Group_LOGIN =,GROUP1,GROUP2,
example: Filter_Group_123123 =,*USD*, - means that the account 123123 will aggregate net position with accounts in groups, whose title has substring "USD". Plugin allows to set up multiple Filter_Group_* settings.
Data type: | string |
Default value: | (empty value) |
Value example: | ,GROUP1,GRP*,!*EUR, |
Filter_Login – the filter of logins separated by comma from which orders will be copied. If empty then the position will be formed from all accounts, satisfying settings in Filter_Group_*. If you specify the account numbers, the copy of orders to the position will only be made from them according to the group settings in the Filter_Group_*
Data type: | string |
Default value: | (empty value) |
Value example: | ,12221,12225, |
FilterSkip_Login – the filter of logins separated by comma which will be skipped from copying. This settings is used in combination with Filter_Group and Filter_Color when it's needed to exclude some accounts when a lot of accounts selected by group or by color.
Data type: | string |
Default value: | (empty value) |
Value example: | ,12224,12228, |
MinNewOrderVolume – the minimal result volume after applying of VolumeDivider setting. If the result volume is less than the value of this setting then the order will not be copied to net position.
Data type: | numeric |
Default value: | 100 |
Value example: | 2 |
SymbolPostfixLength – the number of letters which should be cut from the end of trading symbol when its used in order copy.
Data type: | numeric |
Default value: | 0 |
Value example: | 3 |
VolumeDivider – the oroginal volume divider. This setting allows to divide the volume of the original order when its copying.
Data type: | numeric |
Default value: | 1.0 |
Value example: | 1.5 |
Components:
BridgeClient plugin for MT4, BridgeSrv plugin for MT4, PositionAggregator plugin for MT4, MetaTrader 4 Server API, MetaTrader 4 Server, OS Windows
Order includes:
compiled plugins 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!