• 概述
  • 评论 (1)
  • 评论 (9)
  • 新特性

Forward Alert To Telegram


The Expert Advisor will help you forward all alert from  MetaTrader 4 to Telegram channel/ group. 

All alert must save to folder <Data folder>MQL4\Files\Alerts\ , text file with format *.txt and screenshot with format *.png.

Parameters

  • Telegram Bot Token - create bot on Telegram and get token.
  • Telegram Chat ID  - input your Telegram user ID,  group / channel ID
  • Forward Alert - default true, to forward alert.
  • Send message as caption of Screenshot - default false, set true to send message below Screenshot .
  • Forward Screenshot - default true, to forward screnshot.


Important Note


- You must allow WebRequest and add the  https://api.telegram.org URL in "Tools" → "Options" → "Expert Advisors".

- Telegram Bot must is member of group or admin of channel.

- Attach it to one chart only.


How to get an Chat ID


- Open the channel/group Info, then Manage, Add Administrators, type the bot username, and click Save

- Send any message to the channel/group like "hello world"

- Open the following URL in a browser: https://api.telegram.org/bot<your bot token>/getUpdates

- Search for the string "chat":{"id": to find a large negative number. This is your chat ID


Notes:


The indicator below is supported to customer to auto create file of alerts, only work with MT4 use English language.

It only work with Forward Alert To Telegram.

Files:








Hai Tran Minh
166
Hai Tran Minh 2020.04.02 11:07 
 

Great . Since buying the products of the author, my work has been much better. running very smoothly

版本 1.1 2020.01.17
Fixed bug about send photo without data.