Metrics Pro MT5 for Telegram
- ユーティリティ
- Giovanni Bengalis
- バージョン: 1.12
- アクティベーション: 10
Metrics Pro for Telegram - MT5
Metrics Pro for Telegram is a reporting utility for MetaTrader 5 that automatically sends your account performance data to a Telegram chat or channel via the Telegram Bot API. It is designed for algo-traders, signal providers, and fund managers who need scheduled performance summaries delivered directly to their phone without checking the terminal manually.
The utility runs in the background on a chart and posts formatted reports at a scheduled server time. Reports include account-level data as well as a breakdown per strategy when multiple Expert Advisors are active on the same account. The MT5 version reads trade history using the native Deals API and reads open positions using the Positions API.
Report Types
- Daily report, sent each day at the configured server hour.
- Weekly report, sent on Fridays at the configured server hour.
- Monthly report, sent on the last calendar day of each month at the configured server hour.
Each report type can be enabled or disabled independently. Reports can also be sent manually at any time using the three buttons on the on-chart dashboard.
Performance Metrics Included in Each Report
- Account Balance, Equity, and Free Margin at report time.
- Net Profit or Loss for the period, in currency and as a percentage.
- Profit Factor for the period.
- Current floating drawdown as a percentage of balance.
- Maximum historical drawdown calculated from the deal sequence for the period.
- Number of closed deals and number of winning deals.
Strategies with no closed deals and no open positions during the period are automatically excluded from the report to keep the output clean. Messages exceeding 4000 characters are truncated automatically to comply with Telegram API limits.
Multi-Strategy Mode
The utility supports up to five EA slots. Each slot is defined by a name and a Magic Number. When Multi-Strategy Mode is enabled, the report includes a separate performance block for each active slot. When it is disabled, the report covers all trades on the account or filters by a single Magic Number.
On-Chart Dashboard
A compact panel is displayed on the chart showing the current account balance and today's profit and loss. Three buttons allow manual sending of Daily, Weekly, and Monthly reports without waiting for the scheduled time.
Setup
In MetaTrader 5, go to Tools, then Options, then the Expert Advisors tab. Enable "Allow WebRequest for listed URL" and add the Telegram API base URL to the list. To create a bot, open Telegram and search for BotFather. Send the command /newbot and follow the instructions to receive your Bot Token. To find your Chat ID, search for a user info bot in Telegram or use your channel ID if you have added the bot as an administrator. Paste the Bot Token and Chat ID into the EA inputs.
Input Parameters
- InpBotToken: The Bot Token provided by BotFather.
- InpChatID: Your personal Chat ID or channel ID (for channels, the ID is typically a negative number starting with -100).
- InpReportHour: Server hour at which scheduled reports are sent (0 to 23).
- InpSendDaily, InpSendWeekly, InpSendMonthly: Enable or disable each report type.
- InpUseMultiMagic: Enables Multi-Strategy Mode with up to five named slots.
- InpSingleMagic: Magic Number filter used when Multi-Strategy Mode is off. Set to 0 to include all trades.
- InpName1 to InpName5, InpMagic1 to InpMagic5: Name and Magic Number for each EA slot. Set Slot 5 Magic to -1 to disable it.
- InpBgColor, InpTextColor: Dashboard background and text colours.
