This article is aimed at illustrating the use of Telegram Bot to place trades based on messages from Private Groups/Channels or Individual message directly from a users telegram account. If you haven’t gone through the basics of Telegram Bot at Trailingcrypto, I would recommend to have a look at this article:
Supported Signal Formats
Above are few of the samples. Many more formats are supported. However there is no guarantee that all signal format will be supported. Please test your desired signal format before using it on live trades.
STEP 1: Create order template
Most common used template is Custom-OSO where a signal contains entry price, profit targets, and stop loss price. Other templates could be Market buy, market Sell, or any of the available order types as per the requirement.
Primary Order – Here in Stop Buy I have entered 0.002 BTC per trade as buy amount. So whenever a new signal is detected bot will buy that signal coin equivalent to 0.002 BTC. I have entered a random stop price which will later be replaced with buy price mentioned in signal. (Stop price should be less than current price for LTE)
Secondary Order – I have selected OCO sell as my secondary order. Click on Auto-Vol at the bottom of form to automatically populate sell volume based on buy volume. Enter some random value in stop loss stop price (less than current price), then enter any random value in take profit stop price (greater than current price). These prices will later be replaced with actual prices from signal.
STEP 2: Configure telegram signal
Trigger Setup – In the primary order click on Triggers button which will open up Trigger configuration form
- Select Trigger type as Telegram
- Enable all Auto detects check boxes as shown in image
- In “Choose Channels” input leave it empty
- In Username input box enter the address of forwarding user account or Channel Id. (More details below)
- Repeat: This denotes how many signals to follow for auto trade.
- TP Quantities: Distribution of quantities in Take profit targets. 50,30,20 means – Sell 50% of total holdings when target 1 is hit, then Sell 30% when target 2 is hit, so on.
STEP 3: Forward Telegram Message/ Signal
This is the most important and a little difficult step. You need to configure the telegram channel or group with which you want to connect Trailingcrypto Signal Bot.
CASE I : You are the admin of telegram channel or group
If you are the admin of entered telegram channel then add @trailingcrypto_signal to your channel. and at the place of username enter your telegram signal channel or group ID. The way to get your channel/group id is forward any random message from your group to this bot – @userinfobot . If you get this message [Id: -1001231108190] then your channel id is 1231108190 obtained by removing -100 from the beginning. If your channel or group is public then no need to identify channel id you can directly enter your public username of group or channel. More
CASE II: You are not the admin of telegram channel or group
If you are not an admin of signal channel or group which you want to configure then you can use third party apps to forward or re-route messages from that channel through your telegram account and at the place of username in input box enter your personal public username. Following are some of the apps you can use to forward messages from private channel or group where you are not the admin.
TForwarder – http://bit.ly/TForwarder , This app works only with android phones. but is best and easiest to setup.
tg_feedbot – https://bit.ly/tg_feedbot , This is a telegram bot and doesn’t require standalone installation.
More apps will be added soon in the list.
Validate & Test your order template configuration by sending a sample signal message manually from your telegram account to our telegram account – @trailingcrypto_signal
signal buy #BNB/BTC
❇️ Buy: 0.00175-0.00174
☑️ Sell Target: 0.00177-0.00178-0.00179
⛔️ Stop Loss: 0.00172
Sample Signal Message to buy and sell BNB using BTC
If you are a telegram admin and looking for any custom solution then message us on our support email