NEXA Telegram MT4
- 유틸리티
- 버전: 1.0
- 활성화: 5
=====================================================================
NEXA TELEGRAM (MT4) - MQL5 MARKET LISTING TEXT
=====================================================================
PRODUCT NAME
NEXA Telegram
(If this name is already used by your MT5 product, or the title is rejected,
use "Nexa Telegram Alerts" for the MT4 product.)
PRODUCT TYPE
Utilities > Order management / Informers (tick what fits)
PLATFORM
MetaTrader 4
---------------------------------------------------------------------
DESCRIPTION (paste into the Description tab)
---------------------------------------------------------------------
NEXA Telegram is a read-only utility for MetaTrader 4 that sends a message
to your Telegram chat the moment a trade opens or closes on your account.
It works with any Expert Advisor and with manual trades. NEXA Telegram never
opens, closes or modifies a trade. It only reports what happens.
WHAT YOU GET IN EVERY MESSAGE
When a trade opens:
- Direction and symbol
- Lot size and entry price
- Stop Loss and Take Profit
- Source (magic number or manual trade)
When a trade closes:
- Direction and symbol
- Lot size and close price
- Result in account currency (profit or loss including commission and swap)
- Close reason: Take Profit, Stop Loss, Stop Out or manual / EA
- Source (magic number or manual trade)
- Account balance (optional, off by default)
Optional: a message when a pending order is placed.
Optional: the same alerts as push notifications in the MetaTrader 4 mobile app.
KEY FEATURES
- Instant alerts for trade open and trade close
- Works with any EA and with manual trading, on any symbol
- Filter by symbol or by magic number, or watch the whole account
- Option to include or exclude manual trades
- Choose what to report: opens, closes, pending orders
- Account balance in alerts is optional and off by default
- Telegram and MetaTrader 4 mobile push can be used together or separately
- Checks the account every second, so alerts also arrive when the chart
symbol has no new ticks
- Lightweight: it does not trade and does not analyse the market
- Your bot token stays on your own computer
HOW TO SET IT UP (about 5 minutes)
1. In Telegram, create a bot with the official bot-creation chat (BotFather)
and copy the bot token.
2. Add your bot to the chat or group where you want the alerts
(for a channel, make the bot an administrator).
3. Find your Chat ID. Send any message to the bot or group, then open your
bot's "getUpdates" page in a web browser. The Chat ID is shown there.
Group IDs are often negative numbers.
4. In MetaTrader 4 open Tools > Options > Expert Advisors, tick
"Allow WebRequest for listed URL" and add:
5. In the terminal, open the Account History tab, right-click and choose
"All History" (needed so that close alerts can read the closed trade).
6. Attach NEXA Telegram to any chart (one chart is enough), enter the token
and Chat ID in the inputs, and make sure automated trading is enabled
("Allow live trading" ticked).
INPUT PARAMETERS
Telegram
- TelegramToken: your bot token (keep it secret)
- TelegramChatId: chat, group or channel ID
- UsePushNotify: also send MetaTrader 4 mobile push notifications
(set your MetaQuotes ID in Tools > Options > Notifications)
What to report
- NotifyOnOpen: alert when a trade opens
- NotifyOnClose: alert when a trade closes
- NotifyPendingOrders: alert when a pending order is placed
- ShowBalance: add the account balance to close alerts
Filters
- SymbolFilter: report only this symbol (empty = all symbols)
- MagicFilter: report only this magic number (-1 = all)
- IncludeManualTrades: include trades with magic number 0
IMPORTANT NOTES
- NEXA Telegram does not place, close or modify trades. It is an information
tool only.
- It needs internet access and the WebRequest permission for
https://api.telegram.org described above.
- Alerts are sent on a live or demo account chart. WebRequest is not
available in the Strategy Tester, so no messages are sent there.
- When a trade is partly closed, MetaTrader 4 creates a new ticket for the
remaining volume. NEXA Telegram reports the closed part and does not send
an extra "opened" alert for the remainder.
- Existing open trades are registered silently when the utility starts, so
restarting the terminal does not repeat old alerts.
- Keep your bot token private. Anyone who has the token can send messages
through your bot. If it leaks, revoke it in the bot-creation chat and
create a new one.
- Message delivery depends on your internet connection, the Telegram service
and your terminal staying online. A VPS is recommended for continuous use.
- Telegram is a trademark of its respective owner. NEXA Telegram is an
independent product and is not affiliated with or endorsed by Telegram.
