How To Set Alerts
Last updated
Last updated
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.
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.
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.
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.
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.
Go to your Google Account.
Select Security.
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:
2-Step Verification is not set up for your account.
2-Step Verification is only set up for security keys.
Your account is through work, school, or other organization.
You turned on Advanced Protection.
Follow the instructions to enter the App Password. The App Password is the 16-character code in the yellow bar on your device.
Tap Done.
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 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.
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 are enabled by default. However, if you wish to change the sound used for these alerts, you can do so in the Events tab.
At the bottom, choose Select app and choose the app you using Select device and choose the device youโre using Generate.