Exp COPYLOT CLIENT for MT5
Trade copier for MT5 is a trade copier for the МetaТrader 5 platform.
It copies forex trades between any accounts MT5→MT5, MT4→MT5 for the COPYLOT MT5 version (or MT4→MT4 MT5→MT4 for the COPYLOT MT4 version)
You can also copy trades in the МТ4 terminal (МТ4→МТ4, МТ5→МТ4): COPYLOT CLIENT for MT4
This version Including between terminals МТ5→МТ5, МТ4→МТ5.
- The deals copier is created to copy deals/positions between 2/3/10 terminals.
- Copying from a demo account and investment accounts is supported.
- The program can be run on multiple terminal bindings.
- Use it as a synchronizer of your trades on various investor accounts trading on one account, - COPYLOT will copy your trades to other terminals.
- Copy from multiple terminals to one;
- Copy from one terminal to several others;
- Copy from any different brokers to any different brokers;
- Copy from a closed account opened with an Invest password;
- Copy from DEMO accounts to a real account;
- Hedge and netting accounts.
- COPYLOT CLIENT (Slave) Install the Expert Advisor in the terminal where you want to copy trades.
- Install the Expert Advisor in the terminal MetaTrader 5, where you want to copy trades.
- Open the terminal on which Positions will be copied and set COPYLOT CLIENT to one chart
- Specify any text label name as pathRead, for example, "COPY". This should match the master terminal PathWrite (to bind the two terminals).
- To copy trades, you need to install the free Master copier in the terminal from where you want to copy the trades: COPYLOT Master for MT4 or COPYLOT Master for MT5.
The EA needs to be set to 1 Chart! By default, our adviser copies all positions from your account!
COPYLOT - Full Description and manual + DEMO + PDF
- PreFixSymbol - additional symbol(s) in the name of the client's currency pair.
- Lot - the lot for opening. If 0, it opens deals with the current master lot. Otherwise, the lot to be used for trade copying is specified.
- RiskLot - trade in the client's terminal will open with a lot equal to RiskLot % of the available funds of the client. The formula for calculating the lot is available in the article.
- KoefLot - if 0, it is disabled. If there is a coefficient, then positions will be opened with this coefficient in the client's terminal.
- TakeProfitCopy/StopLossCopy - copying take profit/stop loss from the master account.
- ReverseCopy - revert trades (take profit and stop loss are also inverted).
- ProfitCopyOnly - copy only profitable positions.
- OnlyProfitPips - minimum profit value of a trade in points.
- LossCopyOnly - copy only losing positions.
- OnlyLossPips - loss value in points.
- NewTradeONLY - copy only new trades.
- SLEEPING - pauses between code execution in milliseconds.
- ClosePosbyMaster - close client's positions if master positions are closed.
- TP_adjust/SL_adjust - addition (if "-" signe, the subtraction) of a specified number of points for TakeProfit/Stoploss.
- My_STOPLOSS/My_TAKEPROFIT - setting your stop loss / take profit from the current open price.
- And others.............
- Partial close is not supported! Orders can be closed only in the same lots as they were opened! If your master uses different lots for closing, then the copier may fail!
- INOUT not supported.
- Orders are copied upon activation (Positions) and are copied to the client account. You can activate this function PendingOrdersCopy Only for HEDGE account.
Attention: COPYLOT does not copy via the Internet! Copy between terminals on one computer!
Attention! COPYLOT does not work on MetaQuotes VPS
#tags Copy, Копировщик, copy trades, copy trade, copier, copy, trades, fast copy, kopir
Updating information on the chart when redrawing data has been improved.
The table of deals is updated along with the panel update (The data update time is still configurable in the panel settings!)
Attention! For the program to work, you need to install the Copylot Client EA on 1 chart!
It is forbidden to install Copylot Client on 2 charts or more!
- Client: Added new parameter
- AdditionalLot: An additional lot that will be added to the main lot.
Allows you to increase or decrease the lot.
Note: You can set both +0.01 values and -0.01 values.
Note: You can use this parameter together with KoefLot, RiskLot.
Master lot = 1, AdditionalLot = 0.01, Client lot = 1.01;
Master lot = 1, AdditionalLot = -0.01, Client lot = 0.99;
- Client: When using OIP_Order_Instead_Position and ReverseCopy, the type of pending orders will also be reversed: Buy> SELLSTOP / SELLLIMIT, Sell> BUYSTOP / BUYLIMIT
- Client MT5: Added (transferred from Client MT4 version):
: RiskLotTypetype -> Type of dynamic lot calculation
: CorrectSLTPbyMaster -> Corrects SL / TP dist at different prices
========= Clients MaxPos =========
: MaxPosBySymbol -> Max number of pos per symbol to copy
: MaxOrderBySymbol -> Max number of orders per symbol to copy
: MaxSymboll -> Maximum number of symbols to copy
: NumberPosbeforeCopy -> Copy after a certain number of pos
========= Clients OIP EXTRA SETS Pos to STOP or LIMIT orders =========
: OIP_Order_Instead_Position -> Open Order Instead Positions
: OIP_TypeOrders -> Type of Orders
: OIP_DistanceOIP -> Distance from price
Checking trading sessions of the copied symbol before sending a request to the server!
The Expert Advisor checks whether it is possible to trade on this symbol at the current time and trading session.
If it is currently prohibited to trade on the symbol being copied, COPYLOT will not send a request to the server.
Attention! Some brokers may have multiple trading sessions!
If you find that the EA does not copy the Traded Symbol and writes the No Session Time error, you can disable this function!
Added additional check of tickets when closing a deal ticket / order ticket.
Attention! 2 functions can work at the same time!
Those deals are copied that have fulfilled 1 of 2 conditions (Profitable / Unprofitable)
Attention! INOUT and partial closing are not supported at the moment !!!
The copier can copy the opening / closing of deals only with a fixed lot (with what lot he opened - with such a lot it closes)
Fixed a bug when using several EAs working with one data file, when using different settings and magic numbers.
DayToExpiration = 0 variable for selecting the expiration date of the pending order when trading on FORTS:
- 0: ORDER_TIME_GTC - No expiration date
- 1: ORDER_TIME_DAY - Expiration of the pending order until the end of the current day
- 2: ORDER_TIME_SPECIFIED_DAY - The number of days for the expiration of the pending order. The starting point from the current day.
If you get a Rejected error and when you hover over the order in the history you see this: (incomplete FOK information of the order), Or you have a BCS broker or Open broker, then you need to install:
TypeFilling = ImmediateOrCancel or TypeFilling = Return
DayToExpiration = 1
-Dynamic Lot Function Algorithm Updated Using RiskLot
-Added RiskRate parameter - the rate of your currency against the dollar.
By default, RiskRate = 0 - means that the adviser will try to find the right course (quotes) in the Market Watch.
In order for the autolot to work adequately with all currency pairs, you need to include "Show all currency pairs" in the Market Watch.
For example binary.com and Volatility 75.
-- PreFixSymbol function updated for some Symbols.
-- Added function Delay_Seconds_General - Delay in seconds between all adviser requests to the server.
In other words: Each request to the server (opening, closing, modification) will be executed with a delay between each other.
For brokers who are forbidden too frequent requests to the server (a very rare event).
If Delay_Seconds_General = 0, then this function does not work.
Attention! For advanced users only.
This unit sets the delay between the opening positions in seconds/points!
Delay_Seconds_ALL = 0; - Delay in seconds between the opening position, take into account all positions (Currency and the direction is not taken into account). 0 - disabled.
Delay_Seconds_Symbols = 0; - Delay in seconds between the open position of one currency is accounted for position 1 Currency (the direction is not taken into account). 0 - disabled.
Delay_Seconds_Type = 0; - Delay in seconds between the open position of one currency and every BUY / SELL positions, position 1 is taken into account currencies. 0 - disabled.
Delay_Points_Symbols= 0; - Delay in points between the open position of one currency is accounted for position 1 Currency (the direction is not taken into account). 0 - disabled.
Delay_Points_Type = 0; - Delay in points between the open position of one currency and every BUY / SELL positions, position 1 is taken into account currencies. 0 - disabled.
Warning: Delay in points can be equal to or greater than the opening price of the previous positions! The value in points - This is the minimum value of the distance from the nearest positions!
Warning: Delay in points is calculated on both sides of the opening price of the position!
Delay_Seconds_Type = 10; Delay opening of positions 1 and symbol in different directions 10 seconds!
Copylot Master EURUSD SELL 0.1 10:01:10 (opening time) Copylot Client EURUSD SELL 0.1 10:01:10 (opening time)
Copylot Master EURUSD SELL 0.1 10:01:11 (opening time) Copylot Client EURUSD SELL 0.1 10:01 20 (opening time)
Copylot Master EURUSD BUY 0.1 10:01:12 (opening time) Copylot Client EURUSD BUY 0.1 10:01:12 (opening time)
Copylot Master EURUSD BUY 0.1 10:01:14 (opening time) Copylot ClientEURUSD BUY 0.1 10:01:22 (opening time)
Copylot Master USDJPY SELL 0.1 10:01:15 (opening time) Copylot Client USDJPY SELL 0.1 10:01:15 (opening time)
Delay_Points_Type = 10; Delay opening of positions 1 and symbol in different directions 10 points!
Copylot Master EURUSD SELL 0.1 1.10800 (opening price) Copylot Client EURUSD SELL 0.1 1.10800 (opening price)
Copylot Master EURUSD SELL 0.1 1.10801 (opening price) Copylot Client EURUSD SELL 0.1 1.10810 (opening price)
Copylot Master EURUSD BUY 0.1 1.10810 (opening price) Copylot Client EURUSD BUY 0.1 1.10810 (opening price)
Copylot Master EURUSD BUY 0.1 1.10808 (opening price) Copylot Client EURUSD BUY 0.1 1.10820 (opening price)
Copylot Master USDJPY SELL 0.1 109.500 (opening price) Copylot Client USDJPY SELL 0.1 109.500 (opening price)
e.g. with ChangingNamesSymbols = "US30 = GER30;"
When you open positions on the US30 master, GER30 will be copied to the client;
When you open positions on the GER30 master, GER30 will be copied to the client;
1. If Trailingstop or breakeven has not yet been activated (the position has no profit), then the stop loss and take profit from the master account are copied.!
2. If Trailingstop or Breakeven has already been activated and the stop loss of the position has been modified to a profitable zone, then copying the stop loss and take profit of this position is disabled and the COPYLOT continues the Trailing stop operation.
Parameters added to Copylot Client MT5:
PendingPrice_adjust = 0; // PendingPrice_adjust -> Adjusting distance for pending order
input string periods5 = "========= TrailingStop options
TrailingStopUSE = false; // TrailingStopUSE -> Enable the TrailingStop function
TrailingStop = 50; // TrailingStop -> Distance trailing stop
TrailingStep = 1; // TrailingStep -> Trailing stop modification step
input string periods8 = "========= BreakEven WithoutLOSS options
BreakEven = false; // BreakEven -> Enable the Breakeven function
LevelWLoss = 0; // LevelWLoss -> Distance from the OpenPrice to the profitable SL
LevelProfit = 0; // LevelProfit -> Number of points gained by the position to use BE
If My_STOPLOSS and / or My_TAKEPROFIT is used.
Beta testing: Added the ability to copy pending orders (PendingOrdersCopy ).
Note: Pending orders can be copied only from an account HEDGE.
Note: PendingOrdersCopy is disabled by default!
If you find an error, please let us know in the discussion section with the attachment of full log files and a description of your actions.
Thank you for understanding.
Optimization of the history of the deals functions to speed up the work of the copyist to reduce the load on computer resources.
Added execution of the algorithm on the tick, if the timer has not been initialized.
- Additional languages added to the panel: Spanish, Portuguese (Brazil), German, Chinese, Japanese;
The translation was made using the GOOGLE Translator + MQL + Terminal site!
if you find an error in your language, please report it in messages. Thank!
- Increase the speed of the panel;
- When copying from MT4 to MT5 and partially closing the position on MT4, the copied position on MT5 will be closed completely !!!
This eliminates the mistake of improperly copying a partially closed position!
Partial closure on the MT5 terminal and COPYLOT is not supported!
- Added the function of copying risk from master to client:
copying formula: lottoclient = (AccountBalance () / BalanceFromMaster) * lotfrommaster * LotExp;
- LotRiskFromMaster - use master account risk
- LotExp - Lot coefficient from the master.
You can set to increase or decrease the risk with the master account.
For example, LotExp = 2 and the wizard opens a lot of 0.1 with a balance of 10,000,
then on a client with a balance of 20,000, a lot of 0.4 is opened (with LotExp = 1, a lot of 0.2 is opened)
1. Fixed the modification of stop loss and take profit on open positions when MARKET is executed on a trading account.
2. Added support for copying to accounts with MARKET execution.
3. Auto-add symbols to the market overview, if this symbol is not selected in the market overview.
4. Forced reading of the history of deals after opening, if the deal was opened with a delay.
5. Added EAPADPRO v21 panel
6. Added hints in external variables.
Modified the algorithm for automatically determining the orders filling type.
If it's tunred on, all files are stored in the commen folder of the terminal
If the PreFixSymbol="Auto" is specified:
If the currency name on the client terminal has a suffix, i.e. EURUSD.m, then the trades will be copied with the suffix ".m"
Added the OnTimer event handler which increases the stability and copying speed.
Fixed changing of the EA settings on the fly. Now the EA settings can be changed on the chart, without the need to restart the EA.
- If it is impossible to open a deal according to the master account, DISABLED_TRADE will be displayed in the comment field - trade is prohibited for the symbol.
- Added automatic detection of the order filling type.