Created
: 2022.09.20








MetaTrader 4 (MT4) and MetaTrader 5 (MT5) offer various alert settings. You can configure alerts to trigger a specified program based on specific times, prices, or order sizes exceeding a defined value. Any program can be selected, such as launching an internet browser. Note that alerts function only while MT4/MT5 is running.
Here we will look at how to set up the alerts to run a program on MT4/MT5.
| Related articles: | Set email alerts |
| Set sound alerts | |
| Set push notification alerts |
Switch between MT4/MT5 tabs to check the steps for each.
Click the "Alerts" tab of the Terminal and right-click in the tab.
Select "Create" in the context menu.
Check the "Enable" box and select "File" in the "Action" field.
Click the "..." button to the right of the "Source" field and specify the program you wish to launch when the conditions are met. When no program is specified, the MT4 installation folder will open.
You can test launching the program by clicking the "Test" button. However, you cannot test opening the MT4 installation folder while the Source field is empty.
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 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 a time interval for the alert to avoid repetitive triggers. For example, if the interval is set to 10 seconds, no additional alert will be triggered within that period, even if the condition is met again. |
|
4 |
Maximum iterations |
Set the number of times to repeat the program. Enter or select the number from the pull-down menu. |
|
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 running the program. |
|
4 |
Maximum iterations |
Set the number of times to repeat the program. Enter or select the number from the pull-down menu. |
You will see the alert you have set in the "Alerts" tab.
Once the alert is finished, the pause icon will appear on the alert.
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.
Click the "Alerts" tab of the Toolbox and right-click in the tab.
Select "Create" in the context menu.
Check the "Enable" box and select "File" in the "Action" field.
Click the "..." button to the right of the "Source" field and specify the program you wish to launch when the conditions are met. When no program is specified, the MT5 installation folder will open.
You can test launching the program by clicking the "Test" button. However, you cannot test opening the MT5 installation folder while the Source field is empty.
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. |
|
3 |
Timeout |
Set a time interval for the alert to avoid repetitive triggers. For example, if the interval is set to 10 seconds, no additional alert will be triggered within that period, even if the condition is met again. |
|
4 |
Maximum iterations |
Set the number of times to repeat the program. Enter or select the number from the pull-down menu. |
You will see the alert you have set in the "Alerts" tab.
Once the alert is finished, the bell icon will change to a check mark.
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.
![]()
Created
: 2022.09.20
![]()
Last updated
: 2026.03.18
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/
Akira Takagi
Systems engineer, MetaTrader administrator
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.
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].


MT4/MT5: Connect your MQL5 account
2023.03.01
2026.03.18
Here we will look at how to connect your MQL5 account on MT4/MT5. By connecting your MQL5 community account on MT4/MT5, you can use indicators and automated trading systems that you get on the MQL5 community and other features.


MT5: Open Task Manager
2023.02.24
2026.03.18
Here we will look at how to open the Task Manager on MT5. You can access the Task Manager to check how much of your PC's resources is being used. If MT5's performance is slowing down, use it to find out the cause.


MT5: Enable two-factor authentication
2023.02.24
2026.03.18
Here we will look at how to set up two-factor authentication on MT5. To enable it, you need to have an authenticator app installed on your phone beforehand. Two-factor authentication is not available on MT4.


Check messages from broker
2022.09.21
2025.02.20
On MT4/MT5, you can check the messages from brokers and MetaQuotes. Please note that messages will not be displayed if your broker is not sending emails, or if the message from MetaQuotes is not enabled. Here we will look at how to check messages.


MT4/MT5: Check news
2022.09.20
2026.03.18
On MT4/MT5 you can check the news from MetaQuotes and the media each broker partners with. Please note that news will not be displayed if your broker does not partner with any media, or the news from MetaQuotes is not enabled.


MT4/MT5: Set push notification alerts
2022.09.20
2026.03.18
You can send a push notification to your phone when certain conditions are met on your PC MT4/MT5. Please note that the alerts are only available when MT4/MT5 for PC is running.
Disclaimer:
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.
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