• Overview
  • Reviews
  • Comments
  • What's new

MT4 to Telegram

If you have any questions, don't hesitate to leave comments

ENTRY PARAMETERS :

Bot Token : token from step 5

Chat Id : channel username/id very important to have a channel

send open positions : if you have any open positions currently, it will send it out as opening positions (set true/false)

send modified orders : if you modify an order, to send it as a modify signal (true/false)

send opening orders : if you want to send the opening orders (true/false)

send closing orders : if you want to send closing orders (true/false)

web request timeout : if your connection is very slow you can add some seconds

  1. Open your Telegram APP and search for "BotFather".
  2. Type /newbot to create a new bot.
  3. Give your bot a nickname and username (e.g., nickname: TestingABC and username: TestingABCbot <-- username has to be ended by 'bot').
  4. Great, your Bot is now created
  5. Save your bot API token (e.g. 227330911:AAEWHnT9B9bAARDiKhESwXd7hk-G4nxmEpI) and click t.me/TestingABCbot to chat with it.
  6. Go back to Telegram APP and search your bot,  or use the web telegram : web.telegram.org
  7. Click "START"or type /start and that's it for the bot
  8. Now you need to create a public channel
  9. Add your bot on the channel (in the bot options you have a button "add to a group")
  10. Define the bot as Admin so that the bot  send messages (as on the picture), and get the username of the channel (Chat ID) you have setup (e.g. @testchannel1234)
  11. Back in MetaTrader 4, go to Tools > Options > Expert Advisors > tick 'Allowed WebRequest for listed URL' and add 'https://api.telegram.org'.
  12. Attach the utility into your MetaTrader 4 chart and fill up the Bot Token (from step 5) and Chat ID (from step 10).
  13. SendTelegram utility is ready to send out all your orders (open,modify, close as your choice in the options) to your channel
No reviews
Version 3.0 2018.09.29
Now the demo is working, on the strategy tester every 10 period its going to send out either a modify signal or a open signal or a close signal