I want to copy trades between 2 different dukascopy trade account using socket client/server, including Create, Modify and Close orders.
Two seperate strategies are required on each trade account.
There is one example of jforex socket server/ client on Jforex wiki. Synchronization is only one-way from client to server.
You need write some trade managing process in order to modify or close some trade from client side.
You can refer to MT4JForexClientsBridge.java. I want to do the same thing between two JForex account by using socket client/server.
MT4JForexClientsBridge reads MT4 platform log files and copy trades to JForex platform.
My another simpler project to do the same thing is to write a MT4 compatible log file from one account and use MT4JForexClientsBridge.java to read the log file in another account.