The secrets of the MetaTrader 4 platform: how to set up email notifications

В last article We have already learned about the secrets of MetaTrader 4, how to set up sound alerts. Today we will consider how to set up alerts on email.

Setting up a mail server

In order for the terminal to send a notification of specified events to your e-mail, you must open the "Tools - Settings - Mail" tab, check the "Enable" field and configure the mail server. In each field, the format of the parameter to be entered is marked in red.

Let's look more closely at what and where to enter it.

The "SMTP Server" field is where you enter the address of the e-mail server you are using. A colon is used to specify the port number. As a rule, this is port number 25. My mail is on the mail server gmail.com, so I will have smtp.gmail.com:25 in this field. For other mail servers you should write mail.ru, yandex.ru, and so on instead of gmail.com.

Setting up e-mail alerts
Fig. 1. Setting up e-mail notifications.

The "SMTP login" field is actually your e-mail address. For example: fortrader@gmail.com.

The "SMTP password" field is your email password, respectively.

Setting up e-mail alerts
Fig. 2. Setting up e-mail notifications.

Field "From whom" - again, enter your login and email.

The "To" field - here we enter the username and e-mail address to which the notification will be sent. For example, I want notifications to be sent to my work email address during the work day. I enter my work email address.

When filling in the fields "To" and "From" you can ignore the login, typing only the e-mail address, which I did.

Setting up e-mail alerts
Fig. 3. Setting up e-mail notifications.

After that, press the "Test" button. If everything is done correctly, in the "Terminal - Log" tab the following inscription will appear

Setting up e-mail alerts
Fig. 4. Confirmation of the e-mail alert test.

By opening my email, you can see that the test alert was safely delivered to me.

Setting up e-mail alerts
Figure 5. Test alert in the email box.

Additionally, in MetaTrader 4 terminal notification via sms is implemented. To do this, you must enter a cell phone number in the "To" field and specify the settings of the SMTP-server of your mobile operator. It should be noted that not all operators support the function of using their SMTP-servers without resorting to POP3 servers.

Creating a signal for an e-mail alert

Now we need to create the necessary signal for email alerts. Go to the tab "Terminal - Alerts" and click Insert and fill in all the fields.

Setting up e-mail alerts
Fig. 6. Creating a signal for e-mail notification.

To create an alert text, click the "..." button on the "Source" line and enter the subject and text of the message.

Setting up e-mail alerts
Fig. 7. Creating the text of an e-mail alert.

After creating a text message, press the "Send" button. Then press the "Test" button. If everything is done correctly in the tab "Terminal - Log" you can see a message from the terminal about successful sending notification to e-mail.

Setting up e-mail alerts
Fig. 8. Message from the terminal about sending a notification to e-mail.

We check our mail and see the notification we received.

Setting up e-mail alerts
Figure 9. Notification in the e-mail box.

As you can see, setting up email alerts is not complicated at all. Customize your MetaTrader 4 terminal with the full range of available features and make your trading on foreign exchange market even more comfortable and profitable.

One Comment

Leave a Reply

Back to top button