User guide on setting up the MT4/MT5 for Telegram Signal

User guide on setting up the MT4/MT5 for Telegram Signal

14 February 2024, 20:43
Sergey Batudayev
1
340

This is a user guide on setting up the MT4/MT5 for Telegram Signal 

🔵 MT4 Available here: https://www.mql5.com/en/market/product/108118

🟡 MT5 Available here:  https://www.mql5.com/en/market/product/107674




Installation

Telegram bot

Create a Telegram bot that sends messages from the MT4/5 to the chat, channel or group.


Set Up Telegram Bot

  • Go to telegram and search for @BotFather
  • Send /newbot and follow the instructions wich are given by the BothFather
  • Chose a name and username for your bot
  • You'll get the token for your bot (Use this token to access the HTTP API)

    Refer to the image below
    create telegram bot
  • Add your newly created bot to the group/channel and make it an admin.
    Group Info --> Manage Group --> Administrations --> ADD ADMINISTRATOR --> Your Bot --> Save

  • Load MT4 to Telegram Signal Provider EA on a chart in your MT4 terminal
  • On the inputs, paste the token you got from BotFather
  • DO NOT press “OK” yet as you need to insert the Chat ID first


Chat ID

There are 2 ways to get a Chat ID: automatic through a telegram bot and manual, let’s consider both options.

Aautomatic method

In the telegram search, enter - username_to_id_bot

Next, just click on the channel or chat button and the bot will send you your Chat ID

We paste the received Chat ID into MT4/5, congratulations, you have set up a bot!


Manual method

  • Write any message in the group/channel (like "Test"). This message is needed to get the group/channel ID.
  • Replace the <Token> part in the following URL with the Token you got from BotFather.
    https://api.telegram.org/bot<token>/getUpdates
  • Open the URL in your browser. If on the new page is only: {"ok":true, "result":[]} Send a new message to the group/channel and update your browser tab.
  • Search for the part "chat":{id": and copy the ID. The ID should look something like this: -1001331311918  or this: 505931706.

chat_id



    ⚠️ ⚠️ ⚠️ Allow WebRequest ⚠️ ⚠️ ⚠️

    Open your MT4/5 Terminal and go to "Tools" --> "Options" --> "Expert Advisors"
    Turn on the "Allow WebRequest for listed URL:" bracket and add the following URL:
    https://api.telegram.org

    EA_options_out2

    Your MT4 to Telegram Signal Provider is now ready to use!
    In the User Interface, you can customize all the messages.


    Panel for sending messages and pictures



    Our panel has a very cool ability to send messages directly from MT4 to Telegram.

    You can also use emoticons other than those displayed on the panel.

    To do this, take the code of any emoticon from this site quackit.com and you can use it in the panel along with the text

    Telegram Сhannel for Send test messege

    You can use this channel https://t.me/mt4_for_telegram_signals  for understand how will be look your messege.  


    Ability to create different subscription levels for your signals (GOLD, PLATINUM, STANDART etc.)


    The utility has the ability to filter the sending of signals:


    • by trading symbol which ones to send
    • which couples not to send
    • trades with which magician to send (suitable for filtering trades of which advisor to use)
    • transactions with which magician should not be sent?
    • filter by comment, send orders only that contain a specific comment


    What functions are responsible for what



    Settings

    EA inputs



    The first part contains the token and chat ID, which we have already filled in in the previous chapter.
    Next are the settings:

    Delay time for send new deal - the setting allows you to set a delay in seconds after opening an order, this allows you to change the order values ​​before sending, and this setting also helps in case there is a problem with sending a screenshot (namely, it happens that the terminal takes a long time to generate a screenshot and the terminal does not manages to send it along with the message) for these 2 cases you can use a delay, it can also be used for options for different subscriptions, for example, sending to platinum is faster than to standard.

    Not Message Closed if lose more - Уникальный параметр позволяющий не отправлять сигналы о закрытии сделок убыток которых превышает указанный % если 0 то выключена 

    SETTING USERS MESSAGE - настройки позволяют задать ваше собственный текст сообщения вверху сообщения и внизу сообщения.

    Hyper link text - Возможность задания текста для ссылки.
    Link - весьма уникальная возможность которая многим понравиться, возможность задать ссылку причем вы можете вшить ее в текст с помощью предыдущей настройки  Hyper link text.

    VIEW SETTING FOR FORMAT DEFAUL

    Highlight all main text - You can highlight the main information like this либо or leave it without such highlighting as plain text


    Highlight main text in close message  - highlighting the main information in the message about closing an order; if false, it will be disabled.

    ***** SCREENSHOT SETTING *****

    Delay after applying template - the delay after using the template is made so that the template is loaded more correctly

    Screenshot TimeFrames for Close orders - selecting a TF for a closing order, in order for the specified one to be used, it is necessary that Screenshot TimeFrames AUTO for Close orders = false


    Indicate loss,profit_on chart - display the profit zone/loss zone on the chart, to turn it off, set it to false


    Screenshot Timeout  - is installed for more correct sending of screenshots.

    ***** REPORT SETTING ***** 

    Report users lower text - Text that can be written at the bottom of the trading report.

    Show with 0 orders - on/off displaying reports with 0 number of orders.

    Procent of Balance for calculate BreakEven - set the percentage of the balance by which it will be considered whether the order was closed at breakeven or not.

     - User Interface

    Reporting

    Вы в любой момент можете с помощью кнопок отослать Дневной/ Недельный/ Месячный торговый отчет.


    The panel also has unique functions - you can send a message directly to a channel from MT4/MT5 by attaching your picture (it should be saved in the MQL4/5/Files/TG folder)

    You can attach emoticons to the message that are already in the panel or any emoticon code taken from this site quackit.com


    Options Settings  

    Every Menu has its own customizable message.

    1. General settings for the EA
    2. Message settings when a new order is placed
    3. Message settings when an order is closed
    4. Message settings if partial profits are taken
    5. Message settings if an order is modified
    6. Message settings if a pending order activates
    7. Message settings report message
    8. Send different test messages
    9. Button for saving sets that you have set in the panel

    General settings

    1. Allows sending messages to Telegram

    2. Set the GMT offset, is set to set the time for sending reports.

    3.Profit percentage to qualify a transaction as break-even (% no-loss zone). 

              For example, if it's set to 0.02% then every trade in the range from -0.02% to +0.02% is counted as breakeven. If the trade makes a profit of 0.03% it's a winning trade.

    4. Number of profit points to count a transaction as break-even.

    5. Setting the screenshot width

    6. Setting the screenshot height

    7. Selecting a screenshot that will be superimposed on the graph when creating a screenshot; you can use any standard one or your own.


    New Order

    Allows you to customize the message sent when a new order is placed (the setting works for both market and pending orders)

    new order sett

    Also, in addition to the properties, it is possible to specify your own lower and upper text, as well as link text, and indicate the link itself in the program properties for more convenient visualization and customization in the program properties.

    1. Allows sending new order message to Telegram
    2. Allows sending a screenshot of the chart on wich the new order is placed
    3. Select the period on wich the screenshot will be taken from
    4. Enables display the trading lot with which the transaction was opened
    5. Enables display Stop Loss with which the transaction was opened
    6. Enables display of Stop Loss in points
    7. Enables display Take Profit with which the transaction was opened
    8. Enables display of Take Profit in points
    9. Enables display Ratio
    10. Enables display Balace of deposit
    11. Includes display of potential loss from a trade
    12. Includes display of potential profit from a transaction
    13. Enables display free margin
    14. Enables display margin level
    15. Enables display comment to the order
    16. Enables display order number magic


    This is a user guide on setting up the MT4/MT5 for Telegram Signal 

    🔵 MT4 Available here: https://www.mql5.com/en/market/product/108118

    🟡 MT5 Available here:  https://www.mql5.com/en/market/product/107674


    The MT4/MT5 for Telegram Signal  is an easy-to-use, fully customizable utility that enables the sending of signals to Telegram, transforming your account into a signal provider. The format of the messages is fully customizable, for simple usage, you can also opt for a predefined template and enable or disable specific parts of the message.

    A VPS (Virtual Private Server) is recommended to guarantee a consistent 24/7 signal service.



    Share it with friends: