Alerts

This tab contains information about created alerts. The alerts are intended for signaling about events in the market. Having created alerts, one may leave the monitor as the client terminal will automatically inform about the server event.

Alerts

All alerts in this tab are represented as a table with the following fields:

  • Symbol — symbol, whose data is used to check for the condition specified. If the "Time" parameter is selected as a condition, the symbol does not matter;
  • Condition — condition under which the alert will trigger;
  • Counter — the current amount of alert triggerings;
  • Limit — maximum permissible amount of the alert triggerings;
  • Timeout — the period of time between alert triggerings;
  • Event — the action to be performed (an audio signal, a file executable in operational environment, or a message sent by email).

Context menu of this tab is used for managing alerts:

  • Create Create — open the alert creation window. The same action can be performed by pressing the Insert key;
  • Modify Modify — modify a selected alert. The same action can be performed by a double click on the alert or by clicking on it and pressing the Enter key;
  • Delete Delete — delete a selected alert. The same action can be performed by pressing the Delete key;
  • Enable On/Off Enable On/Off — enable or disable a selected alert. When disabled, an alert is not deleted, but becomes inactive;
  • Auto Arrange — when this option is enabled, the size of columns is selected automatically;
  • Grid — show/hide grid to separate fields with alerts.

Creating and Modifying Alerts

To create or modify an alert the corresponding context menu command should be executed or the "Insert" or "Enter" key should be pressed. After that the following window will appear:

Alert editor

The window contains the following alert settings:

  • Enable — enable alert triggering. If this option is not checked, other fields will be unavailable for editing;
  • Action — action performed when an event happens: play a sound, run a file or send an e-mail via the internal mailing system.
  • Symbol — symbol, whose prices will be used to check the condition. If the "Time" parameter is selected as a condition, the symbol does not matter;
  • Condition — condition under which the alert will trigger:
  • Bid < — if the Bid price goes lower than the given value, the alert will trigger;
  • Bid > — if the Bid price exceeds the given value, the alert will trigger;
  • Ask < — if the Ask price goes lower than the given value, the alert will trigger;
  • Ask > — if the Ask price exceeds the given value, the alert will trigger;
  • Last < — if the last price is lower than the given value, the alert will trigger;
  • Last > — if the last price is higher than the given value, the alert will trigger;
  • Volume < — if the volume is lower than the given value, the alert will trigger;
  • Volume > — if the volume is higher than the given value, the alert will trigger;
  • Time = — when this time comes, the alert will trigger. The local computer time in HH:MM format (for example 15:00) should be indicated here;
  • Value — value of price, volume or time, reaching which the alert will trigger;
  • Source — the file to be executed when an alert triggers. If the alert is a sound, this must be a file in *.wav, *.mp3 or *.wma format. If this is an executable file, this must be *.exe, *.vbs or *.bat. If "E-mail" is selected, a window for creating a message template to be sent will appear. The message will be sent to the mailbox specified in terminal settings. A text of the message can be simply typed in this field in "message subject\n message text" format;
  • Timeout — time between alert triggerings;
  • Maximum iterations — maximum amount of times the alert repeats triggering.

The "Test" button allows to check the usability of the selected alert. For changes to come into effect, one must press the "OK" button.

To send messages about events happened, one should set up mailbox parameters in the terminal settings.

Creating a Message to Be Sent

If mail sending is selected as the action upon alert triggering, the window of message creation will be opened after a click on the Browse button:

Alert message

In the "To" field one should indicate the mail address, to which the message will be sent. In the "Subject" field the message subject should be specified. Below is the field for entering the message text. Using "Macros" of the context menu various macros can be inserted into the text:

  • Symbol — financial security for which the alert is set up;
  • Bid — Bid price;
  • Bid High — the highest Bid price for the chart period (for stock symbols);
  • Bid Low — the lowest Bid price for the chart period (for stock symbols);
  • Ask — Ask price;
  • Ask High — the highest Ask price for the chart period (for stock symbols);
  • Ask Low — the lowest Ask price for the chart period (for stock symbols);
  • Last — the last price, at which a trade was executed (for stock symbols);
  • Last High — the highest price, at which a trade was executed for the chart period (for stock symbols);
  • Last Low — the lowest price, at which a trade was executed for the chart period (for stock symbols);
  • Volume — volume of trades executed for the chart period;
  • Volume High — maximal value of an executed trade volume for a trade session (for stock symbols);
  • Volume Low — minimal value of an executed trade volume for a trade session (for stock symbols);
  • Volume Bid — volume of a Buy trade closest to market (for stock symbols);
  • Volume Ask — volume of a Sell trade closest to market (for stock symbols);
  • Time — time of the last quote receipt;
  • Bank — supplier of financial security liquidity;
  • Login — number of the current account;
  • Balance — current balance value;
  • Equity — current equity value;
  • Profit — current profit value;
  • Margin — current margin value;
  • Free Margin — current free margin value;
  • Positions — list of all positions that are currently open;
  • Orders — current active orders (pending orders, unfilled orders to execute a trade at market).

After the alert message is created, the "Apply" button should be pressed.

 

Market
Code Base

MetaTrader 5 — a complex trading platform for providing brokerage services on the retail Forex market.

Copyright 2000-2012, MetaQuotes Software Corp.