Working with email in MT4 Setting / Usage
- how to send mail in MT?
- How to set up an email in MT?
- How to send a signal to the phone?
- How to send an email from MT?
- How to set up Push in MT?
- Examples of programming signals to send to the post office?
Also in MT4 have the opportunity to use the PUSH notification
Configure can be there in the settings panel:
To configure, you need to install the MetaTrader terminal on your phone and get MetaQuotes ID
Use in EAPADPRO:
If you use our adviser with EAPADPRO, then you have the option to enable notifications by phone / mail about all events of the adviser:
- Added the ability to notify the user about actions on the account (opening, closing, modification, errors) using PUSH, Alert, Sound
- Automatic demo account determination and disabling of notifications on the demo account (User can turn on the notification in the panel settings).
By default, the real account includes information to the phone via PUSH and Sound
Next, install the program and go on your phone
Call the menu and click on "Messages" option
Will appear at the top of your MetaQuotes ID.
This tab is a tuned electronic mailbox. Later, these settings will be used to send messages on the team adviser or by a triggered alarm. To begin configuring, you must check the box "Enable" and fill in the following fields:
SMTP server - address of the SMTP-server and port. This server will be used to send messages. The entry should be in the format "[internet address of the server]: [port number]." For example, "smtp.mail.ru:25", where "smtp.mail.ru" - address of the server, and "25" - the port number.
Login - login to authorize at the mail server. Typically, this email. EXAMPLE: firstname.lastname@example.org
Password - Password for authentication (password to access the email box).
From - the email address from which the messages will be sent. In this field, you must register the name and email box address on the same mail server, SMTP-protocol, to be used. As a rule, the same name as the first part of your email address, but may not be available. EXAMPLE: your_name, email@example.com
To - the email address to which messages will be sent. Part of the address "Your name" can be omitted. In general, in the "To" field indicates any email address. EXAMPLE: any_name, firstname.lastname@example.org
"Test" button sends a test message using the specified settings that allow you to check their performance. In case of a successful test, press the "OK" button to apply these settings. In the case of a failed test is recommended to recheck all settings, restart the terminal, and resend the test message.
|string subject, string some_text)|
Reference can be disabled in the settings can also be specified email addresses. To get information about the error, you must call the function the GetLastError ().
|some_text||-||body of the letter.|
double lastclose=Close; if(lastclose<my_signal) SendMail ( "from your expert," "Price changed" + DoubleToStr (lastclose, Digits));
Push-sends a notification to mobile terminals whose MetaQuotes ID specified in the Settings tab of the "alert".
Reference can be disabled in the settings can also be specified ID.
If an error occurs, returns false. To get information about the error, you must call the function the GetLastError ().
Note: For SendNotification function () sets strict limits on the use of not more than 2 calls per second and not more than 10 requests per minute. Control of the frequency of use is dynamic, and the function can be disabled in case of violation.
text messages in length to 255 characters.
SendNotification("Цена изменилась "+DoubleToStr(lastclose,Digits));