Master:
Run Master on the base account, it means the one you want to copy orders from.
The basic parameter is the port number (e.g. 12987). The same port number must be written in Slave. This number will tell Slave from which Master orders should be copied by him
You can run several Masters with different port numbers, and several Slaves by connecting them with the chosen Masters.
In parameter checkPendingAllTime we choose whether we need to copy pending orders all the time. For example we opened some pending order, next run the copier and if the parameter checkPendingAllTime equals true, then this order will also be copied.
Parameter sendCloseInfoForSeconds species how many seconds Master will sent information about the closing of the order (in case of problems with the Internet connection).
In parameter copiedSymbols we determine from which symbol we want to copy the orders. We have two options: either all symbols (All_Symbols) or only selected (Only_Listed_Below), which should be listed in the parameter listOfCopiedSymbols. Symbols should be separated by commas.
Slave:
Run Slave on the account from orders are supposed to be copied on. If you start a couple of Slaves on one account, each of them should have a different value in a nick parameter.
In the host parameter we set IP address of the host on which Master is running. If the Master and Slave run on the same machine, enter “localhost“. If the Master is running on another computer (for example, VPS or in home network), you must enter the corresponding IP address of the computer on which Master is running. This should be a static IP address.
In the port parameter we set the port number on which the Master is running, from which you want to copy orders (the same port that we have entered in the Master).
In copiedOrderSymbol parameter determine whether we want to copy the order from all the symbols which sends Master (AllSymbols) or only from symbol from chart on which we run Slave (CurrentSymbolOnly).
If symbols with your broker have a suffix (eg. .stp, .lmx, +) Then in parameter symbolSufix we need to enter the suffix.
Slippage parameter define which is allowable price offset during opening copied order. If the offset is greater, the order will be rejected.
Copier also provides the ability to copy pending orders as a market orders. Then the pending orders are not copied, there are copied at the time when pending order enter into the market in the Master. We turn on this option using the copyPendingLikeMKT parameter.
We can also disable copy StopLosses and TakeProfits in copySLAndTP parameter . Then the order will be closed when original order is closed in the Master.
By checking doNotCopyIfLotLessThenMinLot parameter to true orders which lot size is less than the minimum lot size on the platform will not be copied.
The copier enables four versions of order size coping. We define them in copiedLotSize parameter:
- AsInMaster – size of the copied order is the same as in Master’s.
- SetSelfSize – size of the copied order is set manually in selfLotSize parameter.
- PercentageOfRisk – size of the copied order will be calculated so that while closing position on Stop Loss we do not lose more than given percentage of equity. The value will be calculated according to the formula: (Equity*Risk-commission)/(SL*PipValue). We set the percentage of equity in risk [%] parameter, whereas equity we set in the equityToRisk parameter or if we write 0, there will be taken account’s equity to the calculation. Attention: to carry out the described calculation copied order must have StopLoss. If it doesn’t have it, order will be copied with the lot size given in the selfLotSize parameter.
- RatioOfMaster – size of the copied order is as in Master’s but multiplied by the constant set in the LotSizeRatioOfMaster parameter (e.g. 0.5 – then the copied orders will be twice smaller). Sizes of the copied orders multiplied by the given value are rounded to the closest possible value.
Copy orders between MT4 and JForex:
FxCraft MT4 Copier is compatible with our copier FxCraft JForex Copier so you can copy orders between MT4 and JForex (Dukascopy).
To Copy orders from MT4 to JForex just download our product FxCraft JForex Copier and on JForex platform use only FxCraftSlave, and on MT4 use Master from FxCraft MT4 Copier.
No need to purchase separate license, because the license applies to Master file and the Slave is free.
Similarly, if you want to copy orders from JForex to MT4 simply purchase a license for FxCraft JForex Copier, while FxCraft MT4 Slave can be used for free.
To copy orders between platforms MT4 and JForex it is enough to enter the same port in both tools.