Skip to content
All library documents

Enforcing Live Trading Limits with MetaTrader 4 Alerts and Reports

Article MQL5 articles

Summary

This guide describes how to configure MetaTrader 4’s built-in event notifications, user-defined alerts, email delivery, and periodic account reports. System events can play sound or launch a selected file. Custom alerts can trigger when a symbol reaches a price condition or when a timer expires, with controls for repetition and timeout. Alerts can use sound, executable actions, or email, and the email settings can be checked with a test message.

The article also explains how to publish account reports to an FTP server on a schedule, with active and passive transfer modes determining which side initiates the connection. A change to a trading position or order can trigger immediate publication, while the stated report accuracy excludes current market price and profit. This is a terminal configuration reference rather than a trading strategy: it shows notification and monitoring options but does not assess their reliability across brokers, mail providers, or network conditions.

Key ideas

  • MetaTrader 4 system events can play sound or launch a selected file as an alert action.
  • Custom alerts can be based on a symbol’s price condition or a timeout and can repeat at configured intervals.
  • Email alerts require SMTP settings, and the guide recommends verifying delivery with a test message.
  • FTP reports can be published periodically, with position or order changes triggering an immediate update.
  • The report mechanism’s stated accuracy excludes current market price and profit.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.