PC Set alerts to run a program
This article was :
published
updated
There are various alert settings available on MetaTrader4 (MT4) / MetaTrader5 (MT5). You can set an alert to run your preferred program for a specific time, for when the symbol price reaches a certain level, or for when the last traded volume is bigger or smaller than the specified value. Any program can be chosen to run, such as launching an Internet browser.
Please note that the alerts are only available when 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 |
Step 1
Click the "Alerts" tab of the Terminal and right-click in the tab.
Step 2
Select "Create" from the context menu.
Step 3
Check the "Enable" box and select "File" in the "Action" field.
Step 4
Click the "..." button to the right of the "Source" field and specify the program you wish to launch when the alert is triggered. When no program is specified, the MT4 installation folder will open.
You can test the program by clicking the "Test" button.
Step 5
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 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. |
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. |
Step 6
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.
Step 7
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.
Step 1
Click the "Alerts" tab of the Toolbox and right-click in the tab.
Step 2
Select "Create" from the context menu.
Step 3
Check the "Enable" box and select "File" in the "Action" field.
Step 4
Click the "..." button to the right of the "Source" field and specify the program you wish to launch when the alert is triggered. When no program is specified, the MT5 installation folder will open.
You can test the program by clicking the "Test" button.
Step 5
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 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. |
Step 6
You will see the alert you have set in the "Alerts" tab.
Once the alert is finished, there will be a check mark.
Step 7
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.
Was this article helpful?
0 out of 0 people found this article helpful.
Thank you for your feedback.