Skip to content

Telegram CopyTrades

TradingToolCrypto edited this page Jan 19, 2021 · 3 revisions

Telegram Copy Trades (Trade Copier) Signal Service

This is a stand alone MetaTrader Robot that does all the copy trading functionality on your hosted trading platform. You are in full control and you have to host your MetaTrader platform and also other applications.

Step by Step Guide

  • Get a telegram bot token from the @botfather
  • White list Telegram api within MT5 platform (Tools->Options->Experts-> Webrequest -> https://api.telegram.org
  • Attach Telegram CopyTrades to the chart (any market, any timeframe), Allow Algo Trading within the Common Tab on the Expert Advisor
  • Fill in the parameters within the Input Tab on the Expert Advisor
  • Push the Algo Trading button within the MT5 trading platform (Green Arrow)
  • Create a new Group/Channel Chat and add the telegram bot as ADMIN with Read Message Access.

Enable AlgoTrading

Click button for Green Arrow.
algo trading

MetaTrader Robot Parameters

  • Telegram Token = "Your Telegram Bot Token"
  • BrokerageSuffix = ".lmx" (not required, leave blank if your brokerage does not use them within the market name)
  • RiskPerTrade = 1.55 ( is 1.55% at risk if your position reaches the stoploss) | To disable and use a fixed lot, replace with "0"
  • Lotsize = Enter desired Fixed Lot per signal
  • ID = OrderComment (select any name such as the signal providers name)
  • DEV_DEBUG = true (print information to the Expert Tab within the ToolBox for debugging)

Telegram Token

Make sure you are not using this unique telegram bot token in any other applications. Always create a new Telegram bot for each project or application. When you attach the robot to the chart, you will see your Telegram Bot Name within the Experts Tab. If you see an Error code greater than 0, and you don't see your Telegram Bot Name, then there is an issue. Please double check your telegram bot token and make sure you have white listed the correct URL to the telegram api. Put this access token within the MT5 robot that you get from the botfather.

Brokerage Suffix

If your brokerage has a suffix such as EURUSD.xyz, then place .xyz in the BrokerageSuffix input parameter

RiskPerTrade

If you would like to risk a certain about of your account balance per signal, then this input parameters is for you. A value of 1.0 means you will lose 1% of your account balance if the position reaches the stoploss value indicated in the Signal Channel/Group.

If the Signal provider has 3 take profit values, the Telegram CopyTrades robot will open up three positions with 3 different takeprofit levels with the same stoploss level.

If your signal provider often use 3 takeprofit values, you should consider adjusting the RiskPerTrade value accordingly to the total amount at risk if all 3 positions reach the stoploss value. If you want a fixed lotsize on all the copied signals, insert a value of 0 and the Lotsize value will be used.

Lotsize

Fixed Lotsize for every signal and position that is opened.

ID

A unique comment attached to the open position. This is useful for identifying where the signal came from if you are following more than one signal provider.

DEV DEBUG

If you have issues, turn on the Developer Debugging. This feature will print out all actions taken by the robot for debugging purposes.

Other Useful stuff

If you need your chat channel ID or chat Group ID , watch this video https://www.youtube.com/watch?v=I-qI6jeLIsI

Two telegram bots can not communicate. Forwarding signals from one Telegram bot to your group or channel will not work.

Signal Forwarding

Since you aren't the admin for the provider's telegram group or channel , you will have to forward the signals to your own CHANNEL or GROUP that you control. This is required because you will need to add a telegram bot to the channel/group and make that bot an ADMIN therefore the bot has access to the messages. As new messages are forwarded to your channel , the telegram bot will send these messages to the Telegram Trade Copier for parsing.

Telegram Signal Format

Since the majority of telegram signal providers do not have the same format, you have to format the signal into a format that this Telegram Trade Copier can recognize. Please see the examples below for supported format.

  • Symbol | Can be upper or lowercase or a mix of both
  • Signal | BUY, Buy, buy, SELL, Sell, sell
  • TakeProfit | TP, tp, TAKEPROFIT, TakeProfit, takeprofit
  • StopLoss | SL, sl, STOPLOSS, StopLoss, stoploss

EURUSD
BUY 1.12345
TP 1.23455
SL 1.01234

EURUSD Buy 1.12345
tp 1.23455
sl 1.01234

EURUSD
buy 1.12345
takeprofit 1.23455
stoploss 1.01234

Multiple TakeProfit Values

Telegram Trade Copier handles multiple takeprofit targets by entering several positions on the initial signal and giving each position its own takeprofit value. For example a signal with 3 takeprofit values will place 3 positions on your account and each position will have its own takeprofit value. A signal can have up to 4 TakeProfit values.

EURUSD
BUY 1.12345
TP1 1.23455
TP2 1.34567
TP3 1.45678
TP4 1.56789
SL 1.01234