Select Language

Set alerts to run a program

There are various alert settings available in MetaTrader5 (MT5). You can run a selected program when a certain symbol reaches a certain price/time or when the order volume increases/decreases relative to the value you specified. Please note that the alerts are only available when MT5 is running. Here we'll look at how to set up the alert to run a program in MT5.

Related articles:  Set email alerts
Set sound alerts
Set push notification alerts

Step 1

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

Click the Alerts tab Click the Alerts tab

Step 2

Select "Create" from the context menu.

Select Create Select Create

Step 3

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

Select File Select File

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.

Click the ... button Click the ... button
point Click "Test" to check the program

You can test the program by clicking the "Test" button.

Click Test to check the program Click Test to check the program

Step 5

Configure the alert settings and click "OK".

Alert settings Alert settings

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 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.

The alert you have set The alert you have set

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

A check mark 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.

Edit the alert settings Edit the alert settings

Date

Created

 : 2022.09.20

Update

Last updated

 : 2022.09.20

Writer

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?
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