Trade Copy

1
Overview

  Copy trades to other accounts.

Operating environment

  Source and destination MT4

Operating conditions

  Source and destination are on the same PC.
  Source and destination are 1: Multiple.

Detailed specifications

  Copy target

    New order
      Market / SL / TP

    Change orders
      SL/TP

    Settlement orders
      Destination orders that are not in the source are closed.
      (Market / SL / TP)

    Magic number
      Specified magic number(s).

    Ignores trade orders that have been delayed in processing.
      If a delay occurs between the source and destination EAs,
      Sets whether the trade is copied or not.
      Set the acceptable delay in milliseconds (ms).

    Ignore past trade orders
      If the PC or this system is restarted for any reason,
      Sets whether trades should be copied back in the past.
      Set the past to go back in seconds (s).

  Action to copy to

    Magic number
      Operates with the magic number you set.

    User intervention
      The settlement order of the copy destination is not copied again.
      The change order of the copy destination is changed to the content of the original order. (revert).
      New orders at the destination are closed as they are not in the source. (Not applicable if the magic number is different)

    Lot number
      The number of lots is calculated as the ratio of the source and destination balances.
      In addition, it is recalculated using the conversion ratio parameter.

  Operation in the event of an error (or until both the source and destination EAs have been activated)

    Copy source stops
      Copying (new/change/close) according to the copy source in real-time is not possible.

    Recovery after copy source is stopped.
      New orders are copied according to the ‘Ignore past trade orders’ parameter.
      Copy past change orders.
      Copy past settlement orders.

    Copy source stopped
      Copying (new/change/close) according to the source in real-time is not possible.

    Recovery after copy destination has been suspended
      Copy past new orders according to the parameter ‘Ignore past trade orders’.
      Copy past change orders.
      Copy past close orders.

    PC or MT4 is slow
      Delayed new orders are copied according to the ‘Ignore delayed trade orders’ parameter.
      Copy delayed change orders.
      Copy delayed close orders.

Activation procedure

  There is no order in which the source and destination are activated.

Mechanism

  Data is exchanged in ‘Common\Files’.


I created a trade copy tool, but a good free one was released by FX Blue and others.

I reworked it to my specifications from the published source code.
The source code is attached. Feel free to use it.

I translated it from Japanese to English, but I have not translated it from English to Japanese and checked it for proper text.I'm sorry.
These users thanked the author funchi for the post:
ChuChu Rocket
I am funchi. I am not a daughter.
I have returned to this community because I have been cured of my illness.

During my illness, I left the affairs of this community completely in the hands of my daughter.
However, from now on it will be my policy.

I hope you will continue to support me.
In addition, my daughter was very angry.