DuoFX Alert Relay MT4 for DuoFX Tools
- 유틸리티
-
Dragos Mihai Ofrim
DuoFX Labs: trading tools for MetaTrader 5 and MetaTrader 4
We build the tools we use ourselves: fast, clean and honest about what they do. Every product ships for both MT5 and MT4 from the same code, is tested on live charts before release, and gets updates when traders ask for something. - 버전: 1.0
Get your DuoFX indicator alerts on Telegram and Discord, with a chart screenshot, without staring at the terminal.
Free, for DuoFX products only
This relay forwards alerts from DuoFX indicators and tools that have the "Send to DuoFX Alert Relay" option. It does not forward alerts from other indicators or Expert Advisors. Supported today: DuoFX Divergence Scanner (version 1.3 and later). More DuoFX tools get the option in their next updates; the current list is on duofxlabs.com.
Need alerts from any other indicator, any EA's trades or your own price lines? That is DuoFX Alert Relay Pro: any indicator buffer, arrows drawn on the chart, trade notifications from any EA or manual trading, price line alerts and a one-line call for developers, to the same Telegram, Discord, push and email outputs.
User guide and articles
MetaTrader indicators cannot send a message to Telegram or Discord: the platform only lets an Expert Advisor do it. DuoFX Alert Relay is that Expert Advisor. Attach it to any one chart, switch on the outputs you want, and every DuoFX indicator that supports it hands its alerts to the relay, which formats them and sends them on. One relay serves every chart and every indicator on the terminal.
It is built as an alert utility and nothing else: it never places, changes or closes a trade, and it contains no trading code at all.
Telegram alerts for MT5 and MT4
- Paste your bot token and chat id (private chat, group or channel). Messages arrive as a clean card: arrow, BUY or SELL, symbol, timeframe, the indicator's name, the message and the server time.
- Optional chart screenshot sent with every alert.
Discord alerts
- Paste a channel webhook URL. Alerts arrive as a colour-coded embed (green buy, red sell, grey info), with the chart screenshot attached if you want it.
MetaTrader push notifications and email
- Also forwards to your phone through the MetaTrader app (push) and to your email, using the settings you already made in Tools > Options. Each output has its own on/off switch.
Built for real use, not just a demo
- Several indicators on several charts can send at the same time without losing or mixing up an alert.
- Survives a restart of the EA or the terminal without sending the same alert twice.
- Network down? It retries with a growing delay and sends the alert when the connection is back, unless the alert is older than the limit you set (default 5 minutes), so you never get a pile of stale signals.
- Respects Telegram and Discord rate limits and the MetaTrader push limits, and ignores an identical alert repeated within seconds.
- A status panel on the chart shows each output: OK, retrying, or exactly what is wrong. If the web address is not allowed in the terminal, it says which one to add and where.
- A "Send test alert" button sends one sample message to every output you switched on, so you know it works before the market moves.
Good to know
- Attach the relay to a quiet chart (a symbol you do not run heavy indicators on). Its timer shares that symbol's thread, so on a busy chart alerts can be delayed.
- Run one relay with outputs switched on. MT4 and MT5 on the same computer share the alert queue, so two relays would split the alerts between them.
Quick setup (about 3 minutes)
- Telegram: create a bot with @BotFather, copy the token, start a chat with it (or add it to a group or channel) and note the chat id. Discord: Channel settings > Integrations > Webhooks > New webhook > Copy URL.
- In MetaTrader open Tools > Options > Expert Advisors, tick "Allow WebRequest for listed URL" and add https://api.telegram.org and https://discord.com (only the ones you use).
- Attach DuoFX Alert Relay to any chart, paste the token, chat id or webhook in its inputs, switch the output on.
- Press "Send test alert".
- In a DuoFX indicator that supports it, turn on "Send to DuoFX Alert Relay".
FAQ
- Can an indicator send Telegram messages by itself? No. MetaTrader blocks WebRequest in indicators. That is why the relay exists.
- Does it trade? Never. It has no trading code.
- Does it need AutoTrading on? It does not trade, so the AutoTrading button is not needed for it to forward alerts. Keep "Allow WebRequest for listed URL" on, with the Telegram and Discord addresses added.
- Does it work in the Strategy Tester? The tester cannot send web requests, so the relay stays idle there and says so in the log.
- Is my bot token safe? It is stored only in the EA's inputs on your computer and is sent only to Telegram. It is never written to the log.
- Which indicators work with it? DuoFX indicators that include the "Send to DuoFX Alert Relay" option (support is being added in their updates; the list is on duofxlabs.com). The free relay works with DuoFX tools only.
- Does it work on MT4 and MT5? Yes, there is a version for each. Both read the same alert queue, so an MT4 chart can feed an MT5 relay on the same computer, and the other way round.
DuoFX Alert Relay forwards messages and does not trade. Alerts depend on your internet connection, your broker feed and third-party services (Telegram, Discord, MetaQuotes push, your mail server), and can be delayed or lost. Alerts are not trading advice or a promise of results; trading carries a high risk of loss.
