Telegram-Based MT5 Trading Algo

Заказчик: AI | Опубликовано: 08.04.2026

I need a Python-driven automation that bridges Telegram with MetaTrader 5. Whenever a message arrives in my chosen Telegram channel, the script should parse the text, apply my own custom indicator logic (it is not a standard MA, RSI, or Bollinger Band) and, if conditions are met, place the corresponding market or pending order on MT5. Key points to keep in mind: • The indicator rules are simple and I will share them once the connection between Telegram and MT5 is in place. • Messages typically contain symbol, direction, lot size, stop-loss, and take-profit. The parser must be flexible enough to handle minor wording variations. • Speed matters; the entire flow from Telegram receipt to MT5 execution should take no more than a second or two on a stable connection. • I will run the solution on Windows, so please package everything with clear setup instructions and comment your code thoroughly. Acceptance criteria: 1. A single Python script or module set that logs in to Telegram via API, listens 24/7, and reconnects automatically if dropped. 2. MT5 trade placement that mirrors the parsed parameters and returns the ticket ID for confirmation. 3. Console or log file confirming each step (message received, conditions checked, order sent, order accepted). 4. A brief read-me showing installation steps, required libraries, and where to insert my indicator logic. If you have experience combining Telethon (or similar) with MetaTrader’s Python API, I’d like to see your approach.