Telegram to Discord MT4 Bridgr
- Utilities
-
Janet Abu Khalil
Professional software engineer and trader with 5 years of experience in the financial markets. I am part of the AtlasLabs.uk Engineering Division, where I develop trading solutions, software tools, and technical systems. My background includes networking, system support, and troubleshooting, helping - Version: 1.0
- Activations: 10
Telegram to Discord Pro for MT4
Telegram to Discord Pro is a bridge Expert Advisor for MetaTrader 4 that reads trading signals and trade management messages from a Telegram bot, channel, or group, and then forwards them to your Discord channel in a clean and customizable format.
This EA is built for traders, signal providers, private communities, and automation users who want to mirror trading messages from Telegram to Discord in real time.
It can detect and forward message types such as Buy, Sell, Close, Breakeven, and Partial Close. It can also read signal details such as symbol, entry price, stop loss, take profit levels, and open TP text, then send the information to Discord either in a formatted layout or as the original raw text.
The EA supports both regular Telegram messages and Telegram channel posts, making it suitable for private channels, public channels, groups, and bot-based workflows.
For help with Discord and Telegram setup, please read the README guide.
What this EA does
Telegram to Discord Pro connects to Telegram using your bot token and chat ID, checks for new updates every few seconds, analyzes the incoming text, identifies the signal or instruction type, and sends the result to your Discord channel using your Discord bot token and channel ID.
This EA is designed as a forwarding and formatting bridge. It does not open trades. Its role is to monitor Telegram messages and publish them clearly and automatically to Discord.
Main Features
- Reads Telegram messages from a bot chat, group, or channel
- Supports Telegram message updates and channel posts
- Automatically forwards signals to Discord
- Detects Buy, Sell, Close, Breakeven, and Partial Close messages
- Extracts symbol, entry, SL, TP, and TP OPEN text from messages
- Supports formatted output and original text forwarding
- Includes compact mode for shorter Discord messages
- Includes optional Telegram message ID, timestamp, and chat information
- Supports custom signal keywords
- Includes log control: enable or disable
- Includes a visual panel on the chart
- Includes expiry protection
Important Setup Note
To use this EA, you must allow the required WebRequest URLs in MetaTrader 4.
Go to:
Tools -> Options -> Expert Advisors
Enable:
Allow WebRequest for listed URL
Add these URLs:
Input Parameters
=== Telegram Connection ===
Enable debug logging
Turns internal debug logs on or off in the Experts tab.
Set false for normal use. Set true only for testing or troubleshooting.
Telegram Bot Token (from BotFather)
Your Telegram bot token. This is required so the EA can read updates from Telegram.
Telegram Chat ID / Channel ID / Group ID
The ID of the source Telegram chat the EA should monitor. This can be a private chat, group, or channel ID.
Optional Telegram message_thread_id
Optional reserved field for Telegram thread or topic workflows. Kept for compatibility.
Poll interval (seconds)
How often the EA checks Telegram for new messages.
Lower values mean faster forwarding but more frequent requests.
Telegram WebRequest timeout ms
The maximum wait time for a Telegram WebRequest response in milliseconds.
=== Signal Parsing ===
Auto symbol from signal
If true, the EA tries to detect the symbol directly from the Telegram message text.
Default symbol if not in signal
If no symbol is found in the message, this symbol is used as a fallback.
Symbol suffix (e.g. m or .i)
Optional suffix added to detected symbols. Useful for brokers using symbols such as XAUUSDm.
Symbol prefix
Optional prefix added to detected symbols.
Compatibility magic number
Compatibility field preserved from bridge-style input structures.
Compatibility slippage (points)
Compatibility field preserved from bridge-style input structures.
=== Compatibility / Formatting ===
fixed_lot | pct_balance | pct_equity
Compatibility field kept for bridge consistency. It does not affect forwarding behavior.
Fixed lot size
Compatibility field preserved.
Risk % of balance/equity
Compatibility field preserved.
Max open positions (compatibility)
Compatibility field preserved.
=== SL / TP Mode ===
signal | fixed | none
Compatibility field preserved for signal interpretation structure.
Fixed SL in pips (if mode=fixed)
Compatibility field preserved.
signal | fixed | trailing | partial | none
Compatibility field preserved.
Fixed TP in pips (if mode=fixed)
Compatibility field preserved.
=== Trailing Stop ===
Compatibility option
These trailing settings are preserved for compatibility with copier-style input structures.
Compatibility option
Trailing activation level preserved for compatibility.
Compatibility option
Trailing distance preserved for compatibility.
=== Break-Even ===
Compatibility option
Break-even enable parameter preserved for compatibility.
Compatibility option
Break-even activation level preserved for compatibility.
Compatibility option
Break-even offset preserved for compatibility.
=== Partial Close ===
Compatibility option
Partial close enable parameter preserved for compatibility.
Compatibility option
Partial close percentage preserved for compatibility.
=== Filters ===
Max daily loss $ (0=off)
Compatibility field preserved.
Max daily profit target $ (0=off)
Compatibility field preserved.
=== Range Orders (Compatibility) ===
These inputs are preserved for compatibility with wider signal bridge structures.
Preserve range mode option
Compatibility parameter for range orders.
Preserve range step option
Compatibility parameter for range step.
Preserve option
Compatibility parameter for range cap at max positions.
Preserve option
Compatibility parameter for range auto step.
Preserve option
Compatibility parameter for range all TPs.
Preserve option
Compatibility parameter for range sequential TPs.
=== Multi-TP Orders (Compatibility) ===
Preserve option
Compatibility parameter for one order per TP.
Preserve option
Compatibility parameter for lot per TP order.
=== Pending Orders (Compatibility) ===
Preserve option
Compatibility parameter for pending expiry.
Preserve option
Compatibility parameter for close on any TP hit.
=== Symbol Tick Correction ===
Example: XAUUSD=100,US30=10
Compatibility field preserved for symbol tick correction maps.
Example: HK50=0.18,JP225=0.006
Compatibility field preserved for currency coefficient maps.
=== Custom Signal Keywords ===
These settings allow you to define your own words or phrases for signal detection. This is useful if your Telegram provider uses uncommon wording.
Use custom keywords
If true, the EA uses your custom keyword lists instead of the built-in default detection logic.
Buy words
Comma-separated list of words or phrases that should be treated as Buy signals.
Sell words
Comma-separated list of words or phrases that should be treated as Sell signals.
Close words
Comma-separated list of words or phrases that should be treated as Close instructions.
Breakeven words
Comma-separated list of words or phrases that should be treated as Breakeven instructions.
Partial words
Comma-separated list of words or phrases that should be treated as Partial Close instructions.
SL words
Comma-separated list of words indicating Stop Loss in messages.
TP words
Comma-separated list of words indicating Take Profit in messages.
Entry words
Comma-separated list of words indicating Entry in messages.
=== Discord Connection ===
Discord Bot Token
Your Discord bot token. Required for sending messages to your Discord channel.
Discord Channel ID
The Discord channel ID where forwarded messages will be posted.
Discord WebRequest timeout ms
The maximum wait time for a Discord WebRequest response in milliseconds.
Send startup message on init
If true, the EA sends a confirmation message to Discord when it starts successfully.
Send original Telegram message too
If true, the EA also sends the original Telegram message in addition to the formatted output.
=== Discord Formatting ===
Send formatted output
If true, the EA sends a structured Discord message showing symbol, action, entry, SL, TP, and other details when detected.
Compact one-block format
If true, the Discord message will be shorter and more compact.
Include Telegram chat info
Adds the Telegram chat ID to the forwarded Discord message.
Include Telegram message ID
Adds the Telegram message ID to the forwarded Discord message.
Include local time
Adds the local platform time to the forwarded Discord message.
Include raw detected action
Adds the internally detected action text such as BUY, SELL, CLOSE, BREAKEVEN, or PARTIAL_CLOSE.
Include TP OPEN text
If the signal contains text such as TP OPEN or OPEN TP, it can be shown in the Discord output.
Include SL/TP modes
If SL or TP values are not explicitly found, the EA can show the configured mode text.
Use emoji in Discord text
Display compatibility option for an alternative message style.
=== Bridge Events ===
These settings allow you to choose which Telegram message types should be forwarded.
Forward new trade messages
If true, Buy and Sell messages are forwarded.
Forward close messages
If true, Close messages are forwarded.
Forward breakeven messages
If true, Breakeven messages are forwarded.
Forward partial close messages
If true, Partial Close messages are forwarded.
How the EA works
1. The EA connects to Telegram using your bot token.
2. It checks for new updates using your Telegram chat or channel ID.
3. It identifies the message type and extracts the content.
4. It detects the action such as Buy, Sell, Close, Breakeven, or Partial Close.
5. It extracts available fields such as symbol, entry, SL, TP, and message ID.
6. It sends the final result to your Discord channel using your Discord bot.
Examples of supported messages
BUY XAUUSD 3350
SL 3340
TP 3360
TP 3370
SELL GOLD NOW 3345
TP 3338
TP 3330
SL 3355
CLOSE GOLD
MOVE SL TO BE
PARTIAL CLOSE XAUUSD
Who this product is for
- Traders who publish signals in Telegram and want to mirror them to Discord
- Signal communities using both Telegram and Discord
- Discord server owners who need automatic signal delivery from Telegram
- Automation users who need a trading message bridge between platforms
Notes
- This EA is a bridge and message forwarding tool
- It does not execute trades
- Valid Telegram and Discord bot credentials are required
- Telegram bot access depends on proper bot permissions in the source chat or channel
- Discord posting depends on proper bot permissions in the target channel
Support and Setup Help
For help with Discord and Telegram setup, please read the README guide.
