How to Set Up External Alerts

From MultiCharts
Jump to navigation Jump to search

External alerts are available in MultiCharts 15 Open Beta.

Telegram Alerts

Using Telegram Bot

To send alerts to Telegram, it’s required to connect to the MultiCharts_Alerts bot using Telegram User ID:

  1. In File → Preferences → External Alerts tab click the Get your User ID from the Telegram bot link
  2. On the Telegram web page that will open in your browser click Open
  3. In the MultiCharts_Alerts bot click START
  4. You will receive a message with your User ID for Telegram Alerts
  5. Copy the User ID and paste it in the Telegram User ID field on the External Alerts tab in MultiCharts
  6. Click Test… to send a test message
  7. In the Alerts settings of your study check the Enable Alerts and Telegram Alerts boxes

Using WebHook

  1. It is also possible to send Telegram alerts by creating your own bot:
  2. Create your bot using this guide
  3. Get a Token for you bot
  4. Enable your bot by sending the /Start command
  5. Get your Telegram User ID (see the Using Telegram Bot section)
  6. In File → Preferences → External Alerts → Slack click Add
  7. 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
  8. Click Test to send a test message

Slack Alerts

To send alerts to Slack, it is required to connect using a WebHook URl.

  1. In Slack go to File -> Settings & Administration -> Manage Apps. A Manage Apps web page will open up in your browser.
  2. Go to Custom Integration → Incoming WebHooks → click Add to Slack
  3. Choose or create a new channel and click Add Incoming WebHooks integration
  4. Copy the WebHook URL and paste it in File → Preferences → External Alerts → Slack → Add