On the world's financial markets and stock exchanges. Part 2
MoneyRain MetaTrader 4.0 manual
The client terminal is a part of the information-trading system and is installed by downloading it from the website of MoneyRain Corporation broker www. moneyrain.ru. It is installed on a trader's computer and intended for
- to get quotes and news in real time;
- execution of trading operations;
- control and manage the status of open positions and pending orders;
- performing technical analysis;
- writing of expert advisors, custom indicators, scripts and functions in MetaQuotes Language 4 (MQL 4);
- testing and optimization of trading strategies.
You need timely and reliable information to make a trading decision. For this purpose the terminal has functions of real time data and news delivery. On the basis of promptly received quotes you can analyze markets using technical indicators and linear tools. Expert Advisors allow getting rid of routine watching the markets and your own positions. Additionally, several order types are built into the terminal to provide more flexible position management.
The client terminal can run on Microsoft Windows 98SE/ME/2000/XP/2003 operating systems. Hardware requirements are limited by requirements to operating systems.
1) Getting started.
In order to install the terminal you need to download the distribution package and run it. Then you need to select the program installation directory and follow the wizard prompts. Once the installation is complete the terminal will launch automatically.
You can also install the terminal over the already installed version. All terminal settings will stay exactly as saved in the previous version. The only exceptions are DEFAULT profile and template and standard MQL4 programs that are included into the package. Therefore it is recommended not to change standard templates and profiles, and create MQL4 programs under unique names.
If you need to work with several accounts simultaneously, then the corresponding number of terminals must be installed in different directories. Each terminal has individual settings except for registration data and interface language, which are written in the system registry.
When installation is completed, a client terminal program group is created in the Start menu and a program shortcut is additionally placed on the desktop. You can use them to start the client terminal.
Attention: you cannot run two copies of the client terminal from the same directory at the same time. To start several terminals at once you need to install corresponding number of programs in different directories.
Terminal can be launched from command line by setting certain parameters. The account number and profile name can be used as a parameter. If the account number has been specified, the programme will attempt to authorise this account when it starts. If a profile was specified, it will be automatically loaded. For example, terminal.exe "123456-'British Pound'", where "123456" is the account number and British Pound is the profile name. If there are spaces in the command line (as in the above profile name), double quotes must be used. If there are no spaces, you don't have to use double quotes. Single quotes are used for profile names. For example, terminal.exe 123456-'GBPUSD'. In the command line it is possible to use either only login or login and profile; a profile cannot be used without a login.
It is also possible to run the terminal with preset settings.
2) Account opening.
Terminal allows to work with two account types: demo (training) and real accounts. Demo accounts allow to work in a training mode without real money, but at the same time to qualitatively work out a trading strategy. They possess all the same functionality as the live accounts. The distinction consists in that demo accounts can be opened without any investments, and, hence, you cannot claim any profit from them.
To open a demo account run the "File - Open account" menu command or the context menu command of the same name in the "Navigator - Accounts" window. Besides, you will be offered to open a demo account the first time you run the software, so you can start working straight away.
When opening an account, the following data will be requested:
Name - full name of the user;
Country - country of residence;
Region - area (region, district, state, etc.) of residence;
City - the city of residence;
Index - postal code;
Address - exact address of residence (street, house and flat);
Phone - contact telephone number;
E-mail - e-mail address;
Account type - account type that is selected from the list defined by the brokerage company;
Deposit currency - base currency of the deposit, that is automatically set according to the selected account type;
Leverage - ratio of borrowed and own funds for trading operations;
Deposit - the amount of initial deposit in the base currency.
In order to activate the "Next" button and continue registration, it is necessary to check the "I agree to receive news by e-mail" box. Then you need to select the server you would like to connect to. The list contains the addresses of available servers, their names and the connection time (ping). The server with the shortest connection time is preferred. After successful registration a window will appear, containing information about the open account: "Login" - account number (account number), "Password" - password for access, "Investor" - investor password (connection mode, in which you can view the account status, analyze price dynamics, etc., but cannot make any trades). After the registration is completed, the new account will appear in the "Navigator - Accounts" window and you will be able to work with it. The server also sends an e-mail with login and password for this account to the terminal. This letter can be found in the "Terminal - Mailbox" window. Besides, after successful registration the account is automatically authorized.
After you have completed registration of the demo or real account and press the "Done" button, pay attention to the status bar at the bottom of the terminal, where the additional information is displayed. On the right side of this line there are connection indicator and name of the active template and profile. If the right side of this line contains numbers indicating how much data the terminal has received and sent (in kb), the connection with the quote server is established. If the following messages appear in the line: "No connection" or "Invalid login", it is necessary to check the internet connection or the correctness of the data entered.
In contrast to the demo accounts, the real accounts can't be opened from the terminal. The real accounts can be opened by a brokerage company on particular conditions. The terms and conditions of opening a real account for Russian-speaking clients of MoneyRain Corporation can be found on the Company's web-site www.moneyrain.ru. Real accounts are marked with the corresponding icon in the "Account Navigator" window. In order to start working with them, one should perform authorization. Authorization is connection of the terminal to the server using a login and a password. It allows managing a trading account. Two accesses to the account are implemented in the terminal: normal and investor. Authorization with master password gives full rights to work with the terminal. Investor authorization allows you to see the account status, analyze price data, and work with your own Expert Advisors, but not trade. Investor access is a convenient tool for demonstration of trading on the account.
In order to authorize yourself it is necessary to execute "Login" command of the account context menu (context menu can be opened by clicking the right mouse button on the account number) in the "Navigator" or "File" menu. Then specify the account number, one of the passwords (main or investor) and select the server in the window that appears. After specifying all the data press the "Login" button.
All information exchange between the client terminal and the server is encrypted using 128-bit keys. This is enough to ensure security of trading operations. However, in addition to this system, the terminal allows you to use another one - the security system based on the algorithm for digital signatures RSA. This is an asymmetric encryption algorithm, which implies a public and a secret key. The public key can be freely distributed and used to authenticate the message, which is signed using the secret key. It is guaranteed that knowing the public key, it is impossible to compute the secret key in a reasonable amount of time. Computing the secret key from the public key, even on today's powerful computers, can take tens or hundreds of years.
Attention: an additional security system based on electronic digital signatures (EDS) is enabled on the server.
When you connect to the server for the first time, a special window appears, intended for generation of public and private keys. To create keys you should move mouse cursor in black area of the window to create random data sequence. This sequence will generate keys on its basis. The generated key pair (public and private) is saved on the hard drive and the public key is sent to the trading server. In the future, the server will use the public key to verify the authenticity of the signed information.
if additional security is enabled for the trading account, the generated keys (public and private) must be transferred to another computer. The latter are KEY files and are located in the /CONFIG folder;
In the case of loss or damage of any of the keys, contact the technical support team of the brokerage company.
The terminal has an integrated system of automatic updates. It allows getting and installing new program versions on-the-fly. This system is always on and cannot be switched off.
When connecting to the server terminal checks availability of the new program versions. If a newer version has been detected, a new "Live Update" window appears and prompts you to download the update. Press "Start" button to start downloading the updated files. The window will show the progress of the update and the list of downloaded files. After the download is completed, the new version of the terminal will be automatically installed and restarted.
If there is no connection to the server the automatic update will not start;
if there are any problems with the automatic update, contact the technical support service;
Expert Advisors, indicators and scripts provided with the client terminal can be overwritten during updating.
3) Terminal settings.
General settings of the client terminal can be performed in a separate window that can be opened using "Service - Settings" menu command or Ctrl+O accelerator keys. All settings are grouped by their purpose and located in tabs:
Server - server connection settings, configuration of proxy server and Data Centres used, as well as other important settings;
Charts - general configuration of price charts. Here you can define whether period separators, Ask price level, OHLC line will be shown or not. In addition, in this tab you can set the number of bars stored and displayed on the chart;
Objects - setup of object management parameters. Selecting of objects after their creation, their immediate adjustment and magnetization parameters are set up here;
Trade - parameters of opening new orders by default. They are: symbol, number of lots and deviation;
Expert Advisors - settings common to all Expert Advisors. They include: banning of Expert Advisors, possibility to import functions from external DLLs and Expert Advisors and a number of other features;
E-Mail - settings of the e-mail. If there is a need to send e-mails directly from the terminal, it is necessary to configure parameters of the mailbox used;
Publication - setup of publication of reports on the Internet. The terminal allows to publish real-time reports on the state of the account in the Internet. Connection via ftp-protocol is used for this purpose that can be set up in this tab;
Events - configuration of signals about system events. Signals informing about connection unavailability, news receipt and others make the work much easier.Server tab
This tab contains the most important settings, changes to which can cause serious problems to the terminal, up to and including a complete shutdown. The client terminal is initially configured to ensure normal uninterrupted operation. Therefore, it is strongly recommended not to change any settings in this window unless necessary.
In the "Settings - Server" window you can:
select a server to connect to;
configure proxy server;
configure work through Data Centres;
Set and change passwords;
enable export of quotes via DDE protocol;
enable receipt of news.
All work of the client terminal is based on the data constantly coming from the server (news and quotes). If the client terminal does not receive quotes, it cannot perform trading operations. In this mode, the terminal can only analyze already existing data with the help of indicators and line studies, as well as test Expert Advisors. This situation can arise for a number of reasons, one of which is the wrong setting of the connection with the server.
In order to connect the client terminal to the server one should exactly know server's IP address (or domain name) and the connection port. After installing the program all these data are already specified, they do not need to be changed. However, if the need arises to connect to another server, its address and port must be entered in the "Server" field. The entry must be in the format "[Internet server address] : [port number]" (without spaces). For example, "192.168.0.1:443" where "192.168.0.1" is the server address and "443" is the port number. You should press the "OK" button when you have finished entering.
The newly set server address and port are saved on the hard disk. These data do not affect the operation of the client terminal until an attempt is made to open a new account. It is at this point that the terminal starts using the specified server address and port. The new server address will be added to the list of servers when registering the account, and can be selected. If the connection to the server was established successfully, the new account will be opened. Otherwise it is recommended to check all settings and try again.
Attention: Incorrect server connection settings are not the only reason why a new account cannot be opened.
Connecting to the Internet through a proxy server may be another reason for not connecting to the server. A proxy server is an intermediate between a trader's computer and a trade server. It is usually installed at your Internet service provider or in the local network. If you have connection problems, you should contact your system administrator or your provider. If a proxy server is used, the terminal must be configured accordingly. The "Enable proxy server" check box enables proxy server support and activates the "Proxy..." button. When you click this button, a window opens in which proxy server parameters are set (this information can be obtained from your system administrator or ISP):
Server - proxy server address and type (HTTP, SOCKS5, SOCKS4);
Login - account to access the proxy server. If your username is not needed, you can leave this field empty;
Password - password to access the proxy server. If the password is not required, the field should be left blank.
Upon completion it is recommended to press the "Test" button to test the workability of the settings. When you receive a message that the settings have been successfully tested, press the "OK" button for the settings to take effect. An error message indicates that the proxy server settings are incorrect. Contact your system administrator or service provider again to clarify the reasons.
Data Centres (access points) are part of a trading platform and are specialized proxy servers. They allow to save shared traffic: the same quotes and news are distributed to several client terminals at a time. Access points are located between the server and the client terminals. And one server can have several access points through which all traders will connect. After the terminal is installed, connection to data centres is set automatically. It is strongly not recommended to change anything. Incorrect configuration of connections to Data Centers can cause the terminal to fail to connect to the server. If the Data Centers' settings need to be changed, it is recommended that you contact the Service Department. They will provide you with all the information necessary to configure the Data Centres correctly. In most cases you just need to select the "Auto Data Center Configuration" checkbox. In this case, the client terminal will automatically select the most preferred access points.
The client terminal can only connect to the server and work using the account. The client terminal has a login (account number), main password and investor password. For authorization you need account number and one of two passwords. The master password gives you full access to your account, whilst the investor password gives you limited access to your account. Investor authorization allows you to view charts, conduct technical analysis and test Expert Advisors but does not allow you to trade. Investor access is a convenient tool for demonstration of trading on the account.
After you create an account and if the box "Save personal settings and data on startup" is checked the account data (number, main and investor passwords) will be saved on your hard drive. This data is used to automatically connect the account when the software is restarted. If this box is not checked, you will need to enter the password manually each time you start the terminal. In the "Login" and "Password" fields, enter the current account number and password. You can enter the details of another account into these fields and after pressing the "OK" button an attempt will be made to authorise it. If authorisation is unsuccessful, check the data and authorise again. If this does not help, contact technical support.
Press the "Change" button, new passwords can be set in the window that appears. At the same time it is necessary to know the current password. It can be found in an email sent from the server after registering a demo account. The new password is written in the corresponding field. If the "Change investor password" box is checked, the investor password is changed, not the main password.
Data export using DDE protocol
Quotes that come to the terminal can be exported to other applications using the "DDE" (Dynamic Data Exchange) protocol. To enable the export of quotes, check the "Enable DDE server" box and press the "OK" button. The data delivery will start immediately.
The terminal allows to promptly receive financial news. They begin to arrive only after you connect to the server. No news that was released at the time when the terminal was disconnected will appear in the terminal. In order to enable news delivery the "Enable news" checkbox must be selected. The "News" tab will appear in the "Terminal" window, where they will be delivered as soon as they are released.
Attention: If the "Allow news" box is ticked, but no news are released, the "News" tab will not appear in the "Terminal" window.
Charts show dynamics of prices of financial instruments. Charts settings and history data parameters are grouped in this tab. Changing of parameters in this tab will not cause any global changes in operation of the terminal.
Lines of open and pending orders placed directly in the chart let you see exactly where the position has been opened, when the pending order, Stop Loss or Take Profit will trigger. This option facilitates the traders' work and allows avoiding some mistakes caused by human factor. To enable it, tick the "Show trade levels" box and click "OK". After that, lines corresponding to prices for opened positions and placed orders will appear in the chart. Of course, if there are no orders placed or no positions opened, no levels will appear in the chart. Also note that this option applies only to open positions and orders. No closed positions are subject to this option.
Bars in the terminal are drawn and shown only at Bid prices. However, the Ask price is always used when opening a long position and closing a short one. In this case, it is not shown on the chart in any way - it cannot be seen. To control one's trading activity more precisely, one can enable the "Show Ask line" parameter. After this command has been executed, an additional horizontal line corresponding to the Ask price of the latest bar will appear in the chart.
The charts reflect the dynamics of prices, but often the exact bar parameters are very difficult to determine by eye. The "Show OHLC" option helps in this situation. It places an additional information line in the upper left corner of each chart. It contains not only the name of the symbol and period of the chart but also the prices of the last bar. Recorded prices are in the following formats: OPEN, HIGH, LOW and CLOSE (OHLC) - bar open price, maximum bar price, minimum price and close price respectively. This way you can always see the exact value of the last bar.
Period separatorsThe horizontal axis of the graph shows the date and time of each bar. The division price of this horizontal scale is the selected period (timeframe). The option "Show period separators" draws additional vertical lines on the chart, corresponding to the boundaries of a larger timeframe. Thus, daily separators are drawn for charts with periods from M1 to H1, H4 - weekly, D1 - monthly, and W1 and MN1 - annual.
The terminal allows printing not only black and white but also colour charts of price movements. They are more convenient for analytical purposes than black and white. In order to enable this option, the "Color print" checkbox must be enabled and the "OK" button pressed. All graphs will then be printed in colour if the printer permits.
Saving templates of deleted charts
The terminal allows to restore charts that have been deleted from the workspace. If the "Save deleted windows to reopen" option is enabled, its template is saved in the /DELETED directory when the chart is deleted. In the future, using the "File - Open Deleted" menu command, any deleted chart can be restored. For example, if you close the four-hour chart of EURUSD, you can restore it. The four-hour chart will also be restored, and all of its settings, as well as the imposed features (indicators, line studies) will also be restored.
Number of bars in history and in charts
There is a difference between the number of bars stored in the history and displayed on the charts. It is determined by the fact that any amount of bars can be stored in the hard disk provided that it has enough space. At the same time bars shown on charts are limited by the computer resources. To calculate the values of technical and custom indicators bars shown on the chart are also used. When many indicators are used simultaneously and a great amount of displayed data is displayed, computer free resources (central processor load and free RAM) can exhaust very soon. To avoid such problems, you can specify the amount of data displayed on the charts yourself. This can be done by selecting a suitable value from the dropdown list or by manually entering it in the "Max bars on chart" field. The number of bars stored in the hard disk is specified in the "Max bars in history" field. Later this value will be used for testing of Expert Advisors. Any number of bars can be written here.
when closing the chart, no more bars are saved than specified in the "Max bars in history" field;
When opening a chart, no more bars are loaded than specified in the "Max bars in history" field. In this case the number of bars in the chart can exceed this value when loading the quotes;
values of options "Show Ask line", "Show OHLC" and "Show period separators" set in this window are default parameters. For each specific chart, the same parameters can be set individually in the settings window;
values of "Show trade levels", "Color print" and "Save deleted chart templates" options set in this window affect all charts and come into effect immediately after the "OK" button is pressed.
Settings related to working with graphical objects are grouped in this tab. Graphical objects are all tools located on the control panel and in the "Insert" menu. They include technical indicators (including custom indicators), line tools, geometric shapes, text and icons. The parameters grouped in this tab facilitate working with graphical objects and cannot cause critical changes in the operation of the terminal.
Show settings after creation
All graphical objects have certain properties. For example, thickness and colour of the trend line, period of the indicator signal line, etc. Most traders use standard settings of all graphical objects but in some cases it is necessary to set them up individually. The "Show settings after creation" option allows to customize objects right after imposing them. This is convenient when the chart contains many objects with individual settings.
Select objects after creation
Unlike indicators, such objects as line studies, text, icons and geometric shapes are positioned manually in charts. After creating an object you might need to move it, for example to position a trendline more precisely. For that you need to select the necessary object first. The "Select object after creation" option allows to do that immediately after imposing an object on a chart.
Select objects by a single mouse click
Graphical objects in the terminal can be selected by double or single mouse click. This option allows to switch between methods of objects selection. If it is checked, all objects are selected by single click. When it is checked, double click brings up object properties window. When disabled, all objects are selected by double-clicking.
The terminal allows to "magnetize" checkpoints of objects to different bar prices for more precise location. In the "Magnetization" field you can set the sensitivity of this option in pixels. For example, if a value of 10 is set, the object will automatically be magnetized to the closest bar price (OHLC) when a reference point appears within 10 pixels of it. To deactivate this option, set it to 0.
This tab contains grouped settings of order opening. Parameters set from here facilitate the work when opening orders and cannot cause critical changes in the work of the terminal.
The "Default symbol" option allows you to automatically set the symbol value in the "Order" window when you perform a trade operation. The "automatic selection" option means that this field will be set to the symbol of the active chart, "last used" - to the symbol of the previous trade. In order to always have the same symbol set, it is necessary to check the "default" option and select the required symbol from the list.
Similarly you can specify initial number of lots (option "Default Lots"): "last used" - parameter used in previous trade, and "default" - permanent, manually set value.
The instrument price can change during the order placing. As a result, the price of the prepared order will not correspond to the market price and the position will not be opened. The "Deviation" option allows you to avoid this. In this field you can set the maximum permitted deviation of price from the value specified in the order. If there is a price discrepancy, the program will modify the order itself which will allow you to open a new position.
This tab contains settings related to working with Expert Advisors. In the terminal, Expert Advisors are programs written in MetaQuotes Language 4 and allowing to conduct analytical and trading activities in the automatic mode (autotrading). Information on how to create and use Expert Advisors can be found in section "Autotrading". Only common settings for all Expert Advisors are described in this section:
Enable Expert Advisors
This option enables or disables the use of all EAs. If this option is disabled, at a new tick start() function will not be started for all Expert Advisors. In this case, instead of smiley icons, X's appear in upper right corner of charts. In order to enable the Expert Advisors, check the box and press the OK button. When a new tick comes, the Expert Advisors will start working and the crosses in the upper right hand corner of the chart will again become smiley faces. Expert Advisors can also be enabled or disabled by clicking the "Standard" button on the toolbar.
this option applies only to Expert Advisors and does not automatically disable custom indicators and scripts;
this option does not apply to already running Expert Advisors, i.e. the EA will not be stopped while the start() function is running.
Disable Expert Advisors when switching accounts
This option is a security mechanism, which disables the Expert Advisors when the account changes. It can be useful when, for example, you switch from a demo account to a real one. In order to enable this mechanism, you should tick the box and press the OK button.
Disable Expert Advisors when switching profiles
Profiles save a lot of information about current settings of all charts in the workspace. In particular, profiles save information about attached Expert Advisors. Expert Advisors included in the profile will start working when the new tick comes. By enabling this option (by checking the box), it is possible to prevent experts from starting when the profile is changed.
Allow EAs to trade
Expert Advisors are able to work offline without the trader's involvement. They can both analyze the price dynamics and conduct trading activities. This option is designed to limit the trading activity of Expert Advisors. Such limitation can be useful when testing analytical capabilities of the Expert Advisor in real-time mode (not to be confused with testing the Expert Advisor on historical data).
The "Manual confirmation" option is enabled only if Expert Advisors are allowed to trade. If it is enabled and the Expert Advisor tries to make a trade, it will be possible either to confirm it or to abort it manually. In other words, you can control the trading activity of the Expert Advisor with the manual confirmation. In this case, a window for performing trades with filled fields appears. This can be useful when testing the trading functions of the EA in real time (not to be confused with testing the EA on historical data).
Allow DLL import
Expert Advisors can use DLLs to extend their functionality. By checking this box, you can use such libraries without any restrictions. If this option is disabled, no Expert Advisor will be able to use external DLLs. It is recommended to disable imports when working with unknown EAs.
Confirm call of DLL functions
This option is enabled only if import from DLLs has been allowed. It allows you to control the execution of each function called manually. If it is not checked, imports from external libraries will not be controlled. It is recommended to enable this option when working with unknown libraries.
Allow import of external EAs
If your Expert Advisor needs to import functions from other EAs or MQL4 libraries, you need to enable this option. If this option is disabled, none of the running Expert Advisors can request functions from other MQL4 programs. It is recommended to deactivate this option when working with unknown Expert Advisors.
Attention: The values of "Allow EAs to trade", "Manual confirmation", "Allow DLL import", "Confirm call of DLL functions" and "Allow import of external EAs" options, set in this window, are default parameters for newly attached MQL4 programs. They do not affect the work of already launched Expert Advisors, custom indicators, and scripts
4) Market Watch.
The "Market Watch" window contains the list of financial instruments, for which the client terminal receives quotes from the server. Data in the window are represented as a table with several fields. The "Symbol" field contains the name of the financial instrument, the "Bid", "Ask" and "Time" fields contain the corresponding prices and time of receiving them from the server. The time specified in the terminal is equal to Greenwich time ( GMT ). The values in the "Maximum" and "Minimum" fields are calculated based on the price dynamics during the day. The "Market Watch" window can be opened/closed with the accelerator keys Ctrl+M, the menu command "View-Market Watch" or the button on the toolbar.
Using this window you can place market and pending orders, as well as open new charts. If you click the right mouse button in the "Market Watch" window area, a context menu appears, in which the following commands are available:
New Order - open the "New Order" window, where you can prepare and place a market or a pending order for a selected symbol. Also when preparing an order you can specify Stop Loss and Take Profit levels. More detailed information can be found in "Open Positions".
The "New Order" window can be opened in several ways: by double-clicking on financial instrument name in "Market Watch" window; by menu command "Tools - New Order"; by menu command "Terminal - Trade - New Order";
Chart window - open the chart of the selected financial instrument. More detailed information on working with chart windows is given in the section of the same name. Chart of financial instrument can be also opened by menu commands "File - New Chart" or "Window - New Window";
Tick chart - open the tick chart of the selected financial instrument. Unlike usual charts, the tick chart is located directly in the "Market Watch" window. The tick chart of the selected symbol can also be viewed by switching the tab with the same name in this window;
Delete symbol - remove (hide) the symbol from the list. In order to minimize your Internet traffic it is recommended to exclude unused symbols from the quote window "Market Watch" with this command or with Delete key.
Attention: If there are open positions or pending orders for a financial instrument, or if a chart of this symbol is open, the symbol cannot be deleted.
Hide all symbols - delete all symbols from the list. This command does not apply to instruments with open positions or charts that were opened in the current session;
Show all symbols - display the list of all available symbols. After this command has been executed quotations for all symbols will start to be received;
Symbols - call the window with the same name, which contains a list of all available instruments. Instruments in the window are grouped according to their type. Use "Show Symbol" to add the desired instruments, and "Hide Symbol" to remove the instrument from the quotation window. The command "Properties" in the window allows you to view the parameters of the instrument;
Symbol Set - open the submenu of symbol set control. This sub-menu allows you to save the current symbol set, delete it or select an existing one. This is very convenient when working with different types of instruments;
Maximum/minimum - add maximum and minimum price values for the day to the displayed quotes;
Time - show the time of coming of quotes;
Auto Resize Columns - automatic resizing of columns if the window is resized. Auto Resize can also be enabled with the A key;
Grid - show/hide grid to separate columns. The grid can also be switched on with the G key;
Quote Window - open an additional quote window. The list of tools in this window coincides with the list in the "Market Watch" window at the moment this command is executed. That is, changing the list of tools of "Market Watch" window does not affect the list of "Quotes window". This is an information window, but trades can also be performed from it. To do this you should double-click with the left mouse button on the necessary instrument. The context menu of this window contains commands that allow: to set up the parameters of data displaying, enable the full screen mode or superimpose the window over all other windows.
5) Open charts.
A chart shows the price dynamics of a financial instrument over time. Charts are necessary for technical analysis, use of Expert Advisors and their testing. Ninety nine charts can be opened in the terminal.
A new chart can be opened in several ways
by right clicking on the desired symbol in the "Market Watch" window and selecting "Chart Window" in the menu that appears;
by executing the menu command "File - New Chart", or the menu "Window - New Window". When you perform any of these actions the list of available financial instruments will appear. You can open its chart by selecting the required symbol from the list.
in the "Market Watch" window, hold the Ctrl key and drag the list item (financial instrument) from the window to any place in the workspace of the terminal.
6) Historical data.
The historical data on which the charts are based is stored on the hard disk. When opening a chart, the data is downloaded from the disk and the last missing data from the trading server is swapped. If the historical data on the financial instrument is not available on the hard disc, the last 512 bars or candlesticks of history are downloaded. To download the earlier data, you need to move the chart to the desired area. After opening of the chart, information about current quotes will start to be received by the terminal. Thus, the further price dynamics is formed in real time. This information is automatically saved to the history file and is used when opening this chart again in the future.
Attention: In the terminal settings the parameters "Maximum number of bars of the history" and "Maximum number of bars on the chart" are set. These parameters allow you to control the amount of history data, which can be displayed and saved on your hard disk.
7) Management of the graph using context menu commands.
Part of commands of the context menu is designed to manage the chart:
Expert Advisors - submenu of Expert Advisors management. Expert Advisor is a MQL4 program that runs with every new tick and allows to automate analytical and trading activities. In the submenu of Expert Advisors management commands of the Expert Advisor imposed on the chart are grouped. Using this sub-menu you can change the properties of the Expert Advisor, delete it or start testing it.
Delete script - delete the executable script. A script is a program written in MetaQuotes Language 4 (MQL 4) intended for a single execution of actions.
List of Indicators - a window for managing technical indicators attached to a chart window. A technical indicator is a mathematical transformation of financial instrument's price and/or volumes in order to forecast future price changes. Decisions on how and when to open or close a position are made on the basis of signals from technical indicators.
Object List - a window for managing graphical objects. Graphical objects in the terminal are objects that are imposed manually to a chart. They are intended for analytical purposes.
Period - submenu of chart period management. Chart period can also be managed by the same-name commands of the "Charts" menu and the toolbar.
Template - submenu of template management. A template is a set of chart window settings that can be applied to other charts. The submenu of template management can also be called using the "Charts" menu command of the same name.
Refresh - refresh historical data. This will download all missing within the existing history and new data. The same action can be performed using the "Charts" menu command with the same name.
Auto Resize - set the default height of all indicator windows. The same action can be performed by pressing accelerators Ctrl+A.
Grid - show/hide grid. The same action can be performed by the "Charts" menu command with the same name and by pressing accelerators Ctrl+G.
Volumes - show/hide volume chart. The same actions can be performed by the "Charts" menu command with the same name and by pressing accelerators Ctrl+L.
Zoom - increase the horizontal scale of the chart by one increment. The scale can also be increased using the "Charts" menu command with the same name, the "+" key or the "Charts" toolbar button.
Decrease - reduce the chart scale by one step. The scale can also be decreased by using the "Charts" menu command with the same name, "-" key or the "Charts" toolbar button.
Delete Indicator Window - delete an indicator window. Some indicators are built in special sub-windows with their own scale. This command allows removing such a subwindow. More detailed information on working with technical indicators is given in the corresponding section.
Save as picture - save the chart as a picture (GIF or BMP format). The same action can be performed using the "File - Save as Picture" menu command.
Preview - preview of the chart image before printing. The same action can be performed using the "File - Preview" menu command or the "Standard" toolbar button.
Print - print the chart. If "Color print" option is enabled in the program settings you can print not black and white but colour graphs. The same action can be performed by menu command "File - Print", accelerator keys Ctrl+P or toolbar button "Standard".
Properties - call the Graph Settings window. The same action can be performed using hotkey F8.
Attention: Submenu "Expert Advisors", commands "Delete Script", "List of Indicators" and "List of Objects" are activated only if the corresponding objects are attached to the chart.
The basis for making a profit in financial markets is a simple rule: buy cheaper and sell dearer. Thus, all work in the financial markets comes down to the consistent buying and selling of financial instruments. This will require opening, changing and closing trading positions. A trade position is a market obligation, the number of bought or sold contracts, on which no offsetting transactions were made. All trading activity in the terminal takes place using trade positions.
To open a trade position, a trade operation must be executed, and to close it, the reverse operation must be executed. A trade position is opened by a brokerage company by market order or by execution of a pending order. An open position can be modified by changing the values of Stop Loss ( S / L) and Take Profit ( T / P) orders attached to the position. A position can be closed on demand or upon the execution of Stop Loss and Take Profit orders. In addition, positions can be opened, changed and closed.
9) Types of orders.
Client terminal allows preparing and sending orders to the broker for execution of trading operations. In addition, the terminal allows controlling and managing the status of open positions. Several types of trade orders are used for this purpose. Order is a client's instruction or instruction to brokerage company to perform a trade operation. The following orders are used in the terminal:
A market order is an instruction from a brokerage company to buy or sell a financial instrument at the current price. Execution of this order leads to opening of a trading position. A Buy position is bought at Ask price and sold at Bid price. You can attach Stop Loss and Take Profit orders to the market order (these orders are described below). The mode of execution of market orders depends on the financial instrument.
A Pending Order is an instruction from the brokerage company to buy or sell a financial instrument at a specified price in the future. This order is used for opening a trading position if future quotes are equal to the set level.
There are four types of pending orders:
Buy Limit - buy when the future Ask price is equal to the set value. In this case, the current price level is higher than the value of the set order. Usually, this type of orders is set under the assumption that the security price will start to grow when falling to a certain level;
Buy Stop - buy when the future Ask price is equal to the value set. In this case, the current price level is lower than the value of the set order. Usually, this type of orders is based on the idea that the security price will pass a certain level and will continue its growth;
Sell Limit - sell when the future price "Bid" is equal to the set value. In this case, the current price level is lower than the value of the set order. Usually, orders of this type are put out expecting that the security price will start to fall when rising to a certain level;
Sell Stop - sell when the future price is equal to the "Bid" value set. In this case, the current price level is higher than the value of the set order. Usually, such orders are placed in the expectation that the security price will reach a certain level and will continue to fall.
It is possible to attach Stop Loss and Take Profit to the pending order. When the pending order triggers, its Stop Loss and Take Profit are automatically attached to the open position. Stop Loss - this order is designed to minimise losses in case the price of a financial instrument starts to move in an unprofitable direction. If the price of the instrument reaches this level, the position will close automatically. Such order is always related to an open position or to a pending order. It is given to a brokerage company only together with a market or a pending order. When checking the condition of this order for long positions the Bid price is used for long positions, and for short positions the Ask price is used.
To automate the moving of a Stop Loss order following the price, you can use the Trailing Stop.
Take Profit order is intended for gaining the profit when the security price reaches the specified level. Execution of this order leads to closing of a position. It is always related to an open position or a pending order. The order can be given only together with a market or a pending order. When checking conditions of this order for long positions, the Bid price is used for long positions, and for short positions the Ask price is used.
The execution price for all trades is determined by the broker;
Stop Loss and Take Profit orders are only executed for open positions and not for pending orders;
Historical charts in the terminal are made using Bid prices only. In this case, some of the orders shown in the charts are based on Ask prices. To enable displaying of Ask prices of the last bar, flag "Show Ask line" in the terminal settings.
Stop Loss is intended for minimizing of losses in case the security price began to move in an unprofitable direction. When the open position becomes profitable, Stop Loss can be moved manually to the breakeven level to fix profits. To automate this process, we use Trailing Stop. This tool is especially useful when price changes strongly in the same direction or when it is impossible to watch the market closely.
Trailing Stop is always related to the open position and is executed in the client terminal, not on the server, like Stop Loss. To set a Trailing Stop it is necessary to execute the context menu command of the same name in the "Terminal" window of an open position. Then in the opened list select a desired value of distance between the level of the Stop Loss order and the current price. Only one Trailing Stop can be set for each open position.
After execution of the specified actions with arrival of new quotations the terminal checks, whether the open position is profitable. As soon as the profit in pips equals or exceeds the specified level, the terminal automatically issues a command to place the Stop Loss order. The order level is set at a specified distance from the current price. Further, if the price moves with increasing profitability of the position, the Trailing Stop automatically moves the Stop Loss behind the price. If profitability of the position decreases, the order is not modified. Thus, the profit of the trading position is automatically fixed. Each automatic modification of the Stop Loss order creates a record in the system log.
You can disable Trailing Stop by setting the parameter "None" in the management menu. And if you execute the command "Delete All Levels", trailing stops of all open positions and pending orders will be deactivated.
Attention: Trailing Stops work on the client terminal, not on the server (like Stop Loss or Take Profit). Therefore, if the terminal is off, unlike the above orders, the Trailing Stop will not work. If the terminal is disabled, only the Stop Loss set by the Trailing Stop can trigger.
10) Types of execution.
There are three order execution modes implemented in the client terminal:
In this mode, the market order is executed at the price offered by the broker to the trader. When sending a request for execution, the terminal automatically substitutes the current prices in the order. If a change in price occurs between the request and the reply from the broker, that is, a requote occurs, then the trader can either accept or reject the new price.
Execution on Request
In this mode, the market order is executed at the price previously received from the broker. Prior to sending a market order, an execution price is requested from the broker. Once received, the execution of the order at that price can be either confirmed or rejected.
Execution at market
In this mode of market order execution, the broker decides on the strike price without any additional coordination with the trader. The sending of a market order in this mode implies early acceptance of the price at which the order will be executed.
Attention: The choice of the execution mode for each financial instrument is made by the brokerage company.
11) Trading positions.
The basis of profit in financial markets is a simple rule: buy cheaper and sell dearer. Thus, all work at financial markets comes down to consecutive trade operations of purchase and sale of financial instruments. This will require opening, changing and closing trading positions. A trade position is a market obligation, the number of bought or sold contracts, on which no offsetting transactions were made. All trading activity in the terminal takes place using trade positions. The trading terminal provides a wide range of options for managing trading positions. A trader issues orders (orders), and opening or closing of a trading position is performed by a brokerage company. The management of trading positions consists of:
position opening - purchase or sale of a financial instrument as a result of market or pending order execution;
Position modification - change of Stop Loss and Take Profit order levels related to an open position;
setting pending orders.