Discord to Telegram bridge mt4
- Utilities
- Janet Abu Khalil
- Version: 1.0
- Activations: 10
What is Discord to Telegram Pro?
Discord to Telegram Pro is a professional bridge for MetaTrader 4 that automatically reads messages from your selected Discord channel and forwards them directly to your Telegram channel, group, or private chat.
This Expert Advisor is designed for signal providers, private communities, Discord trading groups, and users who want to automatically forward Discord messages to Telegram without manual copy and paste.
The system works inside MetaTrader 4 as a bridge:
- It connects to Discord using your Bot Token and Channel ID
- It checks the channel every few seconds for new messages
- It detects signals and management messages
- It extracts information such as BUY, SELL, CLOSE, BREAKEVEN, PARTIAL CLOSE, entry range, stop loss, take profits, and TP OPEN
- It forwards the message to Telegram using your Telegram Bot Token and Telegram Chat ID
This product is a Discord to Telegram bridge. It does not need to open trades unless you choose to develop that separately.
What messages can it detect?
The EA can detect and forward messages such as:
- Buy signals
- Sell signals
- Close messages
- Breakeven messages
- Partial close messages
- Entry range signals
- Signals with stop loss
- Signals with one or multiple take profits
- Signals using TP OPEN wording
How it works
- The EA connects to your Discord channel using your Discord Bot Token and Discord Channel ID.
- It checks the channel for new messages every few seconds.
- It reads new Discord messages.
- It detects the action such as BUY, SELL, CLOSE, BREAKEVEN, or PARTIAL CLOSE.
- It extracts the symbol, entry, stop loss, take profits, and TP OPEN if available.
- It formats the message according to your settings.
- It sends the message to Telegram using your Telegram Bot Token and Telegram Chat ID.
Required WebRequest URLs
You must add these URLs in MetaTrader 4:
Go to:
Tools → Options → Expert Advisors → Allow WebRequest for listed URL
Input Parameters
Discord Connection
- Enable debug logging — Turns debug logging on or off
- Discord Bot Token — Your Discord bot token
- Discord Channel ID — The Discord channel ID to monitor
- Poll interval (seconds) — How often the EA checks Discord for new messages
Signal Processing
- Auto symbol from signal — Automatically detect the symbol from the message
- Default symbol if not in signal — Default symbol if none is found in the message
- Symbol suffix — Optional broker suffix such as m or .i
- Symbol prefix — Optional broker prefix
Telegram Connection
- Telegram Bot Token — Your Telegram bot token from BotFather
- Telegram Chat ID — Your Telegram channel, group, or private chat ID
- Optional message thread ID — Optional Telegram topic/thread ID if used
- Send startup message on init — Sends a startup test message when the EA starts
Formatting and Bridge Options
- Send formatted output — Sends a clean formatted message to Telegram
- Send original Discord message too — Also forwards the original Discord text if needed
- Compact one-block format — Uses a shorter Telegram format style
- Include Discord channel info — Adds Discord channel information
- Include Discord message ID — Adds the message ID
- Include local time — Adds the terminal local time
- Include raw detected action — Adds the raw action type such as BUY or SELL
- Include TP OPEN text — Shows TP OPEN when applicable
- Use emoji in Telegram text — Optional visual Telegram style
Custom Signal Keywords
- Use custom keywords — Enables custom words for detection
- Buy words — Custom words or phrases for BUY
- Sell words — Custom words or phrases for SELL
- Close words — Custom words or phrases for CLOSE
- Breakeven words — Custom words or phrases for BREAKEVEN
- Partial words — Custom words or phrases for PARTIAL CLOSE
- SL words — Custom words for stop loss
- TP words — Custom words for take profit
- Entry words — Custom words for entry
Examples of supported messages
Example 1
BUY GOLD NOW @ 4073 - 4070
SL: 4068
TP: OPEN
Example 2
SELL XAUUSD 5015 - 5019
SL 5021
TP 5013
TP 5011
TP 5009
Example 3
BREAKEVEN GOLD
Example 4
PARTIAL CLOSE XAUUSD
Example 5
CLOSE ALL GOLD
Important
This product connects to Discord and Telegram through WebRequest.
You must allow the required Discord and Telegram URLs in MetaTrader 4 WebRequest settings.
This EA is intended for message forwarding and communication automation between Discord and Telegram.
For the full Telegram and Discord setup guide, see the Readme.
