How apakle/telegram-mt5-signal-bot works
This repository runs Telegram-to-MetaTrader signal automation: channel messages are parsed into JSON files that an MT5 Expert Advisor uses to place broker trades. It includes both regex-based signal bots for two broker configurations and an LLM-based zone parser. The Python excerpts show parsing and file writes; the README documents the downstream EA-to-trading workflow. The EA source files are present but were not sampled, so their individual file-reading behavior is not verified.
Main entry points: llm_telegram_signal2json_bot.py Zone LLM Parser · ForexeroSignalExecutor.mq5 Forexero Executor · telegram_mt5_signal_bot_gold.py PU Prime Listener · telegram_mt5_signal_bot.py Vantage Listener
Components 14
Telegram Ingestion
- Zone Listener
src/llm_telegram_signal2json_bot.py - PU Prime Listener
src/telegram_mt5_signal_bot_gold.py - Vantage Listener
src/telegram_mt5_signal_bot.py
Signal Parsing
- Zone LLM Parser
src/llm_telegram_signal2json_bot.py - Gold Signal Parser
src/telegram_mt5_signal_bot_gold.py - Vantage Signal Parser
src/telegram_mt5_signal_bot.py
JSON Bridge
- Zone JSON File
- PU Prime JSON File
- Vantage JSON File
MT5 Execution
- Forexero Executor
mql5/Experts/ForexeroSignalExecutor.mq5 - JSON Signal Executor
mql5/Experts/SignalExecutorFromJson.mq5
Other components
- Telegram Channel
- Groq-Compatible API
- Broker Accounts
Connections 15
- Telegram Channel → Zone Listener: sends messages
src/llm_telegram_signal2json_bot.py - Telegram Channel → PU Prime Listener: sends messages
src/telegram_mt5_signal_bot_gold.py - Telegram Channel → Vantage Listener: sends messages
src/telegram_mt5_signal_bot.py - Zone Listener → Zone LLM Parser: processes text
src/llm_telegram_signal2json_bot.py - PU Prime Listener → Gold Signal Parser: parses messages
src/telegram_mt5_signal_bot_gold.py - Vantage Listener → Vantage Signal Parser: parses messages
src/telegram_mt5_signal_bot.py - Zone LLM Parser → Groq-Compatible API: requests extraction
src/llm_telegram_signal2json_bot.py - Zone LLM Parser → Zone JSON File: writes zones
src/llm_telegram_signal2json_bot.py - Gold Signal Parser → PU Prime JSON File: writes signal
src/telegram_mt5_signal_bot_gold.py - Vantage Signal Parser → Vantage JSON File: writes signal
src/telegram_mt5_signal_bot.py - PU Prime JSON File → Forexero Executor: provides signal
- Vantage JSON File → Forexero Executor: provides signal
- Zone JSON File → JSON Signal Executor: provides zones
- Forexero Executor → Broker Accounts: places trades
README.md - JSON Signal Executor → Broker Accounts: places trades
README.md