Deals copier
- Utilidades
- Nikolay Mitrofanov
- Versión: 1.0
Copies deals opened on different terminals on one computer. The sqlite database is used to exchange information.
The utility is not sensitive to the name of the instrument; it determines the group by the first parameter (by default 127001).
That is, if you want to copy transactions of the EURUSD pair, then you will need to put this utility on the chart windows in two terminals and specify the same value in the first parameter in two terminals.
If you add the utility to different instruments but with the same value of this code, then deals will be opened and closed on different instruments. But, most likely, this is not what you want.Don't do that.
When copying, there is an additional 50 milliseconds delay due to the logic of the utility.
Any terminal can be a signal source.
Does not copy changes to protective orders after opening a trade.
Work description:
For example, you have 3 accounts with different brokers. You download 3 terminals, launch them and add this utility to all terminals on the required tool.
On any terminal, you press the sell button; on other terminals, one attempt will be made to sell with the same volume.
If you place a pending order in any terminal, then when it is reached on other terminals, an attempt will be made to open a deal with the lot specified in the pending order.
If the order contains stop loss and / or take profit, the corresponding values in points will be calculated for the opened deal, but from the new opening price.
When the take profit is reached, or the stop loss is reached, or when the deal is closed forcibly, an attempt will be made to close the linked order in another terminal.
If the execution fails, a message will be displayed in the console and a duplicate alert will be launched.
The levels of protective orders do not change when changed in other terminals.
https://www.mql5.com/en/market/product/65129 full version