Alerts
Notification system for price levels, zones, and time events.
Line Alerts
Set alerts on any drawn object.
Horizontal lines trigger when price crosses your level. Vertical lines trigger at a specific time. Trend lines track dynamic price levels. Rectangles alert when price enters a zone.
Each alert type uses the object's position - draw it where you want to be notified.
Candle Close Alerts
React to confirmed price action.
Candle close alerts trigger after a bar closes on your selected timeframe, from M1 to MN1. The Alert Manager shows a countdown to the next potential trigger.
Use these when you need confirmation rather than immediate notification - waiting for the close filters out wicks and false breaks.
Alert Properties
Configure how and when alerts fire.
Give each alert a custom name and message. Choose when it triggers: Once fires a single time, Every minute repeats continuously, Per bar resets with each new bar, Per bar close validates using the last closed bar.
Per bar mode shows a countdown until reset. Per bar close uses bar[1] to confirm the cross actually held through the close.
Crossing Direction
Filter by how price approaches your level.
Both directions catches any crossing. Up only triggers when price moves from below to above. Down only triggers when price moves from above to below.
Detection uses OHLC data - close, high, and low are checked to validate true crossings rather than just price touching the level.
Notifications
Choose how you want to be notified.
Popup shows a dialog in MT5. Sound plays an audio alert. Push sends to your mobile device. Email delivers to your inbox.
Enable any combination - get a popup and push notification together, or email only for important levels.
SMTP Email Alerts
Professional email notifications with attachments.
The email system uses Python's smtplib for reliable delivery. Configure your SMTP server, port, and credentials once - they're stored securely in arg.json.
The Custom Email dialog lets you enhance alerts with context: include current trade information, attach a screenshot captured at trigger time, select a specific trade by ticket number, or attach ThinkPad notes tagged with 'email' in their YAML frontmatter.
Emails use HTML templates with professional formatting and support TLS/SSL encryption.
Alert Manager
Control all alerts from one panel.
The Alert Manager lists every active alert with its status - Active, Triggered, or showing a countdown to the next check. Edit properties, delete alerts, or review what's set up across your chart.
Real-time countdown updates show exactly when per-bar alerts will reset.
Alert Persistence
Alerts survive restarts and sync across machines.
Alert state saves to INI files per symbol, automatically reloading when MT5 restarts. Delete the associated object and its alert removes automatically.
INI files enable cross-machine sync - copy them between installations to keep alerts consistent. Symbol names are normalized (stripping suffixes like .sim, .pro, m, _SB) so alerts work across different broker feeds.
Changes to INI files are detected and reloaded automatically.
Spot something off? Open an issue