workflows.fit
Back to n8n workflows
n8n template$99By Cj Elijah Garay

Execute forex trading signals from Telegram on MetaTrader 5 with Claude

Telegram Signal Receiver and Processor This n8n template is the missing link between your Telegram trading signal channels and MetaTrader 5. It listens to your Telegram bot, uses AI to detect and parse trading signals...

DevelopmentCore NodesAILangchainUtilitySticky NoteWebhookCode
Open checkout
Loading interactive preview...

Template notes

Telegram Signal Receiver and Processor

This n8n template is the missing link between your Telegram trading signal channels and MetaTrader 5. It listens to your Telegram bot, uses AI to detect and parse trading signals in real time, then forwards them directly to your MT5 instance via the signal handler webhook — no manual copying required.

The full system includes an n8n workflow, a Python forwarder script, a compiled MT5 Expert Advisor (.mq5), and a setup guide. Everything you need to run copy trading from Telegram, out of the box.

How it works

- A Python forwarder script monitors your target Telegram signal channel and relays messages to your personal bot - The n8n Telegram Trigger receives each message from your bot - An LLM (Claude/Anthropic) checks whether the message is a valid trading signal — it looks for direction, asset, and stop loss - If it's a signal, the parsed data (asset, direction, entry, SL, TP, risk, order type) is forwarded to the MT5 Signal Handler webhook - If it's not a signal, the workflow skips it silently - MQL5 code handles position sizing as well

Set up steps

- Create a Telegram bot via @BotFather and save your bot token - Get your Telegram API credentials (apiid and apihash) from my.telegram.org - Install Python dependencies and configure the forwarder script with your credentials and target channel - Add your Telegram Bot and Anthropic API credentials to n8n - Activate this workflow and run the Python forwarder - Make sure your MT5 Signal Handler workflow is also running and the webhook URL is correct in the "Send to MT5 Handler" node

Requirements