• 概述
  • 评论 (2)
  • 评论 (6)
  • 新特性

Transaction Repeater Demo

This is an easy to use trade copier with no excessive functions. The product performs direct and reverse copying. In case of direct copying, the utility manages Stop Loss and Take Profit of each order. It repeats modifications of market and limit orders placed on a master account. There is also the possibility to copy in "one to many" and "many to one" modes.

Attention! Demo Version. All trades on the receiver account are opened with the fixed lot equal to 1.0.

The full product version is available here: https://www.mql5.com/en/market/product/7702

Launching the Copier

  1. On the provider's account, launch "Transaction Repeater Demo" from folder "Experts\Market". The product works on any chart.
  2. Select Master mode. Select necessary parameters.
  3. If prefixes or suffixes are used in symbol names on the master account, they should be indicated in parameters mPrefix and mSuffix.
  4. Set the period of master account data update in parameter "Sleep mls.". The number of milliseconds.
  5. On the client's account, run "Transaction Repeater Demo" from the "Experts\Market" directory. The product works on any chart.
  6. Select Slave or Slave_revers mode.
  7. In the ServerAccount parameter. specify the number of the master account, on which the trade copier is running in the master mode.
  8. ServerAccount value can be left unchanged. After start, in the upper left corner of the chart, click on the required master account number the trade copier is running on.
  9. If prefixes or suffixes are used in symbol names on the slave account, they should be indicated in parameters sPrefix and sSuffix.
  10. If "many to one" copying is performed, StMagik parameter of each launched copy should be different.
  11. Set up other parameters.

Parameters

  1. Mode - script operation mode:
    • Master - for a provider account; in this mode, the script transmits trades from the master account.
    • Slave - for a recipient account; in this mode, the script receives the data transmitted by the script from the master account.
    • Slave_revers - for a recipient account; in this mode, the script receives the data transmitted by the script from the master account and reverses the trade's direction. In other words, if BUY is opened on the master account, SELL is opened on the client one.
  2. Sleep mls. - data file update/check period in milliseconds.
  3. mPrefix - prefix in symbol names on the master account. Leave blank if no prefix is used.
  4. mSuffix - suffix in symbol names on the master account. Leave blank if no suffix is used.
  5. ServerAccount - number of the master account to copy trades from. If 0, then you need to select the account number from the list in the upper left corner immediately after starting the copyer.
  6. Coeff - lot copying ratio. (parameter close)
  7. UseFixLot - if "YES", a value from FixLot will be used (parameter closed)
  8. FixLot - fixed lot size (parameter closed)
  9. OnlyMarket - if "YES", only market orders are copied. If "NO", market and limit/stop orders are copied.
  10. allowable time copy sec. - allowable copying time in seconds.
  11. StMagik - arbitrary content line to avoid confusion if several script copies are launched.
  12. LimitEquity - copying is stopped if available funds on a receiver account are less than the specified value. However, open orders are simultaneously closed with the ones on the master account.
  13. sPrefix - prefix in symbol names on the slave account. Leave blank if no prefix is used.
  14. sSuffix - suffix in symbol names on the slave account. Leave blank if no suffix is used.
Eleni Anna Branou
3608
2017.02.17 18:13 
 

Great tool!

Ovidiu Caslariu
7846
2016.05.07 00:14 
 

用户没有留下任何评级信息

版本 2.45 - 2017.03.14
The "Coeff" parameter has been renamed to "Copy ratio" and can now be modified in the settings.
Fixed the operation in the OnlyMarket=YES mode. Earlier, in this mode, if the orders on the master account had stop levels, they were copied to the slave account.
版本 2.43 - 2017.02.27
Added a prohibition on using the product for duplicating the trades on the same account. Earlier, when trying to use the copier on the same account both in "Master" and "Slave" or "Slave_revers" modes, multiple trades were opened.
Changed the algorithm for identification of trades opened by the copier. In this version, the copier will not use the order comments to identify its trades.

As reported by one of the customers, the copier did not work on build 985. The code has been recompiled for build 985, all functions have been tested. Works as the previous version 2.42 -

Fixed the error that occurred when copying one to one. The error occurred when a copying was performed simultaneously from one "EURUSD" symbol on the master to instruments of the same type, such as "EURUSD" and "EURUSD."
版本 2.4 - 2015.09.11
1. Fixed an error with 5- and 3-digit quotes. Position opening/closing could fail sometimes due to auto slippage adjustment during order sending.
2. Updated notification algorithm during EA start with "Auto-Trading" button unpressed.
版本 2.3 - 2015.05.08
1. Added information which is recorded to the log before sending, closing and modification of an order.
2. Fixed bug which occurs when you specify suffixes and prefixes in settings.
版本 2.1 - 2015.04.08
1. Added ServerAccount variable. Now you have to enter a number of the master account to start copying.
2. Added the ability to select a number of the master account from the list by clicking at the upper left corner.
3. Fixed an error occurred when transmitting trades in the Master mode.
4. Fixed an error occurred when copying from one to several terminals.
版本 1.2 - 2015.03.05
Added sPrefix, sSuffix, mPrefix and mSuffix parameters to copy trades when there are different suffixes and prefixes on a client and a server.
版本 1.1 - 2015.02.11
1. Optimized the copier's code to reduce the processor load.
2. Fixed the error when copying orders to the terminals with different accuracy. Previously, the log was filled with error messages (like OpenPrice: error #1 order #232389787 to master order #4786083) when coyping from a five-digit terminal to a four-digit one.