Business & Investment

How to set Notify MT5 telegram-Other-October 12, 2021

https://www.mql5.com/en/market/product/58686

How to get a chat ID

-Chat with BotFather to create a bot and get the bot’s API token. If you are using a bot, skip the steps.

-Open channel / group information, open[管理],[管理者の追加]Open in the order of, enter the user name of the bot,[保存]Click

-Send a message like “hello world” to a channel / group

-Chat with bot @userinfobot , Then forward the message of the channel to the bot @userinfobot , The bot will reply with your channel ID.

Important notes

-Allow WebRequest, https://api.telegram.org URL of “Tools”-> “Options”-> “Expert Advisor”.

-Telegram Bot must be a member of a group or an administrator of a channel.

-Attach to only one chart.

For custom messages

-download File here , Files folder<データフォルダ> Copy to / MQL5 / Files /

-To add emoji: Search for emoji Get the emoji code ( Unicode column)

-The following are all variables to add to your custom message.

  1. [TICKET] -> Ticket order
  2. [OPENTIME] -> Order reception time
  3. [TYPE] -> Order type
  4. [SIZE] -> Order size, order lot
  5. [SYMBOL] -> Order symbol
  6. [OPENPRICE] -> Order open price
  7. [S/L] -> Order Stop Loss
  8. [S/L-PIPS] -> Order Stop Loss with Pip
  9. [T/P] -> Order Take profit
  10. [T/P-PIPS] -> Order Take profit with pips
  11. [COMMENT] -> Order comment
  12. [CLOSEPRICE] -> Close order price
  13. [CLOSETIME] -> Order end time
  14. [EXPIRATION] -> Order expiration date
  15. [P/L] -> Money profit
  16. [P/L-PIPS] -> Pip profit
  17. [RISKREWARD] -> Order risk reward
  18. [OLD PRICE] -> Old opening price of pending order
  19. [OLD S/L] -> Old order SL price
  20. [OLD T/P] -> Old order take profit price
  21. [ACCOUNT] -> Account number
  22. [BALANCE] -> Vanlance
  23. [EQUITY] -> Equity
  24. [CURRENCY] -> Account currency
  25. [BROKERTIME] -> Broker time
  26. [P/L %] -> Rate of Return = Profit / Vanlance
  27. [P/L-POINT] -> Profit on points

How to set Notify MT5 telegram-Other-October 12, 2021

https://www.mql5.com/en/blogs/post/746236 How to set Notify MT5 telegram-Other-October 12, 2021

Back to top button