TRADINGVIEW ALERTS TO DXTRADE/MATCHTRADER/TRADELOCKER TRADE COPIER
This is the user guide for 'TradingView Alerts to DxTrade/MatchTrader/TradeLocker' trade copier.
Reminders before using this copier
1. This copier uses Chrome browser to fetch TradingView alert signal and then copies trades on DxTrade/MatchTrader/TradeLocker through API or non API approach. No webtrader is required.
This adhoc approach requires Windows 10 or 11 or Windows Server 2016 or above environment.
2. TradingView strategy uses 'futures' or 'netting' mode, i.e. long position cannot coexit with short position. When receiving a new long or short trade signal, this copier will close any open opposite orders of that symbol to comply with this trading mode.
However, if you prefer 'hedging' mode, i.e. long position can coexist with short position, you could set 'futures_mode' variable as false at config.ini file.
3. DxTrade and TradeLocker API has imposed 'rate limit' restriction. That means any trading request has to keep at least one second apart otherwise it will be rejected by their server. This copier will follow this 'rate limit' restriction and insert one second delay for any consecutive trade copy action to their server. TradeLocker non API approach is not subject to 'rate limit' restriction.
4. API and non API approaches:
DxTrade copy module can accommodate both API and non API approaches.
MatchTrader copy module uses non API approach as nearly all MatchTrader prop firms have blocked API access.
TradeLocker copy module can accommodate both API and non API approaches.
Setup procedures
1. Unzip TVCopier.zip
2. Open config.ini file from unzipped folder
3. fill in your license key at
license_key=
e.g.
license_key=taigk97+tvtomtr@gmail.com
4. Below are the sample for variable inputs of 'Trading Platform Settings' section
DxTrade login sample - please modify per your account credential
platform=dxTrade
login_user_name=pEjqai
login_password=Vn7JY$nn
login_server=https://demo.dx.trade
account_name=cfd_jlgo
login_account_type=
login_broker_id=0symbol_mapping_list=
lot_mode=fixed
lot_fixed_size=0.01
lot_multiplier=1
reverse_trade=false
MatchTrader login sample - please modify per your account credential
platform=MatchTrader
login_user_name=taigk97+MENTcomp@gmail.com
login_password=j4B^+T&j6
login_server=https://mtr.gooeytrade.com/login
account_name=131048
login_account_type=
login_broker_id=1
symbol_mapping_list=
lot_mode=fixed
lot_fixed_size=0.01
lot_multiplier=1
reverse_trade=false
TradeLocker login sample - please modify per your account credential
platform=TradeLocker
login_user_name=taigk97@gmail.com
login_password=YX0%IW$f
login_server=SAG-DEMO
account_name=319080
login_account_type=DEMO
login_broker_id=0
symbol_mapping_list=
lot_mode=fixed
lot_fixed_size=0.01
lot_multiplier=1
reverse_trade=false
variable explanations
platform=
please input DxTrade or MatchTrader or TradeLocker
DxTrade copy module supports both API and non API approaches.
if you want to use DxTrade non API approach,
please input
DxTrade Non API
if you want to use TradeLocker non API approach, input
TradeLocker Non API
Your purchased license key will enable which trading platform module to be executed at this copier app.
login_user_name=
this is the first input field of trading webtrader login page. It used to be email address at MatchTrader and TradeLocker assigned by your prop firm.
login_password=
this is the second input field of trading webtrader login page.
login_server=
For DxTrade and MatchTrader, it's the webtrader login url, e.g. https://mtr.gooeytrade.com/login
For TradeLocker, this is the third input field of its webtrader login page, e.g. FPIPS, SAG-DEMO
account_name=
please specify what accounts you want to copy, e.g. 341234
DxTrade and MatchTrader account name are shown at webtrader top menu bar. that used to be numeric value.
tradelocker account name is shown at webtrader left lower corner (need to click that user profile icon to see)
for DxTrade non api approach, it only supports one account. please also switch to that account at DxTrade webtrader trade panel.
login_account_type=
this is only applicable to TradeLocker. input either DEMO or LIVE
login_broker_id=
this is only applicable to MatchTrader. To check broker id, at MatchTrader prop firm webtrade login page, right click and then select 'view source page' and search (i.e. CTRL+F) 'brokerId. That value next to brokerId test is its broker id.
below are broker ids of popular MatchTrader prop firms:
The5ers: 1
Maven Markets: 117
FundingPips: 1
E8 Markets: 2
MyFundedFx: 1
GoatFunded: 1
SurgeTrader: 1
TopOneTrader: 140
FundedTradingPlus: 1
BlueGuardian: 1
GooeyTrade: 1
symbol_mapping_list=
if your Tradingview symbol is different with those three trading platforms, follow below format
Tradingview symbol name, comma, copy platform symbol name, semi-colon
e.g.
ES1!,SPX;
or more pairs
ES1!,SPX;MYM1!,US30;
lot_mode=fixed
lot_fixed_size=0.01
lot_multiplier=1
default is fixed. copier will use the 'lot_fixed_size' as copy order lot.
if set to follow, copier will parse tradingview alert text if containing tv_lot_text_tag variable value
reverse_trade=false
default is *not* to reverse TradingView trading signal. if set to true, all signals will be reversed (i.e. long to be short, vice versa)
- launch TVCopier app from unzipped folder.
click 'TradingView' button to launch a new session of Chrome. Input your TradingView login credential at that Chrome
- if you uses Gmail email as TradingView login account, please login at 'email' section other than Google section
- keep one TradingView chart open. Enable one alert for test.
- click 'Target Start' button to login your target trading platform.
- if any change on config.ini (except license key change that requires to restart TVCopier app), please save it and then click 'Target Start' button to stop and click it again to reload.
- if you have multiple account/platform to copy, please duplicate above variable with different login credential at config.ini and then save and click 'Target Start' button again.
- below variables are for TradingView alert signal parsing:
=== Variables for Signal Conversion ===
long_keywords=buy,long,up,bullish,bull
if any keyword is included at TradingView alert text, it will be treated as NEW LONG signal. Modify it or add with comma separator
short_keywords=sell,short,down,bearish,bear
if any keyword is included, it will be treated as NEW SHORT signal.
exclude_trade_keywords=close,exit
if any exclude keyword is included, it won't be treated as new trade signal.
close_long_keywords=closebuy,closelong,close buy,buy close,close long,long close,exit buy,buy exit,exit long,long exit
if any keyword is included, it will be treated as CLOSE LONG signal.
close_short_keywords=closesell,closeshort,close sell,sell close,close short,short close,exit sell,sell exit,exit short,short exit
if any keyword is included, it will be treated as CLOSE SHORT signal.
close_all_keywords=close,exit
if any keyword is included, it will be treated as CLOSE ALL signal. The priority of match sequence is lower than previous two.
futures_mode=true
as explained at the start section of this user guide
tv_lot_text_tag=Lot:
if lot_mode set to follow, copier will parse out the lot value with this header text
e.g.
BUY, Lot: 0.02
0.02 will be parsed
tv_tp_text_tag=TP:
e.g.
BUY TP: 0.23121
0.23121 will be parsed out as TP price
tv_sl_text_tag=SL:
e.g.
SELL SL: 1.12231
1.12231 will be parsed out as SL price
* if any change on config.ini, please save it and click 'Target Start' button to stop and click it again to reload.
=====
Special work around for MatchTrader platform if you can get login success at initial uses but encounter 'login failure' issue at later days:
1. The current web protection schemes deployed by MatchTrader is user computer/VPS dependent. Some users might experience more stricter web protection and encounter unexpected login failure.
2. Follow this ad-hoc workaround.
3. At config.ini file, add one more line below license_key=xxxxxx line
Assume your MatchTrader prop firm login url is https://mtr.gooeytrade.com/login
input below line (i.e. replace with www and add /favicon.ico)
url=https://www.gooeytrade.com/login/favicon.ico
If you have multiple prop firms to copy, add more lines url=xxxxxx
4. Save that config.ini file
5. Restart that TVCopier app. A special session of Chrome will be opened. Just keep there and ignore any error messages at webpage display. If it asks for any human interaction, please click that interaction icon. That browser will be auto closed when that copier app is closed.
6. After license check, click 'Target Start' button and check if it can login now.