METATRADER TO TRADELOCKER TRADE COPIER - NON API APPROACH
This is the user guide for 'MT4/MT5 to TradeLocker' trade copier
Non API Approach
========
Install 'TradeLocker Bridge' app
1. This bridge app can work without TradeLocker webtrader at browser. However, that will be more desirable that you could keep TradeLocker webtrader opened to monitor copy progress.
2. Unzip 'TradeLockerBridge.zip'
3. Do anything from that *unzipped* folder
4. Modify config.ini file inside that folder
license_key=
input your license key.
e.g.
license_key=taigk97+mttotl@gmail.com
login=
fill in your TradeLocker login credential
its format is
your TradeLocker login email
your TradeLocker login password
DEMO or LIVE
your TradeLocker broker server name (as required to input at TradeLocker webtrader)
your TradeLocker account ID
separate each by comma
e.g.
login=taigk97@gmail.com,YX0%Ip$f,DEMO,SAG-DEMO,333789
See below illustration:
Your TradeLocker account id can be viewed at the left lower corner of TradeLocker webtrader (after login)
This TradeLocker bridge app can support multiple TradeLocker accounts as follower. Just make more line of login= and input other login credential
e.g.
login=taigk97@gmail.com,YX0wxIW$f,DEMO,SAG-DEMO,333789
login=taigk97@yahoo.com,pGewG,DEMO,OSP,531908012
5. Save that config.ini file
6. Start that TradeLockerBridge app
7. After license check, click 'Copy Start' button to start.
8. Wait for "Ready to bridge signal' message come out.
9. If you get any login failure message, correct your credential info at config.ini file and then save it. Click that 'Copy Start' button to reload config file.
10. If you want to hold up copy, just click that 'Copy Start' button again (to stop or resume)
11. This bridge app will handle reconnection logics if TradeLocker server is under maintenance or downtime. It will also output the latest position count of that TradeLocker account at the log panel.
======
Install MT4 or MT5 signal EA.
1. Put “MT4ToTLNonAPI.ex4” or “MT5ToTLNonAPI.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.
======
Below are the other signal ea variable explanations:
- Symbol mapping list
If TradeLocker instrument name is different with MetaTrader's, please input as by this forma:
MT4/MT5's symbol name first, comma, then TradeLocker's, then semi-colon
If your MT4/MT5 symbol name is called USTEC
TradeLocker symbol name is NAS100
set
USTEC,NAS100;
at that 'symbol mapping list' variable
if two pairs, cascade the mapping string
e.g.
BICUSD,BITCOIN;XAUUSD,GOLD;
- 'MetaTrader Symbol Prefix To Be Ignored' and 'MetaTrader Symbol Postfix To Be Ignored'
assume you input prefix en and that MT4/MT5 symbol is enEURUSD, this copier EA will remove the prefix 'en' and convert it as EURUSD before sending to TradeLocker.
assume you input postfix .st and that MT4/MT5 symbol is EURUSD.st, this copier EA will remove the postfix '.st' and convert it as EURUSD before sending to TradeLocker.
- Add Extra Symbol Postfix To TradeLocker
All symbol names will add this common postfix to TradeLocker. For instance, if setting .PRO, EURUSD will be converted as EURUSD.PRO and GBPUSD as GBPUSD.PRO so you don't need to set one by one at 'Symbol Mapping List' variable.
- Lot multiplier list
If you want to multiply the lot value to TradeLocker, for instance, input
EURUSD,10;XAUUSD,2;
If simply input
10
All trade lots at MT4/MT5 will be multiplied by 10.
- Partial close - default is set as true
- TP/SL price copy is *disabled* by default. You could enable if you need this feature.
'No Close Signals If That Dealt Order Has TP/SL Prices' ---> if enabled, this feature is to refrain sending MT4/MT5 position *exit* signal to TradeLocker as TradeLocker trades already have got its own TP/SL. Recommend to keep this false as default.
- Lot mode - default is 'follow MT4/MT5 order lot'; another two options are 'Equity-To-Equity' and 'Fixed Lot'
- Order magic number list - you could assign specific magic number for trade signaling.
For multiple magic, separate each with comma.
For instance, 3413434,1343292
Default is a blank string, i.e. applying on all trades.
Special reminder:
If you put your ea's magic number and want to limit the copy to it, e.g. magic number 3421243
Then MT4/MT5 signal ea will only scan orders with magic number = 3421243
Kindy be aware MT4/MT5 manual order's magic number is 0.
If you want to have that signal ea cover BOTH manual orders and your own ea orders, it should be set like
0,3421243
i.e. include 0 at magic number list
- Applicable symbol list - you could restrict to specific symbol/instruments. Separate each with comma, e.g. EURUSD,XAUUSD,USOIL
Default is a blank string, i.e. applying on all symbols.
- Applicable comment list - you could restrict to specific order comment. Separate each with comma.
- Reverse trade - if setting true, it will reverse the trade signal to TradeLocker.
For instance, a LONG trade will be signaled as a SHORT trade.
Default is false.
- 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 signal EA will keep checking whether MT4/MT5 global variable named
TLNONAPIDISABLE
is 1 or not. If that equals 1, MT4/MT5 signal EA will hold up. It doesn't equal or that global variable is not set, MT4/MT5 signal EA will keep running.
You could self write (or hire a developer) to write an EA or indicator to set value to that global variable with your own control/filter logics.