Haven MT5 to Telegram
- Utilities
-
Maksim Tarutin
🔷 MQL5 Developer | Haven
------------------------------------------------------------
I develop trading tools for MetaTrader 5, including indicators, utilities, and Expert Advisors.
My main areas of interest are market structure, liquidity, price action, volatility, and systematic trading. - Version: 20.0
- Updated: 28 September 2026
- Activations: 10
Haven MT5 to Telegram 2.0 — Publish MT5 Trades to Telegram
Haven MT5 to Telegram is a utility for automatically publishing MetaTrader 5 trading events to Telegram.
It tracks position openings and closings, Stop Loss and Take Profit changes, partial closes, and pending order events. Messages can also include chart screenshots, Trade ID, and trade results.
User Guide | My other products -> HERE.
What's New in Haven MT5 to Telegram 2.0
Version 2.0 introduces a new interface and a redesigned trading event publishing system.
-
SIMPLE Mode
Essential settings are collected on one screen. Here you can verify your Telegram connection, enable or disable the main notification types, screenshots, and choose how the initial signal should be published. -
ADVANCED Mode
The extended interface contains dedicated sections for publishing, appearance, reports, and diagnostics. SIMPLE and ADVANCED use the same settings. -
Complete Trade Lifecycle
Haven can publish market entries, SL/TP changes, Break Even events, partial closes, full closes, and the main pending order events. -
Wait for SL Before the Initial Message
New entries can use Immediately, Fixed Delay, or Wait for SL modes. This allows Haven to wait for the protective level and publish Entry, SL, and TP together in the initial message. Waiting is always limited by a configurable timeout. -
STANDARD and CUSTOM TEMPLATES
STANDARD provides ready-to-use message formatting. CUSTOM TEMPLATES allows you to use your own HTML templates or TXT files for Pending, Open, and Close messages.
Trade Notifications
Haven monitors trading events directly in MT5 and creates messages according to the current settings.
- Market Entry — opening a new position.
- SL / TP Change — Stop Loss or Take Profit modification.
- Break Even — moving the protective level to the entry-price area.
- Partial Close — partial position close.
- Full Close — final position close.
- Pending Created — creation of a pending order.
- Pending Modified — modification of pending order parameters.
- Pending Activated — activation of a pending order.
- Pending Cancelled / Expired — cancellation or expiration of a pending order.
Trading events use a stable Trade ID, helping distinguish individual trades on the same instrument.
STANDARD Messages
In STANDARD mode, the user does not need to edit HTML. Haven automatically creates the message structure.
You can choose which fields are displayed:
- Symbol
- Direction
- Entry / Exit
- Stop Loss
- Take Profit
- Trade ID
- Duration
- Close Reason
- Volume
- Money P/L
- Ticket
Optional fields such as Volume, Money P/L, and Ticket can be disabled if you do not want to publish them.
Chart Screenshots
Haven can automatically attach a chart screenshot to supported trading messages.
-
Controlled Framing
Before creating a screenshot, Haven prepares the chart scale and visible area according to the event time and trading levels. -
Trading Levels
The screenshot can display Entry, Exit, Stop Loss, and Take Profit. For closed trades, the actual range between entry and exit can also be displayed. -
Watermark
You can add a text watermark or @username to the screenshot. Text, size, and position can be configured. The color is selected according to the chart background. -
Hide Panel
The Haven panel can be temporarily hidden while the screenshot is being created and restored after the capture is complete.
Reports and Open Positions
Haven includes a dedicated reports section.
- Daily Trading Report — daily report sent manually or automatically according to broker server time.
- Weekly Trading Report — manual report from the beginning of the current week.
- Open Positions — sends a list of currently open positions.
V2 reports count fully completed trading segments. A partial close is included in the final result of the corresponding trade and does not increase the number of Trades as a separate completed trade.
Reports can include:
- Trades
- Wins / Losses / Breakeven
- Win Rate
- Gross P/L
- Trading Costs
- Net P/L
Trading Costs include available commissions, fees, and swap from MT5 history.
Technical Features
| Multi-Symbol | The utility can monitor trades across all account symbols while running on a single chart. If required, monitoring can be limited to the current chart symbol. |
| Magic Filter | You can monitor all trades or limit publishing to a specified Magic Number. |
| Persistent Queue | Messages are processed through a persistent delivery queue. Queue state and confirmed Telegram messages are restored after MT5 restarts. |
| Retry | If a temporary connection error occurs, Haven keeps the delivery task and retries it according to the internal queue logic. |
| Telegram Diagnostics | The panel displays the status of Telegram, Bot, Destination, delivery queue, and delivery errors. |
| Test Message | You can verify the Telegram connection and separately send test versions of trading messages without opening a real trade. |
| Economic Calendar | Telegram notifications for high-impact events from the MT5 Economic Calendar can also be enabled. |
| No DLL | No external DLLs are required for the utility to operate. |
SIMPLE Interface
SIMPLE mode is designed for quick setup. Telegram status and the essential publishing settings are displayed on a single screen:
- Market Entry
- Trade Close
- SL / TP Updates
- Pending Orders
- Screenshots
- Initial Signal
If you do not need additional configuration, you can keep the default settings after connecting Telegram and start using the utility.
ADVANCED Interface
ADVANCED mode provides access to the complete Haven interface:
- Overview — connection and queue status.
- Publish — trade notification types, message format, and Initial Signal settings.
- Style — screenshot and Watermark settings.
- Reports — Daily / Weekly Reports, Open Positions, and Economic Calendar notifications.
- System — Telegram and delivery diagnostics.
Connecting Telegram
Step 1: Create a Telegram Bot
- Open Telegram and find the official BotFather bot.
- Create a new bot using the /newbot command.
- Choose a name and username.
- BotFather will provide a Bot Token. Save it.
Step 2: Prepare the Destination
Haven can send messages to a personal chat, group, or channel accessible to your Telegram Bot.
For a channel, add the bot as an administrator with permission to publish messages and obtain the corresponding Chat ID.
Step 3: Configure MT5
- Open Tools -> Options -> Expert Advisors.
- Enable Allow WebRequest for listed URL.
- Add the Telegram API address: https://api.telegram.org
- Click OK.
Step 4: Launch Haven
- Attach Haven MT5 to Telegram to a chart.
- Press F7 and enter your Bot Token and Chat ID.
- Apply the settings.
- On the SIMPLE panel, click VERIFY TELEGRAM.
- After successful verification, the status will change to READY.
- If needed, click SEND TEST to verify message delivery.
Once the status is READY, Haven is ready to monitor the selected trading events and publish them to the configured Telegram destination.
