MetaTrader 4 Help
MetaTrader 4 HelpClient Terminal SettingsNotifications

Notifications

The client terminal supports sending of notifications about various events to mobile devices powered by iOS and Android using push messages. With this feature, a trader can track all the updates.

Push notifications are short messages of up to 255 characters. Such notification are delivered immediately and are never lost.

There are two ways to send push notifications from the client terminal:

Through an MQL4 application

The MQL4 language provides a special SendNotification function which allows MQL4 programs to send push notifications to a MetaQuotes ID specified in the terminal settings.

Through the signals function

The client terminal allows you to create signals for alerting you of events in the market. This feature is available in the Signals tab of the Terminal window. One of the event notification types is push notifications.

  • Push notifications can also be used to obtain information about the updates on the MQL5.community site. To do this, specify your MetaQuotes ID in the user profile in "Contacts" tab.
  • There is a limitation on the number of messages that can be sent: no more than 1 message per 0,5 second and no more that 10 messages per minute.

Notifications

The notifications setup window includes the following options:

  • Enable Push notifications – to allow the client terminal to send notifications, enable this option.
  • Notify of trade operations – if this option is enabled, the client terminal will automatically send notifications about successful trade operations to a specified MetaQuotes ID. The platform will also send notifications about any balance operations performed on the account as well as about the Margin Call state (in this case notifications are sent periodically, as long as the account is in the Margin Call state). Notifications about unsuccessful operations (for example, an order is rejected due to incorrect parameters) are not sent.

After setting up the options, enter one or more MetaQuotes IDs, separated by commas. You can specify up to 4 MetaQuotes IDs; the notifications will be sent to all of the devices simultaneously.

To find your MetaQuotes ID, open your mobile terminal and go to Settings -> Messages. This page in the terminal for iPhone looks as follows:

MetaQuotes ID

To test the function notification sending, click Test. If your notification is successfully sent, you see an appropriate message, and the notification will arrive on your mobile device.

To install the mobile version of the terminal, use the following links: