Links

How To Set Alerts

Alerts can be created to trigger on any user set condition, like crosses between two indicators, price entering or exiting a channel...etc. Users can be notified when the condition is triggered via desktop notifications, emails, etc.

Create An Alert

When adding the indicator to the chart, the default alerts come pre-enabled, which basically just pops up a window and says the action on whatever chart is open.
To add the other types of alerts, you'll need to activate them in the settings menu, and then configure the push notifications / email / sound alerts in the settings menu.
Go to the settings of the indicator Scroll down till you see "Alert Settings". Enable whatever alerts you prefer to use.

Email Alerts

1. Navigate to Tools → Options.

2. First, check the option “Enable email notification

3. Enter the required details

SMTP Server: Enter the SMTP server host (smtp.gmail.com)
SMTP Login: Enter the SMTP username (your email address)
SMTP Password: Enter SMTP password (your email password)
From: Enter the email from which you would like to send the email notifications.
To: The name you want the alerts to come from
If you are using Gmail you may have to use "456" as the port number. Example: "smtp.gmail.com:456". If you are using something other than Gmail, you will have to look up what port number to use.

Creating SMTP password:

When setting up your email password, you have to create an "app password" through Gmail so MT5 can login to your Gmail. This a Gmail specific tutorial. If you are using a different email provider, you will have to figure out how to create an "app password" on their platform.
  1. 1.
    Go to your Google Account.
  2. 2.
    Select Security.
  3. 3.
    Under "Signing in to Google," select App Passwords. You may need to sign in. If you don’t have this option, it might be because:
    1. 1.
      2-Step Verification is not set up for your account.
    2. 2.
      2-Step Verification is only set up for security keys.
    3. 3.
      Your account is through work, school, or other organization.
    4. 4.
      You turned on Advanced Protection.
  4. 4.
    At the bottom, choose Select app and choose the app you using
    and then
    Select device and choose the device you’re using
    and then
    Generate.
  5. 5.
    Follow the instructions to enter the App Password. The App Password is the 16-character code in the yellow bar on your device.
  6. 6.
    Tap Done.

4. Finally, click on SAVE.

Once the configured alerts condition becomes true, or an event happens, you will receive the same alert through the configured SMTP server on the “TO” email address.

Mobile Alerts

Mobile notifications also need to be enabled in the Options. They also require one additional step.
In Tools→Options→Notifications, you need to tick Enable Push Notifications and insert your MetaQuotes ID.
You will need to download and install MetaTrader app for your phone, either Android or iOS.
Unfortunately, MT5 got removed from the IOS app store recently because it's made in Russia (Ukraine situation). So you are currently not able to do push notifications for IOS.
You can still set up email notifications and just have email alerts sent to your phone.
Once MetaTrader mobile app is installed, you can retrieve the MetaQuotes ID from it as instructed in the Notifications tab.
Once configured, you can send a test to check if it works.
To start receiving alerts to your phone using MetaTrader follow these instructions;
  • Download the MT5 app on your phone.
  • Open the app on your mobile and go to the messages header. Look for your eight character ID number.
  • Open your MetaTrader charts on your desktop.
  • Select “Tools” > “Options and then “Notifications”.
  • Enable the checkbox for “Enable push notifications”.
  • Enter your eight character ID that you got from your mobile app.
  • Hit the test button. This should send a test alert to your phone to make sure it is working.

Alert Notifications

Alert notifications are enabled by default. However, if you wish to change the sound used for these alerts, you can do so in the Events tab.
Please note: In order for you to receive alerts, your chart must be open.
If you would like to be able to close your chart and still get alerts, you have to set up Virtual Hosting.