How to Set Up External Alerts
From MultiCharts
Telegram Alerts
Using Telegram Bot
To send alerts to Telegram, it’s required to connect to the MultiCharts_Alerts bot using Telegram User ID:
- In File → Preferences → External Alerts tab click the Get your User ID from the Telegram bot link.
- On the Telegram web page that will open in your browser click Open.
- In the MultiCharts_Alerts bot click START.
- You will receive a message with your User ID for Telegram Alerts.
- Copy the User ID and paste it in the Telegram User ID field on the External Alerts tab in MultiCharts.
- Click Test to send a test message.
- In the Alerts settings of your study check the Enable Alerts and Telegram Alerts boxes.
Using WebHook
It is also possible to send Telegram alerts by creating your own bot:
- Create your bot using this guide.
- Get a Token for you bot.
- Enable your bot by sending the /Start command.
- Get your Telegram User ID (see the Using Telegram Bot section).
- In File → Preferences → External Alerts → Slack click Add.
- Insert a request link using your Token and User ID
https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<USER_ID>
For example: https://api.telegram.org/bot0000000000:AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDD/sendMessage?chat_id=0123454678 - Click Test to send a test message.
Slack Alerts
To send alerts to Slack, it is required to connect using a WebHook URL.
- In Slack go to File → Settings & Administration → Manage Apps. A Manage Apps web page will open up in your browser.
- Go to Custom Integration → Incoming WebHooks → click Add to Slack.
- Choose or create a new channel and click Add Incoming WebHooks integration.
- Copy the WebHook URL and paste it in File → Preferences → External Alerts → Slack → Add.