MT5 to Telegram Informer
- Yardımcı programlar
- Sürüm: 2.53
- Güncellendi: 26 Kasım 2026
- Etkinleştirmeler: 10
MT5 to Telegram Signal Provider — Real-Time Trade Notifications for MetaTrader 5
The trades on your account as formatted messages in your Telegram chats and channels: openings, closings and pending orders the moment they happen, SL/TP changes after a short cooldown.
OVERVIEW
MT5 to Telegram Signal Provider is a utility Expert Advisor for MetaTrader 5 that automatically sends trade notifications to one or more Telegram chats or channels. Trade events on the account are captured and delivered as formatted messages.
The EA runs on any chart and monitors the entire account, not only the symbol of the chart it is attached to. It does not place, modify or close any orders. Its sole function is to observe trade events and report them to Telegram, so it runs alongside manual trading and any other Expert Advisor without interfering.
Notifications go to up to three Telegram destinations at the same time, so a private chat, a public channel and a subscriber group can receive the same feed. Symbol, magic number and comment filters decide which trade messages are sent, and several instances on different charts can route different instruments to different channels.
FEATURES
Real-time trade notifications
Reports market orders opened and closed, partial closes, close by, SL/TP modifications, and pending orders placed, filled and cancelled. Messages on opened, closed and pending orders leave the terminal the moment the event occurs, SL/TP changes after a short cooldown of 60 seconds by default, so your followers see the trade while it is still relevant.
Covered events
Reported events cover a market order opened as buy or sell, a market order fully closed with its net result in account currency (and the gross result where it differs), a market order partially closed showing the closed volume next to the remaining open volume, and close by, where a position is closed against an opposite position. Stop Loss and Take Profit changes on any open position are reported as well.
On the pending side the EA covers placement of buy and sell limit, buy and sell stop and buy and sell stop limit orders, the moment a pending order is triggered and filled, and cancellation. The optional daily summary report at a configurable hour and the EA started and stopped messages, the latter including the reason for the stop, complete the list.
Multi-channel support
Notifications can be sent to up to three Telegram chats or channels simultaneously. Ideal for distributing signals to multiple subscriber groups without running a second copy of the EA.
Rich message content
Open messages contain symbol, direction, lot size, entry price, stop loss, take profit, ticket number, comment and time, and pending order messages the same for the order, with stop loss and take profit where set. Close messages show symbol, direction, volume, open and close price, the result in points, the net profit after commission, deal fees and swap, the gross profit as pure price movement whenever it differs from the net, ticket number, comment and time. SL/TP modification messages show symbol, direction, ticket number, the new stop loss and take profit, and the comment. Partial close messages show the closed volume alongside the remaining open volume. When a position is closed in several parts, its opening commission is counted exactly once, with the first part, and later messages say so [improved in v2.53]. A position opened in several fills includes the commission of every fill; on a netting account, volume added after a partial close carries its commission into the next close.
Modify cooldown timer
SL/TP modification events are buffered per position. Only one message is sent per configurable interval, 60 seconds by default, regardless of how many changes arrive during that period, and it carries the latest values. This is what keeps a trailing stop that fires on every tick from flooding your channel. Set Ev_ModifyDelay to 0 for instant delivery.
HTML-formatted messages
Messages use HTML formatting with bold field labels for clear readability. A separator line appears at the top and bottom of each message. An optional account info line shows account number and balance, with current equity available alongside it.
Chart screenshot delivery
Optionally captures a screenshot of the chart the EA is attached to and sends it with each trade open, close or pending fill notification. Width, height and an additional caption text are configurable, and the EA falls back automatically from sendPhoto to sendDocument for maximum compatibility with Telegram groups and channels. By default the local image file is deleted after sending.
Daily summary report
Sends an automated daily performance summary shortly after a configurable hour of server time. Each report covers the time since the previous one, normally the 24 hours up to the report hour, and states that period, so a trade closed after the report hour is counted in the next one. The report goes out five minutes after the hour at the earliest, and after a restart or a lost connection only once the terminal has been connected to the trade server for five minutes, so that trades closed just before the hour, or on the server while the terminal was offline, are in the terminal's history by then; a trade that reaches the history only after that is not counted in any report. A report that cannot go out at its hour, because the terminal was closed or no prices arrived over a weekend, follows once the EA sees a later server time and covers a gap of up to four weeks. It includes total trades, winners and losers, win rate, P&L and the current account balance, and it covers the whole account, independent of the symbol, magic number and comment filters.
Net or gross is your choice through Rep_UseNetPnL, and the report names the basis it used [new in v2.53]. Net counts profit, swap, commission and the deal fees some brokers charge per deal, from both the opening and the closing deal; gross reports the profit booked on the close, before swap, commission and fees. Both commission sides are summed rather than one being assumed, so brokers charging on entry, on exit or split across both are handled correctly without configuration. A position closed in several parts is charged its opening cost exactly once, and a position filled in several parts counts every fill.
Close-by trades are included in the summary [improved in v2.53]. Closing two opposite positions against each other is routine on a hedge account, and those deals carry a different marker in MT5 — previously the close notification announced them while the daily figures left them out.
Symbol and magic number filters
Restrict monitoring to specific symbols, block individual symbols, report a single magic number only, or report only trades whose comment contains a given text. Run multiple instances on different charts to route different instruments to separate Telegram channels.
Connection monitoring
The Telegram connection is verified every five minutes, also when no prices arrive, and one minute after a failed start. A status label on the chart shows the result of the latest check; if the connection fails, the Experts tab names the reason: WebRequest not allowed, bot token rejected, a network error or Telegram's own message. Start and stop messages are sent automatically when the EA is attached or removed, the start message carrying account, broker, balance and chart, the stop message carrying the reason.
UTF-8 encoding
All message text is encoded in UTF-8 before transmission, so characters, symbols and emojis render correctly in Telegram. Trade comments, symbol names and the provider name may contain any characters, including <, >, & and emojis, without the message being rejected.
PARAMETERS
Only TG_BotToken and TG_ChatID1 are required. Everything else is optional and ships with working defaults.
Telegram configuration. The bot token obtained from BotFather goes into TG_BotToken, the primary chat or channel ID into TG_ChatID1. TG_ChatID2 and TG_ChatID3 are optional and add a second and third destination, all three receiving the same notifications. Each message is sent once to every destination; a destination that cannot be reached at that moment does not receive it later. The daily report is sent again only if no destination accepted it.
Message events. Individual switches turn each notification type on or off: Ev_OnOpen for opened market orders, Ev_OnClose for full closes, partial closes and close by, Ev_OnModify for SL and TP changes, and Ev_OnPendingSet, Ev_OnPendingFill and Ev_OnPendingCancel for the pending order lifecycle. All of them are enabled by default. Ev_ModifyDelay sets the cooldown in seconds between modification messages per position and defaults to 60, with 0 delivering instantly. Ev_DailyReport is disabled by default and switches on the daily summary, while Ev_ReportHour sets the hour of day in server time, from 0 to 23, up to which it counts and shortly after which it is sent, 20 by default; with 0, a report normally covers the previous calendar day. Rep_UseNetPnL sets the basis of the report figures: net including swap, deal fees and both commission sides by default, gross when set to false. The end of the last report is kept in a global variable of the terminal, so the next report continues from it after a restart. MetaTrader 5 deletes a global variable four weeks after its last use, so if the daily report does not run for more than four weeks, or the variable is deleted by hand, the next report starts at the latest report hour and trades closed in between appear in no report.
Filters. F_AllowedSymbols takes a comma-separated list of symbols to monitor, for example XAUUSD,EURUSD, and reports every symbol when left empty. F_BlockedSymbols is the counterpart and lists symbols to ignore. F_MagicNumber restricts trade messages to one magic number, where 0 stands for trades without one, usually manual trades, and reports all trades at its default of -1. F_Comment reports only trades whose comment contains the given text and reports all trades when empty.
Message format. Fmt_ProviderName is the name shown at the top of every notification and defaults to MY SIGNALS. Fmt_ShowAccount appends account number and currency to each message and always shows the balance while enabled. Fmt_ShowEquity adds the current equity next to the balance and is only used when Fmt_ShowAccount is enabled. Fmt_ShowPips includes the result in points in close messages, in pips on symbols quoted with 3 or 5 decimals, such as most Forex pairs, and as price difference on all others, and Fmt_UseEmojis switches between coloured circle indicators for trade direction and plain BUY and SELL text labels.
Chart screenshot. Sc_Send is disabled by default and sends a screenshot of the chart the EA is attached to with each open, close or pending fill notification. Sc_Width and Sc_Height set the image size in pixels, 800 by 500 by default. Sc_Caption adds its text to the default caption of provider name and symbol, and Sc_DeleteAfterSend, enabled by default, removes the local file after sending, also when the upload failed.
Connection. Conn_Timeout is the maximum wait in milliseconds for a Telegram API response and defaults to 10000. Conn_ShowStatus displays the connection status label on the chart, Conn_StartMsg sends the startup message on initialisation including account, broker, balance and chart, and Conn_StopMsg sends the stop message when the EA is removed or the terminal closes, including the stop reason.
INSTALLATION
Install the EA from inside the MetaTrader 5 terminal you want to run it on: log in under Tools, Options, Community with the MQL5 account you bought or rented it with, then open the Market in that terminal and install the EA from your purchases. It then appears in the Navigator.
In MT5 open Tools, Options, Expert Advisors, enable "Allow WebRequest for listed URL" and add the address api.telegram.org with https:// in front of it, written without spaces.
Create a Telegram bot by starting a conversation with BotFather and sending the /newbot command, then copy the token it returns. For a private chat, retrieve your chat ID from userinfobot. For a channel, add the bot as an administrator with permission to post messages. A public channel can use its username, for example @mysignals, as the chat ID; a private channel has no username and needs its numeric ID, which starts with -100, for example -1001234567890.
Drag the EA onto any chart, enter the token in TG_BotToken and the chat ID in TG_ChatID1, enable "Allow Algo Trading" in the EA properties and confirm with OK. A green status label appears on the chart and a startup message is sent to Telegram. If the label is red, the Experts tab names the reason. From there, configure which events to report and which symbols or magic numbers to filter.
Algo Trading must also be active in the terminal itself, through the toolbar button or Ctrl+E. Keep in mind that the EA monitors all positions on the account, not only those on the chart it is attached to, that multiple instances can run at the same time on different charts to route symbols to separate channels, and that the EA does not trade: it has no effect on open positions, pending orders or account funds.
COMPATIBILITY
MetaTrader 5 from build 3000, written in MQL5. All instruments are supported, including Forex, metals such as XAU and XAG, indices, crypto, energy and CFDs, on all timeframes. Demo and live accounts work alike, hedging and netting alike, with one exception on netting accounts: a reversal in a single deal, from long to short or back, sends no trade message, while the daily summary includes its result. Algo Trading must be enabled in the terminal and in the EA properties. A one-month rental is available alongside the full purchase.
Version 2.53 | fi.con Investment Group | MQL5 Marketplace
