거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

ASQ Telegram Notifier - MetaTrader 5용 라이브러리

Emmanuel Nana Nana
게시자:
Muharrem Rogova
조회수:
203
평가:
(2)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Professional Telegram integration library for MetaTrader 5 EAs.

Your EA is running on a VPS and you need to know what it's doing. ASQ Telegram Notifier sends trade alerts, daily summaries, error notifications, and signal broadcasts straight to your phone. Multi-chat support lets you copy alerts to your personal chat, your trading group, and your signal channel simultaneously. Failed messages get queued and retried automatically.

Architecture


FEATURES:
- Trade open/close/modify notifications with entry, SL, TP, and P/L
- Daily and weekly P/L summaries with win rate, drawdown, and balance
- EA startup and shutdown alerts (know when your EA goes online/offline)
- Error, warning, signal, and custom message support
- Multi-chat support — send to up to 3 Telegram chat IDs simultaneously
- Message queue with retry — 10-slot buffer, 3 auto-retries on failure
- Silent hours — suppress notifications during configurable GMT hours
- Connection health check — VerifyConnection() via Telegram getMe API
- Rate limiting (20 msg/min) to respect Telegram Bot API limits
- Daily message stats (sent/failed counters, auto-reset at midnight)
- Markdown formatting with tag labels ([OPEN], [CLOSE], [DAILY], etc.)
- URL encoding and Markdown character escaping
- WebRequest-based — fully MQL5 Market compliant, no DLLs

SETUP (3 steps):
1. Message @BotFather on Telegram, type /newbot, get your BOT_TOKEN
2. Message @userinfobot on Telegram, get your CHAT_ID
3. In MT5: Tools -> Options -> Expert Advisors -> Add https://api.telegram.org to allowed URLs

DEMO EA INCLUDED:
Attach to any chart with your credentials:
— Sends test message and startup notification on initialization
— Auto-detects closed trades and sends close notifications
— Sends shutdown notification with session P/L on EA removal
— Dashboard shows connection status (Verified/Connected/Not Configured), daily send/error counts, queue status, total messages, and last error
USAGE:
#include "ASQ_TelegramNotifier.mqh"
CASQTelegramNotifier tg;
tg.Initialize("YOUR_BOT_TOKEN", "YOUR_CHAT_ID", _Symbol);
tg.AddChatId("GROUP_CHAT_ID");              // Optional 2nd chat
tg.SetSilentHours(true, 22, 6);             // No buzzing at night
tg.VerifyConnection();                       // Check bot token
tg.SendStartup();                            // EA is live
tg.SendTradeOpen(_Symbol, "BUY", 0.10, ask, sl, tp);
tg.Update();                                 // Process queue (call periodically)

Place both files in the same folder — compiles instantly, no subfolder setup needed.

This is the open-source notification engine behind Quant Cristina on the MQL5 Market. Same logic, same accuracy.

FILES:
- ASQ_TelegramNotifier.mqh — Library (708 lines)
- ASQ_TelegramNotifier_Demo.mq5 — Demo EA (256 lines)

MetaTrader 5, all brokers, all instruments, all timeframes.
Free and open-source. 964 lines of production MQL5.

AlgoSphere Quant — Precision before profit.
https://www.mql5.com/en/users/robin2.0
ASQ Trade Frequency Controller ASQ Trade Frequency Controller

Runtime trade frequency adjustment library for MetaTrader 5.

ASQ Risk Analytics Engine ASQ Risk Analytics Engine

Institutional risk analysis library for MetaTrader 5. Zero external dependencies. Pure MQL5 mathematics.

Smart Money Concepts Smart Money Concepts

An indicator which features full Smart Money Concept (SMC) + Break Of Structure (BOS) + Change Of Character (COC) + Fair Value Gap (FVG) Detection and Buy/Sell signals.

ASQ Recovery Engine ASQ Recovery Engine

Intelligent anti-tilt risk management library for MetaTrader 5.