Discord to Telegram bridge mt4
- 实用工具
-
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 - 版本: 1.0
- 激活: 10
什么是 Discord to Telegram Pro?
Discord to Telegram Pro 是一款专业的 MetaTrader 4 桥接工具,可自动读取您所选 Discord 频道中的消息,并将其直接转发到您的 Telegram 频道、群组或私人聊天。
该 EA 适用于信号提供者、私人社区、Discord 交易群以及希望将 Discord 消息自动转发到 Telegram、无需手动复制粘贴的用户。
该系统在 MetaTrader 4 内部作为桥接器运行:
- 使用您的 Discord 机器人令牌和频道 ID 连接到 Discord
- 每隔几秒检查一次频道中的新消息
- 识别信号和管理消息
- 提取 BUY、SELL、CLOSE、BREAKEVEN、PARTIAL CLOSE、入场区间、止损、止盈以及 TP OPEN 等信息
- 使用您的 Telegram 机器人令牌和 Telegram Chat ID 将消息发送到 Telegram
该产品是一个 Discord 到 Telegram 的桥接工具。除非您另外构建交易执行功能,否则它不需要开仓交易。
它可以识别哪些消息?
该 EA 可以识别并转发以下类型的消息:
- 买入信号
- 卖出信号
- 平仓消息
- 保本消息
- 部分平仓消息
- 带有入场区间的信号
- 带有止损的信号
- 带有一个或多个止盈的信号
- 带有 TP OPEN 表述的信号
工作原理
- EA 使用 Discord Bot Token 和 Discord Channel ID 连接到您的 Discord 频道。
- 它每隔几秒检查一次该频道是否有新消息。
- 它读取新发布的 Discord 消息。
- 它识别 BUY、SELL、CLOSE、BREAKEVEN 或 PARTIAL CLOSE 等操作。
- 它提取交易品种、入场价、止损、止盈,以及在有需要时识别 TP OPEN。
- 它根据您的设置格式化消息。
- 它使用 Telegram Bot Token 和 Telegram Chat ID 将消息发送到 Telegram。
所需的 WebRequest URL
您必须在 MetaTrader 4 中添加以下 URL:
请前往:
工具 → 选项 → EA 交易 → 允许所列 URL 的 WebRequest
输入参数
Discord 连接
- Enable debug logging — 开启或关闭日志记录以便调试
- Discord Bot Token — 您的 Discord 机器人令牌
- Discord Channel ID — 要监控的 Discord 频道 ID
- Poll interval (seconds) — EA 检查 Discord 新消息的时间间隔
信号解析
- Auto symbol from signal — 自动从消息中识别交易品种
- Default symbol if not in signal — 如果消息中没有品种时使用默认品种
- Symbol suffix — 可选的经纪商品种后缀,例如 m 或 .i
- Symbol prefix — 可选的经纪商品种前缀
Telegram 连接
- Telegram Bot Token — 您从 BotFather 获取的 Telegram 机器人令牌
- Telegram Chat ID — 您的 Telegram 频道、群组或私人聊天 ID
- Optional message thread ID — 如果使用主题功能,可填写 Telegram 主题/线程 ID
- Send startup message on init — EA 启动时发送一条启动测试消息
格式化和桥接选项
- Send formatted output — 发送格式化后的整洁 Telegram 消息
- Send original Discord message too — 可同时转发原始 Discord 文本
- Compact one-block format — 使用更简洁的 Telegram 输出格式
- Include Discord channel info — 添加 Discord 频道信息
- Include Discord message ID — 添加 Discord 消息 ID
- Include local time — 添加本地终端时间
- Include raw detected action — 添加原始识别动作,例如 BUY 或 SELL
- Include TP OPEN text — 在适用时显示 TP OPEN
- Use emoji in Telegram text — 可选的 Telegram 表情风格
自定义信号关键词
- Use custom keywords — 启用自定义识别关键词
- Buy words — 自定义 BUY 关键词或短语
- Sell words — 自定义 SELL 关键词或短语
- Close words — 自定义 CLOSE 关键词或短语
- Breakeven words — 自定义 BREAKEVEN 关键词或短语
- Partial words — 自定义 PARTIAL CLOSE 关键词或短语
- SL words — 自定义止损关键词
- TP words — 自定义止盈关键词
- Entry words — 自定义入场关键词
支持的消息示例
示例 1
BUY GOLD NOW @ 4073 - 4070
SL: 4068
TP: OPEN
示例 2
SELL XAUUSD 5015 - 5019
SL 5021
TP 5013
TP 5011
TP 5009
示例 3
BREAKEVEN GOLD
示例 4
PARTIAL CLOSE XAUUSD
示例 5
CLOSE ALL GOLD
重要说明
本产品通过 WebRequest 连接 Discord 和 Telegram。
您必须在 MetaTrader 4 的 WebRequest 设置中允许所需的 Discord 和 Telegram URL。
该 EA 适用于 Discord 与 Telegram 之间的消息转发和通信自动化。
如需完整的 Telegram 和 Discord 使用指南,请查看 Readme。
