as q telegram notifier: real-time trade alerts and performance insights
Info
The as q telegram notifier: real-time trade alerts and performance insights is a Library for MetaTrader 5 that features: - real-time notifications for trade openings, closings, and modifications, including entry price, stop loss, take profit, and profit/loss. - daily and weekly profit/loss summaries with win rate, drawdown, and balance updates.
Usage
This tool is typically used for enhancing chart analysis and decision making.
Platform
This Library works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Libraries folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use as q telegram notifier: real-time trade alerts and performance insights
1. Storage: Place library files in the MQL/Libraries directory to ensure they are accessible to your projects.
2. Implementation: Include the library in your code using the #import directive, ensuring you match the exact function names and parameters.
3. Compilation: Ensure the library is present in the directory before you compile your main EA or script, as the compiler links them during this phase.
4. Management: Keep libraries organized in sub-folders if you manage many custom functions to maintain a clean project structure.
Frequently Asked Questions
Q: What is a library file used for? A: Libraries store reusable code modules, allowing you to centralize common logic used by multiple EAs or indicators.
Q: Is a library executable? A: No, libraries are non-executable files containing functions; they must be imported into an EA, indicator, or script to function.
Q: Can I update a library while the platform is running? A: You should compile your EA or script after updating a library to ensure the latest code changes are integrated.
What this tool does
features: - real-time notifications for trade openings, closings, and modifications, including entry price, stop loss, take profit, and profit/loss.
Typical Use Case
This Library excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Library works on MetaTrader 5. Place the file in the MQL5/Libraries folder and restart the terminal.
Description & Settings
Related: telegram integration made easy - another powerful library for MetaTrader 5 traders.
features:- real-time notifications for trade openings, closings, and modifications, including entry price, stop loss, take profit, and profit/loss.
Also recommended: telegram to mt5 copier - similar library with strong performance on MetaTrader 5.
- daily and weekly profit/loss summaries with win rate, drawdown, and balance updates.- alerts for ea startup and shutdown, ensuring you know when your ea is online or offline.
- support for error, warning, signal, and custom messages.
- message queue with retry mechanism: a 10-slot buffer and 3 automatic retries on failure.
- silent hours feature to suppress notifications during specified gmt hours.
- daily message statistics, including sent and failed message counters, auto-resetting at midnight.
- markdown formatting with tag labels for clear identification of trade events.
- url encoding and markdown character escaping for seamless message display.
- webrequest-based implementation, fully mql5 market compliant, without the need for dlls.
setup (3 simple steps):
demo ea included: attach the ea to any chart with your credentials:
- sends a test message and startup notification upon initialization.
- automatically detects closed trades and sends close notifications.
- provides a shutdown notification with session profit/loss when the ea is removed.
- dashboard displays connection status (verified/connected/not configured), daily send/error counts, queue status, total messages, and last error.
usage:
tg.initialize("your_bot_token", "your_chat_id", _symbol);
tg.addchatid("group_chat_id"); // optional second chat
tg.setsilenthours(true, 22, 6); // quiet time during the night
tg.verifyconnection(); // check bot token
tg.sendstartup(); // ea startup alert
tg.sendtradeopen(_symbol, "buy", 0.10, ask, sl, tp);
tg.update(); // process message queue (call regularly)
place both files in the same folder for instant compilation, no subfolder setup required.
this telegram notifier is the open-source solution powering quant cristina on the mql5 market, offering the same logic and accuracy.
files:
metatrader 5, compatible with all brokers, instruments, and timeframes.
free and open-source, with 964 lines of production-ready mql5 code.
algosphere quant — where precision meets performance.
You may also like: mt5 to telegram professional library - excellent alternative for library users on MetaTrader 5.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
#property version "1.20"
#property description "This code is provided AS IS and intended for educational purposes only. Professional trading EAs and indicators - robotfx www.robotfx.org"
#property description "This code is provided AS IS and intended for educational purposes only. Professional trading EAs and indicators - robotfx www.robotfx.org"
#property description "This code is provided AS IS and intended for educational purposes only. Professional trading EAs and indicators - robotfx www.robotfx.org"
#property description "This code is provided AS IS and intended for educational purposes only. Professional trading EAs and indicators - robotfx www.robotfx.org"
#property description "This code is provided AS IS and intended for educational purposes only. Professional trading EAs and indicators - robotfx www.robotfx.org"
#include "asq_telegramnotifier.mqh"
input group "═══ telegram credentials ═══"
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.