Русский 中文 Español Deutsch 日本語 Português 한국어 Français Italiano Türkçe
MetaQuotes ID in MetaTrader Mobile Terminal

MetaQuotes ID in MetaTrader Mobile Terminal

MetaTrader 5Examples | 24 August 2012, 11:46
314 978 183
MetaQuotes
MetaQuotes

Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator. MetaTrader mobile terminal already can receive such messages right from your trading robot. You should only know MetaQuotes ID of your device. More than 9 000 000 mobile terminals have already received it.

The world around us is constantly changing. Few people remember paging, though it was extremely popular at the time. GSM phones granted us the ability to send SMS messages to any cellular network user and paging was soon forgotten.

Can we long for more? Yes, we can! We can expand our opportunities even further with push notifications - the new service provided by modern smartphones.


What is MetaQuotes ID

Push technology is widely used in mobile devices powered by iOS and Android OS allowing their users to receive instant notifications from various services in one place.

MetaQuotes ID in MetaTarder 5 for iPhonePush notifications are noted for their instant delivery. Besides, there is no need to launch third-party applications and keep them running. Also, push notifications cannot be lost in delivery and users do not depend on a specific mobile network operator. Only the appropriate device and Internet access are needed.

MetaQuotes ID is a unique user ID allowing to receive push notifications from MetaQuotes Software Corp. services and applications right on a mobile device. MetaQuotes ID is submitted to a user when installing the mobile version of the terminal:

MetaTrader 4 for iPhone MetaTrader 5 for iPhone
MetaTrader 4 for Android
 
MetaTrader 5 for Android  

A separate ID is submitted in each case preventing users from getting lost in a great amount of notifications. You can find your MetaQuotes ID in "Messages" section after installing the application. The screenshot on the left shows a user ID in MetaTrader 5 for iPhone.

Compared to unreliable SMS messages, you are not bound to a specific phone number and the messages are absolutely free. You can receive almost unlimited number of messages. You just need to ensure that your tariff plan includes Internet access.

Before the advent of push notifications, traders could use their mobile phones to receive messages about their trading account status, trading signals and other relevant information. To do this, an email was usually sent to a specific address, from which the appropriate message was then sent to a device via paid SMS gateways. But not all mobile network operators provide such a possibility. Besides, the system has several drawbacks.

With push notifications in MetaTrader mobile terminals, you can not only trade from everywhere but also use one more convenient way of working with your client terminal providing you with trading signals and important notifications on your account status. MetaQuotes Software Corp. took a step further and integrated new technologies in MQL5.community services.


How it works?

Notifications received by users via MetaQuotes ID can be of two types: notifications from the desktop version of the client terminal and from MQL5.community services.

To subscribe for the client terminal's notifications, specify MetaQuotes ID in the terminal's settings. To receive push notifications from MQL5.community, specify MetaQuotes ID in your profile. In both cases notifications are sent to a mobile device with a specified MetaQuotes ID via a special server when a certain event occurs. They are delivered instantly.


Delivering messages from the client terminal

The main advantage of push notifications is the ability to quickly react to various events in the trading terminal. Specify your MetaQuotes ID and enable push notifications in settings to receive them on your mobile device:

Configuring push notifications in the client terminal


Sending via MQL5 and MQL4

The most interesting feature of sending notifications is adding an appropriate functionality to a trading robot. Special SendNotification() function is provided in MQL4 and MQL5 languages. The function is easy to use:

//+------------------------------------------------------------------+
//|                                                 Notification.mq5 |
//|                        Copyright 2012, MetaQuotes Software Corp. |
//|                                              https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2012, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property script_show_inputs;
//+------------------------------------------------------------------+
//| Text message to send                                             |
//+------------------------------------------------------------------+
input string message="Enter message text";
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
//--- Send the message
   res=SendNotification(message);
   if(!res)
     {
      Print("Message sending failed");
     }
   else
     {
      Print("Message sent");
     }
//---
  }
//+------------------------------------------------------------------+

This sample MQL5 script sends a message to a mobile device with MetaQuotes ID specified in the terminal settings. The only parameter of SendNotification() function is a message text which should not exceed 255 characters.

With this function, you will always be in touch with your trading account and Expert Advisor. Forward-looking developers already introduce this feature in their Market products to provide additional convenient functionality.


Sending via alerts

You do not have to know MQL4 or MQL5 to work with push notifications. Messages sending can be configured via "Alerts" function in MetaTrader 4 and MetaTrader 5 terminals:

Sending push notifications via Alerts in MetaTrader 5

Select "Notification" in "Action" and enter the text that should be sent when a specified event occurs in "Source" field.

With this feature you will not miss a single important event.


Integration with MQL5.community services

MetaTrader 5 is closely integrated with MQL5.community providing traders with unique opportunities including direct access to Code Base, Articles and Market, MQL5 Cloud Network, MQL5 source codes Storage and more. Working in MetaTrader 5 is closely connected with activity on MQL5.community.


Community events

How can push notifications be of any use here? They facilitate convenient working with your MQL5.community account. After specifying MetaQuotes ID in your profile, you will receive notifications on the following important events:

  • Personal messages including their texts
  • Messages from customers or developers from Freelance service
  • Changes in the status of your publications in Code Base, Articles, Market and Signals
  • Moderator comments to your publications in Code Base, Articles, Market and Signals
  • Information messages about your rented virtual hosting
  • Comments to forum topics on blog posts
  • Announcements of new publications in Code Base and Articles
  • New orders in Freelance service
  • Notifications on registering as a Seller in Market

Enter your profile and specify MetaQuotes ID:

MetaQuotes ID in MQL5.community member's profile

Then choose events you want to receive notifications about.

Setting up notifications about about events on MQL5.community

MQL5 account security

For additional protection of your account, you can enable two-step authentication which is also based on push notifications and MetaQuotes ID. If you open the site from an unknown IP address, then in addition to the login and password you'll need to enter a special one-time code which will be sent to your mobile device using MetaQuotes ID. Enable "Authorize from allowed static IP addresses only" option at Profile — Settings — Security:

Enabling two-step authentication for an MQL5 account

If you use a static IP address, add it to the list. You won't need to enter a one-time code when visiting the site from that address. In all other cases, a code to login to your MQL5 account will be sent to your MetaTrader 4/5 mobile terminal.


Chat with MQL5.community friends and colleagues

MetaTrader 4/5 mobile terminals include a chat allowing you to communicate with your MQL5.community friends and colleagues right from your smartphone.

Chats in MetaTrader 4/5 mobile terminals


Be mobile with MetaTrader terminals

Being alert to market changes is a key ability of a successful trader. MetaTrader 4 and MetaTrader 5 trading platforms have everything to be up-to-date. Mobile terminals for the most popular iOS and Android OS platforms are available to all traders for free.

Sample MQL5 Expert Advisors for creating a message box on a chart are attached below. Place them to the [terminal dara folder]\MQL5\Experts, compile in MetaEditor and launch on any chart. Try to send notifications to your mobile device. You will surely find that easy and convenient.

Use push notifications to receive data instantly and securely. More than 9 000 000 unique MetaQuotes IDs have already been registered as of December 2016.


Translated from Russian by MetaQuotes Ltd.
Original article: https://www.mql5.com/ru/articles/476

Attached files |
message_pane.mq5 (4.32 KB)
Last comments | Go to discussion (183)
KING
KING | 22 Feb 2025 at 10:42
You need to log in to your MOL5 account on your mobile first, turn on notifications (Settings on your phone return to MT4) and then the ID's will appear underneath, the ones I've tried are already bound.
emlynjarode
emlynjarode | 3 Apr 2025 at 09:38
My android app is not showing the Meta quotes ID ,  how do I fix this am feeling really frustrated 🥴
Michael Charles Schefe
Michael Charles Schefe | 3 Apr 2025 at 11:49
emlynjarode #:
My android app is not showing the Meta quotes ID ,  how do I fix this am feeling really frustrated 🥴

contact support at bottom of every page on this website called "Contacts and requests". They will give you advice or they may be able to reset your id or send you new one.

However, I do remember reading a thread that not every device is compatible with the service. But, good luck to you.

Manuel Ricardo Davila Dena
Manuel Ricardo Davila Dena | 13 Apr 2025 at 22:40

Hi, has anyone else had a Metaquotes ID NUll on Android?

METAQUOTES ID NULL

Miguel Angel Vico Alba
Miguel Angel Vico Alba | 13 Apr 2025 at 23:08
Ricardo Davila # Hi, has anyone else had NUll of Metaquotes ID on Android happen to them?

Forum about trading, automated trading systems and testing of trading strategies

MT5 does not show MQID

somethingtrading01, 24/09/2021 20:29

When I connect to WI-FI and click the MQID button in the message bar, I get the code; however, when I restart the app and click the MQID button when using MOBILE DATA, it says it is null.


Forum for trading, automated trading systems and trading strategy testing

MT5 does not show MQID

Alexey Petrov, 16/12/2021, 09:21am

Your mobile device can only register MetaQuotes ID if a valid Google account is used on it.


How to purchase a trading robot from the MetaTrader Market and to install it? How to purchase a trading robot from the MetaTrader Market and to install it?
A product from the MetaTrader Market can be purchased on the MQL5.com website or straight from the MetaTrader 4 and MetaTrader 5 trading platforms. Choose a desired product that suits your trading style, pay for it using your preferred payment method, and activate the product.
Trade Operations in MQL5 - It's Easy Trade Operations in MQL5 - It's Easy
Almost all traders come to market to make money but some traders also enjoy the process itself. However, it is not only manual trading that can provide you with an exciting experience. Automated trading systems development can also be quite absorbing. Creating a trading robot can be as interesting as reading a good mystery novel.
Fundamentals of Statistics Fundamentals of Statistics
Every trader works using certain statistical calculations, even if being a supporter of fundamental analysis. This article walks you through the fundamentals of statistics, its basic elements and shows the importance of statistics in decision making.
Interview with Irina Korobeinikova (irishka.rf) Interview with Irina Korobeinikova (irishka.rf)
Having a female member on the MQL5.community is rare. This interview was inspired by a one of a kind case. Irina Korobeinikova (irishka.rf) is a fifteen-year-old programmer from Izhevsk. She is currently the only girl who actively participates in the "Jobs" service and is featured on the Top Developers list.