CTRADER TO METATRADER TRADE COPIER

 This is the user guide for 'cTrader to MT4/MT5' Trade Copier EA


==========


This trade copier for 'cTrader -> MT4/MT5' consists of two parts:


- Trade copier EA at MT4/MT5

- Trade signal cBot at cTrader



1. Install MT4 or MT5 copier EA. 

Put “cTraderToMT4.ex4” or “cTraderToMT5.ex5” to \MQL4\Experts\ or \MQL5\Experts\ folder. 


At MT4 or MT5, “Menu” → “Tools” → “Options”, at below selection, click “Allow DLL Import” - as this EA needs network authentication for use.


Open any chart and attach this Copier EA to chart. At the first EA variable, please enter your license key.



3. Please remember to enable 'auto trading' at MT4 or MT5.  That button is located at MT4/MT5 tool bar.  MT5 auto trading button is called 'Algo Trading'.  





Please ONLY attach to ONE MT4/MT5 chart and ONE cTrader chart - otherwise copy performance will be degraded.  This copier design can accommodate multiple symbol trades simultaneously.



4. open your computer's 'Documents' folder

go to '\cAlgo\Sources\Robots' path


move 'cTraderSignalBot.algo' file to this 'Robots' folder


Select 'Trade' tab at ctrader (marked in light blue at below screenshot) and then open any chart to attch this signal bot.  Do not select 'automate' tab that is for backtest.






5. At cTrader menu, select "cTraderSignalBot' from cBot list (click that cBot icon as marked in light red at above screenshot)

If you see any bot access popup at first run, please click 'allow' to allow full access.

Enable it (by clicking blue > button) and you will see as below.


Please ONLY attach to one chart.  This signal bot will fetch all trade activities at cTrader side.


6. Back to MT4/MT5 copier EA side.  Below are the detailed setting explanations.  For 90% use scenario, you could use the default setting.

- Copy Group ID String: 

If you have two more MT4/MT5 inside one computer to receive the trade signals from cTrader(s), you could set 'Copy group id string' variable (e.g. ABCD, LONDON, INST) at MT4/MT5 copier EA.  At cTrader side, set the same string texts at cTrader Signal Bot's 'Copy Group ID String' as well.  Then this MT4/MT5 and cTrader will become a specific copy pair.  

- Lot option - 4 options to choose: 'follow cTrader trade lot', 'fixed lot', 'equity-to-equity', 'percent per balance' and 'percent per equity'.  default is 'follow' mode.


4. Lot multiplier list - if you want to multiply the lot value to MatchTrader, for instance, input 

EURUSD,10;XAUUSD,2;

If simply input 

10

All trade lots at MT4/MT5 will be multiplied by 10.


- Symbol map list - 

If cTrader symbol name is different with MetaTrader, please set this variable to convert.

The format is:
MetaTrader symbol name, comma, cTrader symbol name, semi-colon

e.g.
SPX,US500;

if two pairs to convert,
XAUUSD,GOLD;NAS100,USTECH;


- Applicable symbol list - if you want to restrict the trade copy to certain symbols, please add MetaTrader symbol name plus comma.  for instance, XAUUSD,US30,

- 'Copy TP/SL?' - default is false.  if enabled, MT copier ea will copy TP/SL price from cTrader as well as TP/SL modification or trailing.

- 'TP/SL price mode' - there are two options: 'by price distance' and 'by exact price'.  default is 'by price distance' that copier ea will re-calculate TP/SL price distance by MT order actual dealt price.  if 'by exact price' is selected, copier ea will use the exact TP/SL prices of cTrader order.

- 'Copy limit/stop order' - default is false.  if enabled, copier ea will copy limit/stop order.

even it's not enabled by default, copier ea will still place market copy order if cTrader limit/stop order get fulfilled at cTrader side.

- Each order's take profit & stop loss in point - default is zero - that means this feature is disabled.  unit is in point.  This feature is only applicable if 'Copy TP/SL?' variable is set as false.

- Each symbol's take profit & stop loss in $ - default is zero - that means this feature is disabled.  it calculates each symbol's trades profit or loss in $.

- Total take profit & stop loss in $ - default is zero - that means this feature is disabled.  it calculates all trades profit or loss in $.  kindly note all above mentioned profit & loss calculations are limited to the same magic number set at this EA.

- Trailing stop and Breakeven - defaults are disabled.  If enabled, EA will use its profit start and moved point to set.  Trailing stop will keep moving stoploss price if more profits are gained - while Breakeven just moves stoploss price once.

- Partial close is only supported if 'Follow cTrader trade lot' or 'Equity-To-Equity' lot mode is selected.

- Reverse trade - reverse any trade from cTrader.  if enabled, MT4 or MT5 side will place SHORT trade if cTrade has a LONG trade.

- Order magic number - order identification for those trades placed by this copier ea.


- If you have two more cTrader accounts to send trade signals to MT4/MT5, you could set 'Copy Group ID String' variable (e.g. ABCD, LONDON, INST) at MT4/MT5 copier EA.  At cTrader side, set the same string texts at 'Copy Group ID String' variable as well.  Then this MT4/MT5 and cTrader will become a specific copy pair.

----

One signal 'master' can serve multiple copier 'followers'.

If you want to use another cTrader account, that means it will require to set up the second signal 'master'.

1. Start another cTrader.  Just double click cTrader icon that will start another cTrader running instance.

2. Attach that cTrader signal bot on that new cTrader chart

3. Write a string at 'Copy Group ID String' variable (e.g. PARIS) at that cTrader signal bot.

4. at MT4 or MT5, open another MT4 or MT5 or chart.

5. Attach that MT copier ea

6. Input the same string at copier ea's 'Copy Group ID String' variable (e.g. PARIS)

7. Set a different order magic number at copier ea if using the same MT4 or MT5.

If you have third or 4th cTrader account, repeat above steps with different 'Copy Group Id String' at cTrader & MT4 copier side.  And also assign different 'order magic number' at that copier ea.

- As there are great variations of customer custom needs of control or filter requirements, this copier use the alternative approach to accommodate.

If enable "Enable Hold-Up Feature?" variable (default is false), MT4/MT5 copier EA will keep checking whether MT4/MT5 global variable named 

CTMTCOPYDISABLE

is 1 or not.  If that equals 1, MT4/MT5 copier EA will hold up.  It doesn't equal or that global variable is not set, MT4/MT5 copier EA will keep running.



Popular posts from this blog

FREE EVALUATION WITH LIMITED SYMBOLS

TRADE COPIER USER GUIDE LIST

METATRADER TO NINJATRADER TRADE COPIER