Telegram Integration
Keep linked to your buying and selling terminal wherever you’re. AstroTrade makes use of the Telegram Bot API to ship real-time alerts for executions, margin warnings, and each day summaries on to your telephone.
Step 1: Create Your Bot through @BotFather
Step one is to create a singular bot on Telegram to deal with the transmissions
- Open Telegram and seek for @BotFather. That is the official bot for creating different bots.
- Begin a chat with BotFather and ship the command:
/newbot
- Comply with the prompts: Give your bot a Identify (e.g., MyAstroTradeBot) and a Username (should finish in “bot”, e.g., trader_astro_x_bot).
- BotFather will give you an API Token. It appears to be like like this:
123456789:ABCDefGhIJKlmNoPQRstuVWXyz
Copy this token; you’ll paste it into the AstroTrade settings.
Step 2: Get Your Chat ID
AstroTrade must know the place to ship the messages. That is your numeric Chat ID.
Seek for @userinfobot on Telegram and begin it. It’s going to instantly reply along with your distinctive ID quantity.
Step 3: Configuration in MT5
Open the Telegram Panel in AstroTrade and enter your retrieved knowledge:
- Bot Token: Paste the token from BotFather.
- Chat ID: Enter the numeric ID from userinfobot.
- Enable DLL: Guarantee “Enable DLL imports” is checked in MT5 Knowledgeable settings (Instruments > Choices > Knowledgeable Advisors).
CRITICAL:
For MetaTrader to speak with Telegram, you have to add the Telegram API URL to your allowed checklist:
- In MT5, go to Instruments > Choices > Knowledgeable Advisors.
- Test “Enable WebRequest for listed URL”.
Click on the Check Connection button within the panel. If configured appropriately, your telephone ought to obtain a “Connection Profitable” message immediately!