Select Language

Set email alerts

On MetaTrader4 (MT4) / MetaTrader5 (MT5), you can send a notification to the registered email address when the conditions for an alert are met on your desktop device. Please note that the push notifications are only available when MT4/MT5 is running.

point Popular for EA and indicators

The email alerts are often used for Expert Advisors (EA) and indicators to keep you updated on your trades and opportunities while away from your PC. Besides EA and indicators, you can also set the rules to send push notifications.

Here we will look at how to set up the alerts with email on MT4/MT5.

Related articles:  Set alerts to run a program
Set sound alerts
Set push notification alerts

Switch between MT4/MT5 tabs to check the steps for each.

mt4
mt5

Step 1

Click "Tools" in the menu and select "Options". (Shortcut keys: "Ctrl"+"O")

Open Options Open Options

Step 2

In the "Email" tab, check the "Enable" box. After entering the required information, click "OK".

Email settings Email settings

Number

Item name

Descriptions

1

SMTP server

Enter the IP address and port number for the SMTP server of the sending email account.

2

SMTP login

Enter the login ID for the SMTP server of the sending email account.

3

SMTP password

Enter the password for the SMTP server of the sending email account.

4

From

Enter the email address of the sender. The addresses for "From" and "To" can be the same.

5

To

Enter the email address of the recipient. The addresses for "From" and "To" can be the same.

6

Test

After filling out all the information, you can send a test email by clicking "Test".

point Only email settings are needed for EA/indicators

If you wish to use email notifications for the alert feature of Expert Advisor (EA) or indicators, you only need to complete step 1 and 2 and no further settings are required. An email will be sent when the conditions set on the EA/indicator side are met. To define the alert conditions yourself, you will need to follow step 3 onwards.

Step 3

Click the "Alerts" tab of the Terminal and right-click in the tab.

Right-click in the Alerts tab of the Terminal Right-click in the Alerts tab of the Terminal

Step 4

Select "Create" from the context menu.

Click Create to set an alert Click Create to set an alert

Step 5

Check the "Enable" box and select "Mail" in the "Action" field.

Choose Mail as the action on the Alert Editor Choose Mail as the action on the Alert Editor

Step 6

Click the "..." button to the right of the "Source" field.

Set the email on the Alert Editor Set the email on the Alert Editor

Step 7

Enter the subject and body and click "Send".

Set the email Set the email
point Click "Test" to send a test email

You can send a test email by clicking the "Test" button.

Test the email on the Alert Editor Test the email on the Alert Editor

Step 8

Configure the alert settings and click "OK".

Edit the alert details Edit the alert details

Number

Item name

Descriptions

1

Expiration

Specify the expiration time for the alert. To set the expiration time, check the box and enter the date and time or choose them by clicking the calendar symbol.

2

Symbol/Condition/Value

Specify the symbol, condition, and price for the alert.
Bid <: Notify when the bid price of the symbol goes below the specified price.
Bid >: Notify when the bid price of the symbol goes above the specified price.
Ask <: Notify when the ask price of the symbol goes below the specified price.
Ask >: Notify when the ask price of the symbol goes above the specified price.
Time =: Notify at the specified time. Set the value as "HH:MM".

3

Timeout

Set the time interval for the emails.

4

Maximum iterations

Set the number of times to repeat the email notifications. Enter or select the number from the pull-down menu.

Step 9

You will see the alert you have set in the "Alerts" tab.

Set the alert Set the alert

Once the alert is finished, the pause icon will appear on the alert.

Set the alert Set the alert

Step 10

To edit the alert settings, right-click on the alert and select "Modify" in the context menu. You can also select "Delete" if you wish to remove the alert, or "Enable On / Off" to disable it temporarily.

Modify, delete, or enable/disable the alert Modify, delete, or enable/disable the alert

Step 1

Click "Tools" in the menu and select "Options". (Shortcut keys: "Ctrl"+"O")

Increase the bars Increase the bars

Step 2

In the "Email" tab, check the "Enable email notifications" box and enter the account details for the SMTP server of the sender, the sending email address, and the receiving email address. Click "OK" to save the settings.

Enter the details and click OK Enter the details and click OK

Number

Item name

Descriptions

1

SMTP server

Enter the IP address and port number for the SMTP server of the sending email account.

2

SMTP login

Enter the login ID for the SMTP server of the sending email account.

3

SMTP password

Enter the password for the SMTP server of the sending email account.

4

From

Enter the email address of the sender. The addresses for "From" and "To" can be the same.

5

To

Enter the email address of the recipient. The addresses in "From" and "To" can be the same.

6

Test

After filling out all the information, you can send a test email by clicking "Test".

Step 3

Click the "Alerts" tab of the Toolbox and right-click in the tab.

Right-click in the Toolbox Right-click in the Toolbox

Step 4

Select "Create" from the context menu.

Select Create Select Create

Step 5

Check the "Enable" box and select "Mail" in the "Action" field.

Select Mail in the Action field Select Mail in the Action field

Step 6

Click the "..." button to the right of the "Source" field.

Click the ... button Click the ... button

Step 7

Enter the subject and body and click "Apply".

Click Apply Click Apply
point Click "Test" to send a test email

You can send a test email by clicking the "Test" button.

Click Test to send a test email Click Test to send a test email

Step 8

Configure the alert settings and click "OK".

Configure the alert settings and click OK Configure the alert settings and click OK

Number

Item name

Descriptions

1

Expiration

Specify the expiration time for the alert. To set the expiration time, check the box and enter or select the date and time. If you don't want to set it, put an X mark in the box.

2

Symbol/Condition/Value

Specify the symbol, condition, and value for the alert.
Bid <: Notify when the bid price of the symbol goes below the specified value.
Bid >: Notify when the bid price of the symbol goes above the specified value.
Ask <: Notify when the ask price of the symbol goes below the specified value.
Ask >: Notify when the ask price of the symbol goes above the specified value.
Last <: Notify when the last price of the symbol goes below the specified value.
Last >: Notify when the last price of the symbol goes above the specified value.
Volume <: Notify when the last traded volume of the symbol goes below the specified value. Set the value in price (base currency).
Volume >: Notify when the last traded volume of the symbol goes above the specified value. Set the value in price (base currency).
Time =: Notify at the specified time. Set the value as "HH:MM".

3

Timeout

Set the time interval for the emails.

4

Maximum iterations

Set the number of times to repeat the email notifications. Enter or select the number from the pull-down menu.

Step 9

You will see the alert you have set in the "Alerts" tab.

You will see the alert you have set You will see the alert you have set

Once the alert is finished, there will be a check mark.

A check mark A check mark

Step 10

To edit the alert settings, right-click on the alert and select "Modify" in the context menu. You can also select "Delete" if you wish to remove the alert, or "Disable" to disable it temporarily.

Edit the alert settings Edit the alert settings

Date

Created

 : 2022.09.20

Update

Last updated

 : 2024.03.27

Takayoshi Nakamaru

Manual production consultant, MBA

arrow
Takayoshi Nakamaru

Nakamaru is a manual production consultant at FINTECS, a company that specializes in creating manuals for their clients.
With a wide range of experience from fintech to entertainment, he presents what user-friendly manuals should be like.
He works with numerous large corporations as an external manual production project manager.

【Business information】
http://www.fintecs.co.jp/profile/

Supervisor

Akira Takagi

Systems engineer, MetaTrader administrator

arrow
Akira Takagi

After graduating from Computer Science at the Uninove, Brazil, in 2014, he has worked on various systems development projects.
He participated as a developer in the launch of forex services in 2019. Since then, he has also been involved in the development of MetaTrader plugins and APIs. He is certified by MetaQuotes as a MetaTrader5 Administrator and active in consulting and advisory as well.

Was this article helpful?

We hope you find this article useful. Any comments or suggestions will be greatly appreciated.  
We are also looking for writers with extensive experience in forex and crypto to join us.

please contact us at [email protected].

Thank you for your feedback.
Thank you for your feedback.

Disclaimer:arw

All information and content provided on this website is provided for informational purposes only and is not intended to solicit any investment. Although all efforts are made in order to ensure that the information is correct, no guarantee is provided for the accuracy of any content on this website. Any decision made shall be the responsibility of the investor and Myforex does not take any responsibility whatsoever regarding the use of any information provided herein.

The content provided on this website belongs to Myforex and, where stated, the relevant licensors. All rights are reserved by Myforex and the relevant licensors, and no content of this website, whether in full or in part, shall be copied or displayed elsewhere without the explicit written permission of the relevant copyright holder. If you wish to use any part of the content provided on this website, please ensure that you contact Myforex.

  • Facebook
  • Twitter
  • LINE

Myforex uses cookies to improve the convenience and functionality of this website. This website may include cookies not only by us but also by third parties (advertisers, log analysts, etc.) for the purpose of tracking the activities of users. Cookie policy

I agree
share
Share
Cancel