Enhanced Telegram Position Tracker MT5
- 유틸리티
- Juergen Marcus Wolfgang Rosswinkel
- 버전: 2.660
- 업데이트됨: 13 3월 2026
- 활성화: 5
Enhanced Telegram Position Tracker — Real-Time Trade Monitoring & Reporting for MT5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The most complete Telegram reporting solution for MetaTrader 5. Every trade, every update, every alert — delivered instantly to your Telegram channel, group, and forum topics. No missed closures, no duplicates, no spam.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THIS EA STANDS OUT
Most Telegram EAs send a message when a trade opens and another when it closes. That is all.
This EA tracks the complete lifecycle of every position — open, SL/TP modification, partial close, and final close — and reports every event with full context, in real time, to exactly the right destination. Every closure reason is labelled: Stop Loss, Take Profit, Close By, or Other.
What makes it unique:
✦ Live Streaming Messages — Open positions are tracked as single editable Telegram messages that update their P/L every 30 seconds. No message flood. One message per trade, continuously updated until the trade closes.
✦ Dual-Posting Architecture — Your public channel receives every message in classic sequential style. Your private Telegram group with Forum Topics receives the same messages automatically sorted into dedicated topics: Live Trades, Daily P&L, EA Status, Commands. Both destinations are updated simultaneously without any extra configuration.
✦ 15-Button Interactive Dashboard — Followers type /menu in the Commands topic and get an instant Telegram keyboard with live account data on demand: open positions, P&L, performance stats, risk overview, live trade details, SL/TP distances. Read-only. No write access to MT5.
✦ EA Offline State — When MT5 shuts down, the EA edits all active live messages to an ⏸ EA OFFLINE state with a last-seen timestamp. On the next startup, live tracking resumes automatically from the same messages.
✦ Zero Missed Closures — Startup reconciliation detects any position that closed while the EA was offline (weekend restart, MT5 update, VPS reboot) and immediately sends the missed close report.
✦ Crash Detection — Session flag system distinguishes clean shutdowns from crashes. Your next startup message tells you exactly what happened.
✦ HFT Protection — Built-in burst detection prevents Telegram rate limiting during scalping sessions. Individual reports are automatically batched when event rates exceed your configured threshold, then restored to individual mode once the burst ends.
✦ Automatic Daily, Weekly & Monthly Reports — End-of-day P&L summary sent every night at 23:59, full weekly performance report every Friday at 22:00, and monthly report on the last day of every month at 22:00 —all delivered to your channel and P&L Reports topic automatically. All three reports consistently show: closed P&L for the period, float P&L of all currently open positions regardless of when they were opened, and a combined total — giving a complete picture of realised performance and live exposure in a single report.
✦ Full Backward Compatibility — Only ChatID required. All new features are optional. Existing users upgrading from any previous version need zero configuration changes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FEATURES
Live Trade Streaming
— Each new position creates a single Telegram message in the Live Trades topic
— Message updates automatically every 30 seconds with current price, pts, P/L, SL/TP, and hold time
— SL/TP modifications edit the live message — no new message is sent
— Partial closes (volume reductions) update the live message with new lot size
— On position close: live message is edited to compact CLOSED state (entry, close price, P/L, reason, hold duration) — no full close report is posted to the Live Trades topic; full report goes to your classic channel only
Complete Position Lifecycle Tracking
— Every event in a position's life is captured and reported — nothing is missed
— Supports both position types: BUY (long) and SELL (short)
— Tracks every closure reason with individual labels in the report:
🔴 Stop Loss — SL level hit
🟢 Take Profit — TP level hit
🔄 Close By — hedge close, both positions reported as paired event
⬜ Other — manual, EA-controlled, Stop Out, or any other reason
— Pending orders (Buy/Sell Limit, Buy/Sell Stop) are captured the moment they execute
— Works on all account types: Standard, ECN, Hedge, Netting
Dual-Posting: Channel + Group Topics
— Classic channel (ChatID) receives every message in sequential style
— Telegram Supergroup with Forum Topics receives messages sorted by type:
📊 Live Trades topic — new positions, closes, P/L updates
📊 P&L Reports topic — EOD daily (23:59), weekly (Friday 22:00), monthly (last day 22:00)
🔧 EA Status topic — startup, stop, health reports, HFT alerts
💬 Commands topic — follower interactive menu and bot replies
— All four topic slots are independent and optional
— Input format: -1001234567890:111 (GroupID:TopicThreadID)
— Plain ChatID without colon works exactly as before — full backward compatibility
Follower Interactive Menu
— Type /menu or /start in the Commands topic to open a 15-button inline keyboard
— 📅 Today, 📆 Weekly, 🏆 Monthly buttons show simple P&L summary; full detailed reports are sent automatically to the P&L Reports topic
— All responses are live data from the running MT5 instance, delivered in seconds
— Read-only — no write access to MT5 positions from Telegram
📅 Today Result — closed P/L for the current trading day
📆 Weekly Stats — full weekly P&L report on demand: total P&L, trades, win rate, avg win/loss, profit factor, best/worst trade
🏆 Monthly Stats — closed P/L for the current calendar month
📋 Closed Today — list of up to 10 closed trades today with direction, symbol, P&L and close time
📍 Open Positions — all open trades with symbol, direction, lots, entry price, current P/L
📈 Live Trades — up to 10 open positions with lots, entry, P/L incl. swap, runtime, total float P/L
🎯 SL/TP Levels — current price, SL and TP level with distance in points for each open trade
💹 Breakeven — per-position BE status: ✅ set, ⏳ not yet with points remaining to entry, ❌ no SL — plus summary count
💼 Account Info — balance, equity, floating P/L, free margin (hidden if SendAccountInfo=false)
⚠️ Risk — open drawdown $/%, margin used %, free margin, margin level, total lots, net exposure (hidden if SendAccountInfo=false)
📊 Performance — win rate, avg win, avg loss, profit factor for today and this month
⚡ Last Trade — symbol, P/L, and close time of the most recent closed trade
ℹ️ EA Info — EA version, uptime, fi.con Investment Group
🕐 EA Uptime — running time in days/hours/minutes/seconds, start timestamp, account number (hidden if SendAccountInfo=false)
🔄 Refresh Menu — re-sends the button keyboard at any time
— Configurable menu title via FollowerMenuTitle input parameter
— Offset persistence ensures no duplicate callbacks after EA restart
— Command logging at LogLevel 1: every button press and response length recorded in MT5 journal
Zero Missed Closures
— Open position snapshot written after every deal event and at every verification interval
— On startup: snapshot compared against current open positions
— Any position that closed while EA was offline is detected, looked up in 7-day history, and reported immediately
— Startup message shows count of recovered closures
Crash Detection
— Session flag file written at startup (instance-specific, multi-terminal safe)
— Deleted only on clean shutdown after successful stop message
— Startup message shows warning if previous session ended without clean stop
HFT Protection
— Configurable event rate threshold (default: 10 events/minute)
— Automatic switch to batch reporting during burst periods
— Telegram send interval throttle with message queue
— Separate alert sent to EA Status topic when HFT mode activates and deactivates
— Individual reporting automatically restored after configurable quiet period
Fully Configurable Trade Reports
— 17 individual field toggles for opened and closed position reports
— Opened: Lots, Entry Price, Current Price, SL, TP, Open Time, P/L, Comment, Magic
— Closed: Lots, Close Price, Entry Price, Close Reason, Opened Time, Closed Time, Hold Duration, Swap, Commission, P/L, Comment, Magic
— All fields default true — zero impact on existing users
Health & Status Monitoring
— Configurable health reports (default: every 12 hours)
— Includes: uptime, messages sent, win rate today, message queue status, server ping, connection state, trade permissions, free margin
— Seven chart buttons for manual triggers, stacked bottom-left: [Verify Positions], [Status Report], [Health Report], [Send EOD Report], [Send Weekly Report], [Send Monthly Report], [Reseed Live Msgs]
— Connection Test button (bottom-center, separate): pings Telegram API, shows result as chart label for 10 seconds + details in MT5 Journal
— Manual Position Verification report goes to EA Status topic + channel
Smart Batch Reporting
— Configurable minimum positions and time window for batch mode (default: 4 positions / 10 seconds)
— Batch summaries sent when threshold exceeded — individual reports otherwise
— Close-By detection: paired positions reported as single combined close event
Message Safety
— Automatic message splitting at 4000 characters (Telegram HTML limit)
— Priority queue: critical alerts bypass rate limiting
— HTML escaping prevents tag collisions in broker comments
— Smart Comment extraction: EA name + [sl]/[tp]/[tp1] from deal comments
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PARAMETERS
Telegram Settings
InpChannelName — Display name for your channel (documentation only)
TelegramToken — Bot token from @BotFather — required
ChatID — Channel ID(s), comma-separated for multiple channels — required
MessageInterval — Status report interval in minutes (default: 60)
Multi-Channel Broadcasting
LiveChannelID — Live trades: GroupID:TopicID or plain ChatID (blank = use ChatID)
DailyChannelID — P&L Reports topic (daily EOD, weekly, monthly): GroupID:TopicID or plain ChatID (blank = use ChatID)
StatusChannelID — EA status + health: GroupID:TopicID or plain ChatID (blank = use ChatID)
FollowerChatID — Follower interactive menu: GroupID:TopicID (blank = disabled)
FollowerMenuTitle — Title text shown at the top of the follower menu keyboard
LiveUpdateInterval — Live P/L refresh interval in seconds (default: 30, 0 = disabled)
Position Tracking Settings
SendEAStartedMessage — Send startup message (default: true)
SendAccountInfo — Include account info in reports; when false: 💼 Account Info button returns unavailable message, 🕐 EA Uptime omits account number (default: true)
SendTradeUpdates — Send trade open/close notifications (default: true)
SendClosedPositionsReport — Include closed P/L in hourly status reports and health reports (default: true)
SendAutoReports — Send automatic EOD/Weekly/Monthly P&L reports (default: true)
TrackPositionModifications — Track and report SL/TP changes (default: true)
Trade Report Fields — General
ShowField_Lots — Show lot size (default: true)
ShowField_PL — Show P/L (default: true)
ShowField_Comment — Show trade comment field (default: true)
ShowField_Magic — Show magic number (default: true)
Trade Report Fields — Opened Position
ShowField_EntryPrice — Entry price (default: true)
ShowField_CurrentPrice — Current price (default: true)
ShowField_SL — Stop Loss (default: true)
ShowField_TP — Take Profit (default: true)
ShowField_OpenTime — Open time (default: true)
Trade Report Fields — Closed Position
ShowField_ClosePrice — Close price (default: true)
ShowField_EntryOnClose — Entry price on close report (default: true)
ShowField_Reason — Close reason: Stop Loss / Take Profit / Close By / Other (default: true)
ShowField_OpenedTime — Time position was opened (default: true)
ShowField_ClosedTime — Time position was closed (default: true)
ShowField_Hold — Hold duration (default: true)
ShowField_Swap — Swap (default: true)
ShowField_Commission — Commission (default: true)
Health & Reliability Settings
SendHealthReports — Enable periodic health reports (default: true)
HealthReportInterval — Health report interval in hours (default: 12)
SendHealthReportOnStartup — Send health report on EA start (default: false)
ShowVerifyButton — Show [Verify Positions] chart button (default: true)
ShowStatusButton — Show [Status Report] chart button (default: true)
ShowHealthButton — Show [Health Report] chart button (default: true)
ShowEODButton — Show [Send EOD Report] chart button (default: true)
ShowWeeklyButton — Show [Send Weekly Report] chart button (default: true)
ShowMonthlyButton — Show [Send Monthly Report] chart button (default: true)
ShowReseedButton — Show [Reseed Live Msgs] chart button (default: true)
ShowConnTestButton — Show [Connection Test] chart button (default: true)
ButtonYOffset — Button distance from chart bottom in pixels (default: 30)
ButtonWidth — Chart button width in pixels (default: 235)
ConnTestButtonX — X position of Connection Test button from left in pixels (default: 400)
Logging & Check Interval
EnableRobustTracking — Tick-based position tracking (default: true)
LoggingLevel — 0=Minimal, 1=Normal, 2=Verbose, 3=Trace (default: 0)
VerificationInterval — Position verification interval in seconds (default: 300)
PositionCheckInterval — Tick-based check interval in seconds (default: 1)
DataFolderPath — Custom data folder path (blank = default account folder)
HFT Protection
HFT_Threshold — Events/minute to trigger HFT mode (default: 10)
HFT_CooldownMultiplier — Send cooldown multiplier in HFT mode (default: 5)
HFT_ModeDuration — Quiet seconds before HFT mode deactivates (default: 120)
HFT_MinSendInterval — Minimum milliseconds between sends (default: 200)
HFT_QueueMaxSize — Max queued messages before dropping low-priority (default: 50)
Message Length Control
MaxPositionsInReport — Maximum positions in a single report (default: 10)
UseCompactReporting — Compact position format for large accounts (default: true)
ShowTrackerStatus — Show Position Tracker diagnostics block (default: true)
Batch Reporting
Batch_MinPositions — Minimum positions to trigger batch mode (default: 4)
Batch_TimeWindowSec — Time window in seconds to collect batch (default: 10)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INSTALLATION
1. Copy EnhancedTelegramEA.mq5 to your MT5 Experts folder
2. Compile in MetaEditor (F7)
3. Create a Telegram bot via @BotFather and copy the token
4. Add the bot to your channel as Admin with Post Messages permission
5. Attach the EA to any chart and enter TelegramToken and ChatID
6. All other settings are optional — defaults work out of the box
Optional: Telegram Group with Forum Topics
1. Create a Supergroup and enable Topics in Group Settings
2. Add your bot as Admin — disable Privacy Mode to allow reading messages
3. Create four topics: Live Trades, P&L Reports, EA Status, Commands
4. For each topic: tap the topic name → copy the link → note the number at the end
5. Enter: GroupID:TopicNumber in LiveChannelID, DailyChannelID, StatusChannelID, FollowerChatID
6. Group ID: send any message in the group, reply with /json via @getidsbot — find "id" in the chat object
Allow WebRequest for: https://api.telegram.org in MT5 Tools → Options → Expert Advisors
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MORE TOOLS FROM fi.con INVESTMENT GROUP
We offer a complete MT5 toolkit built by traders. If you trade actively and want more automation, reporting, and control, these tools extend your MT5 setup significantly:
📡 MT5 to Telegram Informer — sends every trade open and close to your Telegram channel in real time. Full position lifecycle: pending order execution, SL/TP changes, partial closes, close reason labelling. Multiple channels, Topics support, configurable report fields. If you share your trades with a Telegram audience, this is your tool.
📊 Telegram Trading Reporter MT5 — automated performance reports delivered to Telegram on schedule: daily EOD summary, weekly stats, monthly overview. Analyses your full trade history and sends structured reports with P&L, win rate, profit factor, best/worst trade — all without you having to open MT5.
🛠️ Chart Order Trade Manager MT5 — professional on-chart trade management panel for active traders. Visual SL/TP placement, automatic lot size calculation from risk %, one-click breakeven, trailing stop, partial close. Designed for traders who manage positions manually while running EAs in parallel.
🚫 Position Closure Management MT5 — automatically resolves hedged position pairs and locks in the net result at exactly the right moment. Essential for grid and martingale strategies, prop firm challenge rules that prohibit hedging, and any setup where open buy/sell pairs need controlled resolution.
Version 2.65 | fi.con Investment Group | MQL5 Marketplace