+1 888 340 6572

How to Set Up External Alerts: Difference between revisions

From MultiCharts
Line 15: Line 15:
It is also possible to send Telegram alerts by creating your own bot:
It is also possible to send Telegram alerts by creating your own bot:
# Create your bot using [https://core.telegram.org/bots/tutorial this guide].
# Create your bot using [https://core.telegram.org/bots/tutorial this guide].
# Get a Token for you bot.
# Get a '''Token''' for you bot.
# Enable your bot by sending the /Start command.  
# Enable your bot by sending the '''/Start''' command.  
# Get your Telegram User ID (see the Using Telegram Bot section).
# Get your Telegram User ID (see the Using Telegram Bot section).
# In '''File → Preferences → External Alerts → Slack''' click '''Add'''.
# In '''File → Preferences → External Alerts → Slack''' click '''Add'''.

Revision as of 13:41, 18 June 2024

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

It is also possible to send Telegram alerts by creating your own bot:

  1. Create your bot using this guide.
  2. Get a Token for you bot.
  3. Enable your bot by sending the /Start command.
  4. Get your Telegram User ID (see the Using Telegram Bot section).
  5. In File → Preferences → External Alerts → Slack click Add.
  6. 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
  7. 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.