Help / Phone notifications: step-by-step setup

Phone notifications: step-by-step setup

Midas can send a short message to the MetaTrader 5 app on your phone: when a basket reaches the order you chose, when the grid is full, when an order is not sent. You set it up once, in about five minutes: take an ID from the phone app and enter it in the terminal where Midas runs.

What Midas sends to your phone

Midas sends push notifications to the MetaTrader 5 mobile app only: no email, no Telegram. Every message starts with Midas # and your account number. Most of the text is in the panel's language, English until you switch the panel to RU on the Alerts tab. Not all of it: in Midas 5.41 the details in “Grid changed” and the reason in brackets in some lock and basket messages may come in Russian or as an internal code such as series_goal.

On by default

MessageWhen it comesHow often
Basket reached the chosen order (6 by default)The basket has as many orders as “Signal at order” says. With the default 6 on the default 11-order grid that leaves five orders of notice.Once per basket
Grid fullEvery level of the grid is filled: no new orders will be added.Once per basket
Order not sentThe next order of an open basket was refused: not enough margin, market closed, trading disabled or the broker's order limit. While the refusals go on, the basket adds no orders, so the message at the chosen order may not come.Once per basket
Partial fillThe broker filled less volume than requested. Check the basket by hand. Also shown as a pop-up in the terminal.Every time
Margin per lot changedThe margin for the same lot moved by more than 20 %, for example when the broker lowered the leverage. Also shown as a pop-up in the terminal.At most every 30 minutes
Grid changedYou pressed Apply on the Grid tab; the message says when the new settings take effect.Every time

The first three come once per basket. If sending fails, Midas tries again every minute until it goes through. After a terminal restart the order message and Grid full are not repeated if they were already sent; “Order not sent” may come once more.

14:35 MetaTrader 5 14:35 Midas #12345678: BUY orders 6/11, lots 0.63, B/E 4098.75, move -9.80$, floating $-6.17 Diagram of a phone lock screen with a MetaTrader 5 notification: Midas #12345678: BUY orders 6/11, lots 0.63, B/E 4098.75, move -9.80$, floating $-6.17.
The order-6 message on a locked phone. The wording is Midas 5.41's, the numbers are an example: B/E is the break-even price, move is how far the price is from it, floating is the basket's result in dollars right now.

If you use the lock

What Midas does not send

No message when a basket closes in profit or a new one opens (except the lock and Exit tab cases above), none for every order, no daily summary, nothing about the license, and nothing at all when the terminal is closed or has lost its connection.

  1. Install MetaTrader 5 on your phone

    Install the official MetaTrader 5 app by MetaQuotes from the App Store (iPhone, iPad) or Google Play (Android). Take MetaTrader 5, not MetaTrader 4: they are separate apps with separate IDs, and Midas runs on MT5.

    The ID belongs to the app on this phone, not to your trading account, so you do not have to log in to your account or to an MQL5 account to get it. Logging in to your account is still useful to see the balance and positions, see Monitoring & alerts.

    • iPhone: allow notifications for the app. If you tapped “Don't Allow” at the first start, open the iPhone Settings → Notifications → MetaTrader 5 and turn on Allow Notifications. Without it the app gets no ID.
    • Android: the phone needs a working Google account. Without it the app cannot register an ID.
  2. Find your MetaQuotes ID

    iPhone and iPad

    1. Open MetaTrader 5 and tap Settings in the bottom bar.
    2. Open Messages (in some versions the item is called Chat and Messages).
    3. Your ID is at the bottom of the Messages screen.

    Android

    1. Open MetaTrader 5 and go to Messages from the side or the bottom menu.
    2. Tap MQID in the top bar: the app shows your ID. The app's Settings list it too, as MetaQuotes ID.

    The ID is a short code of letters and digits, for example 8B4E6A3D (an example, not yours). Copy it if the app lets you, or write it down, then check every character: 8 and B, 0 and D are easy to mix up.

    No ID on the screen? On iPhone check that notifications are allowed for MetaTrader 5 (step 1), on Android check the Google account. If it is still missing, see the MetaQuotes help for your phone (links at the bottom of this page).

    Diagram of two phones. On the iPhone the Messages screen shows the MetaQuotes ID 8B4E6A3D at the bottom. On the Android phone the MQID button in the top bar opens the same ID.
    Where the ID is. iPhone: Settings → Messages, the ID at the bottom. Android: Messages → MQID in the top bar. A diagram, not a screenshot: your app may look different.
  3. Enter the ID in the terminal where Midas runs

    Where: in the MT5 terminal on your VPS, the one with Midas on the chart. The settings of your home computer do not count if Midas does not run there. Connect to the VPS over Remote Desktop first.
    1. In MT5 open Tools → Options (Ctrl+O) and go to the Notifications tab.
    2. Tick Enable Push Notifications.
    3. Type your ID in the MetaQuotes ID field. For several phones enter up to four IDs separated by commas: every phone gets every message.
    4. Click Test, then OK.

    You should see: the terminal reports that the test message was sent, and a test notification appears on the phone. If it does not, see If nothing arrives.

    Options Notifications 1 Enable Push Notifications 2 MetaQuotes ID: 8B4E6A3D 3 Test OK Diagram of the MT5 Options window on the Notifications tab: the Enable Push Notifications box is ticked, the MetaQuotes ID field holds 8B4E6A3D, the Test button is highlighted.
    Tools → Options → Notifications: 1 — Enable Push Notifications, 2 — the MetaQuotes ID field, 3 — Test. A diagram: names and layout differ a little between terminal builds and languages.

    The same tab can also send MT5's own messages about trades (from the local terminal or from the broker's trade server). Midas does not need them; with a grid the local option sends a message for every trade, so it gets noisy.

    Using the built-in MetaQuotes VPS (Virtual Hosting) instead of a Windows VPS? This guide is written for a Windows VPS, see Set up a VPS. The MetaQuotes help does not say whether the notification settings move to the virtual server when you migrate. If you use it, check after the migration: hover the virtual server's status on the VPS tab and see that push notifications are allowed; if they are not, use a Windows VPS.

  4. Check the Midas settings

    Out of the box nothing needs changing: the push comes at order 6 and the signals go to the phone. What matters is on the panel's Alerts tab, and changes there take effect at once.

    On the Alerts tabDefaultWhat it does
    “Where to send signals”PhoneSound = a pop-up window with a sound in the terminal (nobody hears it on a VPS), Phone = a push, Both = both. It applies to the peak and reversal alerts and to the auto-lock, auto-reduce and Exit tab messages. The other messages do not follow this choice: the order message, Grid full and order errors go as a push only, and NotifyPush switches them off (see below).
    “Signal at order (0 = off)”6The order at which the push comes, once per basket; 0 switches it off. Keep it no higher than the number of orders on the Grid tab, and lower if you want notice before the grid is full: at the same number it comes together with Grid full, above it it may never come. In Midas 5.41 the hint under it says “push/sound”, but this signal is a push only.
    “New adverse peak, $5 step”ONLock alert: first at $10 against the basket, then every $5 further. Silent while a docup is open.
    “Reversal from peak”ONLock alert: the price pulled back $5 from the peak (counted from a $5 move). Silent while a docup is open.
    “Price back to lock”OFFLock alert: the price came back within $2 of the lock's average price after being at least $5 away; repeats every 15 minutes.
    “Panel language”ENThe language of the panel and of the messages, with the exceptions above.

    In the settings window (F7 → Inputs, group “Alerts & notifications”) there are a few more switches:

    • “Phone signal: push to mobile terminal” (NotifyPush, on) — the main switch for the ordinary pushes: the order message, Grid full, order errors, partial fill, Grid changed, the lock-button messages and the naked-position warnings. Off silences all of them. Still sent: the peak, reversal, auto-lock, auto-reduce and Exit tab messages when “Where to send signals” is Phone or Both, the “further” and “back to lock” alerts, the margin-per-lot warning and the averaging-without-lock warning.
    • “Alert: price moved further against the basket” (AlertLockAwayOn, off) — the lock alert that has no switch on the panel; it fires at $10.
    • “Lock alert: push to phone” and “Lock alert: terminal sound” (both on) — the channels of the “further” and “back to lock” alerts; these two do not follow “Where to send signals”.
    • “Show pop-up alerts about settings/account problems at start” (StartupAlerts, off) — most start-up warnings go only to the Experts log. A window still appears when positions that need attention are found at start (for example a naked position or a docup left without a basket) and on errors that stop the EA from trading. Start-up warnings are never sent to the phone.
    Once Midas has saved its state, the panel wins. Midas keeps the Alerts tab values in the terminal: “Signal at order”, “Where to send signals”, the panel language and the peak, reversal and “Price back to lock” switches. Until it saves its state for the first time (for example when the first basket opens or you press a button on the panel), it takes them from F7; after that change them on the panel, a new F7 value for the same setting may be ignored. NotifyPush and the other switches that are not on the panel always act from F7.

If nothing arrives

Press Test again (step 3) and go down the list.

The test message does not arrive

The test arrives, but Midas stays silent

A quiet phone is not the same as “all is well”. If the terminal on the VPS is closed, frozen or offline, Midas sends nothing at all, exactly like on a calm day. Open the account in the app once a day: Monitoring & alerts.

Limits

Official MetaQuotes help: terminal settings, Notifications tab · MetaTrader 5 for iPhone: Messages · MetaTrader 5 for Android: Messages · the SendNotification function.