+1 888 340 6572

How to Set Up External Alerts: Difference between revisions

From MultiCharts
Line 4: Line 4:


To send alerts to Telegram, it’s required to connect to the MultiCharts_Alerts bot using Telegram User ID:
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  
# 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'''
# On the Telegram web page that will open in your browser click '''Open'''.
# In the MultiCharts_Alerts bot click '''START'''  
# In the MultiCharts_Alerts bot click '''START'''.
# You will receive a message with your User ID for Telegram Alerts
# 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
# 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
# Click '''Test''' to send a test message.
# In the '''Alerts''' settings of your study check the '''Enable Alerts''' and '''Telegram Alerts''' boxes
# In the '''Alerts''' settings of your study check the '''Enable Alerts''' and '''Telegram Alerts''' boxes.


=== Using WebHook ===  
=== Using WebHook ===  
# 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'''.
# Insert a request link using your Token and User ID<br>https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<USER_ID><br>For example: https://api.telegram.org/bot0000000000:AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDD/sendMessage?chat_id=0123454678
# Insert a request link using your Token and User ID<br>https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<USER_ID><br>For example: https://api.telegram.org/bot0000000000:AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDD/sendMessage?chat_id=0123454678
# Click '''Test''' to send a test message
# Click '''Test''' to send a test message.


== Slack Alerts ==
== Slack Alerts ==

Revision as of 15:22, 17 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.