Telegram Notification Worker
- ユーティリティ
- Metin Demirtas
- バージョン: 5.31
Telegram Notification Worker (v5.31)
Telegram Notification Worker is a high-performance, professional utility designed to bridge the gap between your MetaTrader 5 terminal and Telegram. It acts as a dedicated background worker that forwards custom alerts, trade events, and system status messages from any of your Expert Advisors (EAs) directly to your Telegram chat or channel.
Key Technical Features:
Asynchronous Messaging Engine: Unlike standard notification scripts, this worker uses an asynchronous approach. It processes messages in a separate queue, ensuring that your main trading EA's execution logic is never blocked or slowed down by network latency.
Smart Retry Mechanism: If a message fails to send due to temporary network issues, the worker automatically queues the message and retries based on your defined intervals.
Intelligent Rate Limit Protection: Includes built-in cooldown logic (Anti-Spam) to prevent your bot from being blocked by Telegram during high-frequency trading events.
On-Chart Connection Test: Features a dedicated "Test Connection" button on the chart. This allows you to verify your API settings instantly without waiting for a trade event.
Advanced Error Diagnostics: Provides detailed on-screen feedback for common MQL5 WebRequest errors (such as 4060 for permissions or 4014 for security restrictions).
Supported Event Templates:
The worker comes pre-configured to handle various critical events:
Daily Loss and Drawdown Limit warnings.
High Impact News protection status.
Trade management alerts (Break-even, Partial Close).
Prop Firm target achievements.
Setup Instructions:
Grant Permissions: Go to Tools -> Options -> Expert Advisors in your MT5 terminal.
Allow WebRequest: Check "Allow WebRequest for listed URL" and add: https://api.telegram.org
Configure Inputs: Enter your Bot Token and Chat ID in the Worker's input tab.
Test: Click the "Test Connection" button on the chart to confirm everything is working.
