• Overview
  • Reviews (21)
  • Comments (166)
  • What's new

Exp4 Duplicator

The Expert Advisor repeats trades a preset number of times on your account.

The following functions are supported: custom lot for duplicate trades, copying Stop Loss, Take Profit, use of trailing stop.

It repeats all deals opened manually or by another Expert Advisor.

Note: This is not a copier for trade between terminals. A trade copier for MetaTrader 4 is available here: COPYLOT or COPYLOT MT5

Version of the Duplicator for the MetaTrader 5: Exp5 Duplicator

See in our blog for the demo version and a detailed description of Duplicator features

Advisor is sufficient to install on 1 currency pair. By default, it will monitor all open symbols.

The Idea of the Expert Advisor

The Exp Duplicator assistant EA repeats positions opened in the terminal. It can work both with manual positions and those opened by another EA. The position or the order to be copied is called source. The repeating position is a duplicate.

The EA repeats the source the specified number of times. It copies lot, Stop Loss, Take Profit, order placing price (for pending orders) and expiration. When a source is modified, SL and TP of a duplicate are also modified.


The EA is highly customizable. To get started, you must specify the types of the copied positions and orders in the first parameters.

OrderToDuplication - order type:
  • 0 = BUY
  • 1 = SELL
  • 2 = BUYLIMIT
  • 3 = BUYSTOP
  • 5 = SELLSTOP
  • All Orders

MagikToDuplication - the magic number of the order to copy, multiple magic numbers can be specified separated by commas:

  • 0 - manual orders;
  • 123,345,147 - all positions with magic numbers 123,345,147;
  • -1 - all magic numbers.

SymbolToDuplication - the symbol of the order to copy:

  • An empty value means that all positions and orders of all symbols will be copied;
  • 0 - only the current symbol;
  • EURUSD - only positions and orders for EURUSD.

Other Parameters

  • LotDuplicate - if 0 repeats the source lot, otherwise a custom value;
  • MinLotToDuplicate -minimum lot to copy;
  • CommentToDuplication - comment for duplication;
  • CopyOnlyLossPosPoint - Duplicate only those transactions, the loss of which is lower than CopyOnlyLossPosPoint in points;
  • CopyOnlyProfPosPoint - Duplicate only those transactions, which is higher than the profit CopyOnlyProfPosPointv points;
  • ReverseDuplicate -true - reverse trades;
  • KoeficientLotDuplicate - lot multiplier; 0 - no multiplier;
  • StopLossDuplicate - if 0 repeats the source Stop Loss, otherwise a custom value;
  • TakeProfitDuplicate - if 0 repeats the source Take Profit, otherwise a custom value;
  • MaximumDistance - price deviation; 0 - any value is copied, if greater than 0 - that's the max difference between the source price and the current one;
  • CloseDeleteCopy - true - delete and close duplicate orders and positions if the source ones are closed;
  • KolDuplicate - the number of duplicate times.

Additional EA Parameters:

  • MarketWatch - MarketWatch trading mode, true = first positions are placed without stop levels, then are modified;
  • Magic - the identifier of EA's trades;
  • Slippage - slippage value;
  • TrailingStopUSE - use trailing stop;
  • IfProfTrail - use only for profitable positions - breakeven mode;
  • TrailingStop - trailing distance, 0 - minimum allowed value on the server;
  • TrailingStep - trailing step.
Dmitry Shcherbak
2017.03.02 17:52   

замечательная утилита, именно то, что я искал. При возникновении сложностей можно связаться с разработчиком - помогут, разъяснят)

Arnel Arnao
2017.03.01 13:55 

Hi Updated my exp Duplicator for MT4 and I cant load now in my Chart please help. Im using it on my trading now.


Thanks man.. What a service. This what I call customer service at its best..I panicked but he was able to assist me in minutes.Reinstall the old version and Im back in business..Thanks a lot..

Hossein Badali
2017.02.21 10:56 

Excellent...It is very good EA and have very nice supporting...thanks

Tariq Hakim
2017.02.17 20:49 

Exceptional EA. Does just what it says and much more. The developer is very responsive to queries and support issues.

2017.02.11 18:00 

Superb EA, some authors are here to make fast money using hook and crook means, but you can tell this author takes his work seriously and care more about quality service delivery to his clients. Worth more than 5 stars, but what choice do I have?

2017.02.01 14:14 

very good product fits my needs perfectly

2017.01.31 22:03 

Очень хороший и полезный инструмент. Работает надежно и без ошибок. Активно использую. Хороший контакт с разработчиком.

2017.01.31 13:52 

Супер! именно то что искал!

Моментальная обратная связь, разработчик помог решить все возникшие вопросы!

2017.01.14 18:00 

A very good EA. Vladislav Andruschenko is very helpfull. I strongly recommend

Amos Eka Kurniawan
2016.12.14 15:12 

hello Vladislav

thank you for updating EA with my proposal,

you're a great vendor

now we have a perfect duplicator and trade manager

great work...!!

Valeriy Belozertsev
2016.12.08 17:21 

Просто супер!

Sangeet Kumar Prasad
2016.06.22 06:45 

This is exactly what I wanted. Thanks.

2016.06.05 09:36 

То,что надо,спасибо!

Aleksandr Abramov
2016.05.25 14:58 


Rene Schneider
2016.03.15 16:44   

very good duplcator, but don´t run on my VPS. i can not put it on Chart.

2016.03.06 20:58 


Frank B
2016.01.21 16:41 

Thanks :-)

Peter de Haas
2016.01.20 17:05 

A great job, and now for mt5.hi

Rodrigo da Silva Boa
2016.01.07 13:26 

Muito Bom.

Artiom Timofeev
2015.10.19 08:00 

Как раз то что искал!! Спасибо!

Igor Ryapisov
2015.10.05 01:15 

Отлично работает, быстро и без ошибок. Единственное, чего не хватает - это настройки "копировать только ордера с убытком более, чем" и "прибылью не более чем".

Version 17.320 - 2017.04.04
- Algorithm processing speed increased for better performance and signal receiving.
- New parameter in the EAPADPRO block: SecondsToRefresh - the frequency of chart info refresh.
Default is 10 seconds! This allows to avoid too much CPU load.
Version 17.228 - 2017.03.01
The EA operation speed has been increased 2! times.
Added the MilliSecondsTimerForMonitoring parameter for the EA calculation in milliseconds.
MilliSecondsTimerForMonitoring=500 means that the EA checks all trades every half a second.

Added the DuplicateOnlyInDrawDown parameter for filtering the EA operation.
DuplicateOnlyInDrawDown - the EA operation only when the account is in a drawdown.
The drawdown is calculated based on the maximum recorded account balance.
It is possible to specify the balance for calculation in the StartBalance variable. 0 - the EA will automatically calculate the maximum account balance.

When this feature is enabled, the following happens:
The duplication starts only when the balance (AccountBalance()) decreases. If the balance recovers, duplication of new orders is suspended until the new drawdown. If the balance grows, the drawdown is calculated based on the new maximum level.
In other words, duplication of new orders (from the moment of receiving a balance drawdown) starts only when positions are closed in a loss.

Added a new block - Clients TPWCM EXTRA SETS Stops when Master Close Pos.

When the block is enabled: If a position is closed on the source, the position will not be closed on the duplicator. Instead, a trailing stop or breakeven function starts on the duplicator for that position.
That is, instead of closing, the duplicator allows trailing the position further.
In this case, the trailing stop settings are individual. It is enabled only when the position is closed on the source.

Note: When enabled, this function automatically disables the CloseDeleteDuplicate function


TPWCM_TakeProfitWhenCloseMaster - parameter to set the take profit for the trades that remain after source positions are closed;
After a trade is closed on the master - it is possible to set a take profit based on the closing price of the source trade without closing it on the duplicator;
TPWCM_TakeProfitOnlyToProfitZone -
If set to true - the EA places take profit after the trade is closed in the source and in the positive area only. If the trade is unprofitable after it is closed in the source - take profit will not be placed until it is in the positive area;
If set to false - the EA places take profit in any area (even negative one).
TPWCM_StopLossWhenCloseMaster - parameter to set the stop loss for the trades that remain after source positions are closed;

TPWCM_TrailingStopUSE - enable trailing stop\breakeven for the duplicator trades after the source trades are closed;
PWCM_IfProfTrail - stop loss is trailed only in the positive ares;
TPWCM_TrailingStop - trailing stop distance;
TPWCM_TrailingStep - trailing stop step;
TPWCM_BeZubitok - enable breakeven for the duplicator trades after the source trades are closed
TPWCM_LevelWLoss - set the stop loss at the level of Open price +- TPWCM_LevelWLoss points;
TPWCM_LevelProfit - set breakeven when the position is in TPWCM_LevelProfit points of profit;
Version 17.208 - 2017.02.14
Version 17.120 - 2017.01.27
Added the OnlyCloseOrders option, which allows the EA only to close the duplicate positions.

If signal provider starts going into a noticeable drawdown, the deposit may not withstand. In the most stressful situations, it is possible to completely disable copying (OnlyCloseOrders=true) and disable opening duplicate orders to avoid overloading the deposit. The EA will stop opening new positions, but will still close positions opened earlier. If their original (master) position is closed by the signal provider.

Fixed working with long tickets

- Added parameter
MaxSpreadToNotTrade and MinSpreadToNotTrade
MaxSpreadToNotTrade - Maximum spread, at which the EA can copy a grid
MinSpreadToNotTrade - Minimum spread, at which the EA can copy a grid

- Added the EAPADPRO information panel
Details on the panel in our blog:
or https://www.mql5.com/ru/blogs/post/687140
Version 17.110 - 2017.01.13
Added new parameter MaxLotToDuplicate - maximum lot for the duplicate, which will be copied.
Version 16.996 - 2016.12.22
Fixed a bug in the CopyOnlyLossPosPoint function
Version 16.995 - 2016.12.14
The chart where the EA is running now features three buttons:
Close All positions duplication
Close Profit duplication
Close Loss duplication

New EA parameter:
CloseOriginalifDuplicationCloseinProfit - close source position, if the duplicate position was closed with profit. Profit coverage of duplicate and source positions.
E.g. if ReverseDuplicate=true and KoeficientLotDuplicate=2, after opening a sourc eposition the EA will repeat it with a reversal and a double lot.
Further, if the duplicate position is closed with a profit and this profit covers the loss of the source position, the EA will close the source position.

New EA parameters:
These parameters adjust automated lot and free margin calculation.

Bug fixes.
Version 16.957 - 2016.11.02
Added the ReopenClosedDuplicateOrder parameter allowing you to manually re-open duplicate orders if they were closed by a stop loss.
If 'true', all master positions are duplicated. If any of the positions was closed, the EA duplicates it.
If 'false', no duplication is performed.

Added the OnlyNewPositions parameter allowing you to duplicate only positions that were cancelled after starting the EA.
If 'true', the EA copies new trades only, while the previous ones are skipped.
Version 16.935 - 2016.10.07
Modified the EA for working on the Timer (1 second) to increase the duplication speed
Version 16.916 - 2016.09.30
New parameter CommentToDuplication
CommentToDuplication = a comment for deals to be repeated. For example: CommentToDuplication="The X" - in this case the EA will only repeat the deals opened with the comment "The X"
You can also specify a part of the deal comment.
For example, your deals have the following comments: TickSniper 1 ,TickSniper 2, TickSniper 3,
You can enter CommentToDuplication="TickSniper", then all deals with the TickSniper word in the comment will be repeated on the account.
Version 16.213 - 2016.02.15
Fixed a bug which caused lots to increase after requotes.
Version 16.107 - 2016.01.07
Added new orders selection All_BUYSELL and the All_STOPLIMIT
Added reverse Orders(with ReverseDuplicate=true)

Version 15.935 - 2015.10.06
When you duplicate items in reverse - Stop Loss = Take Profit and Take Profit = Stop Loss;
Added options for duplicate conditions:
CopyOnlyLossPosPoint - duplicate only the items that are less than the specified loss in points (indicated with a minus), 0 - off.
CopyOnlyProfPosPoint - duplicate only the items exceeding the specified profit in points, 0 - off.
Version 15.932 - 2015.10.02
Fixed bug when closing the position using ReverseDuplicate.