Quote:
I need to get an open position from one account and open it on another account
how to do something like that?
Without knowing more about this, this would be a possible way:
As Support pointed out, you have to run two platform instances for the 2 accounts. This can be running on the same PC, no restrictions about that.
A strategy is running on platform A, which strategy monitors the opened orders frequently (every 5 second, for example). This strategy updates (write to) an output file (xml, cvs, whatever you want) with the details of the orders (instrument, amount, SL/TP, etc).
There is another strategy running on platform B, which strategy reads the mentioned output file, and if a new order is entered, it will submit an order.
A similar concept has been developed already. It is called the
MT4/JForex client bridge, which connects a MetaTrader platform with JForex, and copies every order that is placed in MetaTrader to JForex. You can take a look on the source code to get starting.