Universal Telegram Copier Ai
- Yardımcı programlar
- Lawrence Chiiambb Mkandawi
- Sürüm: 1.0
- Etkinleştirmeler: 5
Telegram to MT5 Bridge Client EA
This Expert Advisor is a client-side receiver designed to execute trading signals coming from Telegram channels or groups. It works together with a separate Python-based bridge application that monitors Telegram messages, extracts trading instructions using AI or regex parsing, and forwards the final commands to MetaTrader 5 through a TCP/IP connection.
Key Features
- TCP/IP Communication
Connects to a local or remote Python bridge using a configurable IP address and port. - Signal Types Supported
Accepts both SINGLE (one order) and TRIPLE (up to three orders with different take-profit levels). - Market and Limit Orders
Automatically detects market orders when no entry range is provided and limit orders when an entry price range is included.
Market execution occurs instantly at current Bid/Ask. - Multi-Level Take Profit Support
Supports up to three take-profit targets per signal, allowing partial position distribution. - Configurable Risk Management
Supports stop loss control, optional default lot size, and slippage configuration. - Connection Watchdog and Auto-Reconnect
Automatically reconnects when disconnected, with configurable delay and maximum retry attempts. - Visual Status Panel
Displays connection status, last received signal, and last trade result. Includes a manual reconnect button.
Input Parameters
- Server IP
IP address of the Python bridge (default: 127.0.0.1) - Server Port
Port number (default: 8888) - Reconnect Delay
Time between reconnection attempts in milliseconds - Max Reconnect Attempts
Number of retries before stopping (0 = unlimited) - Allow No Stop Loss
Allows trades even when stop loss is not provided - Default Lot Size
Used when the signal does not specify volume - Slippage
Maximum allowed slippage in points
Requirements
- MetaTrader 5 build 2000 or higher
- socketlib.mqh library (included)
- Python 3.8+ with the companion Telegram bridge application (provided separately)
Installation
- Copy the EA file into:
MQL5/Experts/ - Compile the EA in MetaEditor.
- Attach the EA to any chart (any symbol, any timeframe).
- Start the Python Telegram bridge application.
Once the bridge is running, the EA will automatically connect and begin listening for incoming signals.
Usage Notes
- The Python bridge must be running before the EA can connect.
- Signals must follow the supported formats ( SINGLE or TRIPLE ).
- For market orders, entry prices must be set to 0 so execution happens instantly at current price.
- The status panel appears in the top-left corner and does not interfere with trading.
- The RECONNECT button forces a fresh socket connection without restarting the EA.
Version History
- 6.20
Added GUI status panel with connection indicators and manual reconnect button. Improved disconnection handling. - 6.00
Fixed market order detection (entryLow == 0 and entryHigh == 0 triggers market execution). Added full TRIPLE command support with TP1, TP2, TP3.
Disclaimer
Past performance does not guarantee future results. This tool is intended for automation assistance only. Users are responsible for verifying signal accuracy and managing their own risk. The EA executes trades strictly based on received commands and does not generate signals or apply any trading strategy by itself.
