DuoFX Alert Relay Pro MT4
- 实用工具
-
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.1
- 更新: 10 十一月 2026
- 激活: 10
Send alerts from ANY indicator, ANY Expert Advisor and your own price lines to Telegram, Discord, your phone and email, with a chart screenshot. No coding.
MetaTrader can beep and pop up a box. It cannot send an indicator's arrow to your Telegram group, post your EA's trades to a Discord channel, or tell you on your phone that price touched the line you drew. DuoFX Alert Relay Pro does all of that from one Expert Advisor on one chart, for every chart in the terminal.
It is an alert tool and nothing else: it never places, changes or closes a trade.
Only need alerts from DuoFX tools? The free DuoFX Alert Relay does that: free DuoFX Alert Relay. Pro adds every other source below.
User guide and articles
1. Any indicator, no coding (buffer alerts)
- Type the indicator's name as it appears in the Navigator (for example Examples\RSI on MT5, RSI on MT4 or Market\Your Indicator), its inputs as text (14,30,70), and the buffer to watch.
- Two modes: signal when the buffer has a value on the bar (arrow indicators, signal buffers) or when it crosses a level (RSI through 30, a histogram through 0).
- Watch up to 4 indicators, each on a list of symbols and timeframes (XAUUSD,EURUSD and M5,H1), up to 64 charts in total. No chart has to be open for them.
- Closed bars only. Each bar is read once when it closes, never the live bar and never history at start, so no repaint spam and no flood when you attach it. Fractal-style indicators can be read a few bars back.
2. Arrows and objects drawn by any indicator
- Alert when an indicator draws a new arrow, text or line on the chart. Filter by object type and name.
- Direction from the arrow type or Wingdings code (buy and sell code lists you can edit), from the colour (pick a buy colour and a sell colour), or from words like buy, sell, long or short in the name.
- Built for indicators that redraw everything on every tick: the same arrow drawn again, even under a new name, is not sent again, and arrows on old bars are ignored. Busy terminals with thousands of objects are read a slice at a time, so the terminal never stalls.
3. Trade notifications from any EA or manual trading
- Opened, partially closed, closed, stop loss hit, take profit hit, stop out, SL or TP moved, pending order placed, moved, filled, cancelled or expired.
- Net result in your account currency after swap and commission.
- Filter by magic number (0 = manual trades), symbol and comment. A trailing stop does not flood you: at most one change alert per position every 30 seconds (you choose), with the latest levels. Indicators, arrows and price lines are capped at 20 alerts a minute each, so a noisy setup never crowds out your trade alerts.
- MT5 reacts to every trade event at once; MT4 checks every second.
4. Price alerts on the lines you draw
- Draw a horizontal line or a trendline and start its name (or description) with alert. Done.
- Alert on touch, on a cross of the live price, or only when a bar closes beyond the line (no wick alerts).
- One alert per line until you move it, or again after price moves away by a distance you set. Every open chart, or just one.
5. For developers: one call from your own code
- Include the free public header DuoFXRelayPro.mqh and call RelayProSend("buy", "Breakout above the Asian high"); from any indicator, EA or script, on MT5 or MT4.
- Works from indicators too, where MetaTrader blocks web requests: the relay does the sending, the formatting, the screenshot, the retries and the rate limits. The header and examples are in the user guide.
- Alerts from DuoFX tools with the "Send to DuoFX Alert Relay" option arrive too.
Telegram alerts, Discord alerts, push and email
- Telegram: bot token and chat id, private chat, group or channel. Optional chart screenshot with every alert.
- Discord: channel webhook, colour-coded embeds (green buy, red sell, grey info), screenshot attached.
- MetaTrader push to your phone and email, with the settings you already have in Tools > Options.
- Message templates you edit: title, source line, message, footer and email subject, with placeholders such as {symbol} {tf} {dir} {msg} {price} {time} {source} {account} and \n for a new line. Add a label per account.
Built for real use
- Retries with a growing delay when the network drops, skips alerts older than your limit (5 minutes by default), and respects Telegram, Discord and MetaTrader push rate limits.
- Ignores an identical alert repeated within seconds.
- A status panel shows every output and every source: OK, retrying, or exactly what is wrong (for example which web address to allow, or an indicator name it cannot load).
- Send test alert button.
- One Pro per terminal. If the free relay runs on the same terminal, Pro takes over and the free one waits.
Quick setup (about 3 minutes)
- 1. Telegram: create a bot with @BotFather, copy the token, add the bot to your chat, group or channel and note the chat id. Discord: Channel settings > Integrations > Webhooks > New webhook > Copy URL.
- 2. 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).
- 3. Attach DuoFX Alert Relay Pro to one chart of a quiet symbol, paste the token, chat id or webhook and switch the output on. Press Send test alert.
- 4. Pick your sources: trades and price lines are on by default; add indicators and chart objects in the inputs.
FAQ
- Does it trade? Never. It has no trading code. AutoTrading does not need to be on for it to send alerts.
- Does it work with my indicator? If the indicator writes its signals to a buffer (visible in the Data Window) or draws arrows or objects on the chart, yes. Indicators that only show a popup and write nothing anywhere cannot be read by any program.
- MT4 and indicator inputs? MT4 passes indicator inputs as numbers only, up to 8 (true and false work). Text inputs keep their defaults. MT5 has no such limit.
- Will it spam me on start? No. Every source starts silently and alerts only on what happens after that.
- Does it work in the Strategy Tester? The tester cannot send web requests, so the relay stays idle there.
- Is my bot token safe? It stays in the EA's inputs on your computer and is sent only to Telegram. The relay never writes it into its own log messages or the panel.
- MT4 and MT5 on one computer? Run Pro in each terminal for that terminal's trades, charts and indicators. Posts from DuoFX tools and RelayProSend() go to a folder the terminals share, so whichever relay picks one up sends it, with its own label and templates.
Search terms this answers: telegram alerts mt5 any indicator, telegram alerts mt4, mt4 telegram notifications, mt5 telegram notifications, discord alerts mt5, discord alerts mt4, trade notifications telegram, send mt5 trades to telegram, ea trade alerts to phone, indicator arrow alert telegram, buffer alert any indicator, price line alert telegram, trendline alert mt5, horizontal line alert, signal alerts with screenshot, mt5 to discord webhook, MetaTrader alert forwarding.
DuoFX Alert Relay Pro forwards messages and does not trade. Alerts depend on your internet connection, your broker feed, the indicators you watch 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.
