Telegram Sender Osw MT5
- Utilities
-
William Oswaldo Mayorga Urduy
MQL4 and MQL5 trader and developer since February 2019, delivering projects in under one day and providing post-delivery technical support.
Optimized code, advanced logic, and high-quality code. - Version: 1.0
- Activations: 5
User Manual: Telegram Sender Osw
Telegram Sender Osw is an Expert Assistant (EA) designed to automate the sending of trading signals from MetaTrader to Telegram. Ideal for signal providers and account management, it sends critical data (Price, Stop Loss, Take Profit, Volume) instantly and professionally.
1. Parameter Configuration
General and Connectivity
Enable EA: Activates (true) or pauses (false) the system.
Bot Token: Alphanumeric code obtained from @BotFather.
Chat ID: Identifier of the destination channel, group, or private chat.
Send SubGroup / Thread ID: Activate these options only if your Telegram group uses the "Topics" feature.
Sending Logic (Type Send)
AUTOMATIC: Sends immediately upon detecting any new position or command.
BUTTON: Sends only when the "Send Telegram" button is manually pressed on the chart.
Customization (Telegram TXT)
Use tags that the system will automatically replace: [SYMBOL], [TYPE], [PRICE], [SL], [TP], and [VOLUME].
2. Telegram Setup (Step by Step)
A. Obtain the Bot Token
In Telegram, search for @BotFather and send /newbot.
Assign a name and username (ending in "bot").
Copy the received HTTP API Token into the TelegramBotToken parameter.
B. Obtain the Chat ID
Public Channels/Groups: Add the bot as an administrator and use the username (e.g., @MyChannel).
Private Groups: Add the bot, type /id, or use @userinfobot to obtain the ID number (e.g., -100123456789).
C. Configure the Thread ID (Optional)
If using "Topics," copy the link from any message in the subgroup. The middle number (e.g., .../567/...) is its Thread ID.
3. Critical Authorization in MetaTrader
To allow the Expert Advisor (EA) to send data outside the platform, you must follow these mandatory steps:
Go to Tools > Options > Expert Advisors.
Enable "Allow Web Requests for the listed URLs."
Manually add the URL: https://api.telegram.org and click OK.
4. Operation and Interpretation Guide
Interface: In manual mode, you will see a navy blue button on the screen. Clicking it will open a confirmation box to prevent accidental submissions.
Detection: The system monitors both Open Positions and Pending Orders.
Log: Check the "Experts" tab to confirm successful submissions or identify connection errors.
5. Usage Recommendations
Assets: Compatible with Forex, Cryptocurrencies, Indices, and Commodities. Automatically adjusts decimals based on the symbol.
Stability: A PC or VPS and a stable internet connection are recommended to avoid delays in alerts for internet outages.
Universality: Works in any time of year without affecting terminal performance.

