O que há de novo na MetaTrader 5?

Trading terminal

Completely revised built-in search. The new search is a
smart and powerful system. Search results are now conveniently arranged
by categories.

As you type in search query, the system instantly offers possible options:

In order to search by one of the previous queries, place the cursor
to the box and click Down Arrow key to open the query history. Selection
of a search area is not available in the search bar any more, as the
system automatically selects the most relevant results arranging them by
categories conveniently:

For better representation, search results now contain not only texts
but also avatars of articles, books and applications. Use the top panel
to view the search results by MetaTrader Appstore Products, Code Base,
Signals, MQL5.community Forum and Documentation. If a category has no
results, it is highlighted in gray.

Added the OTP authentication feature. Use of OTP
(one-time password) provides an additional level of security when
working with trading accounts. The user is required to enter a unique
one-time password every time to connect to an account.

One-time
passwords are generated in the MetaTrader 5 mobile terminal for iPhone .
The same one-time password generation option will be added in the
mobile terminal for Android soon.

How to enable OTP
To start using one-time passwords, a trading account should be bound to a
password generator, which is the MetaTrader mobile terminal 5 for
iPhone.

The use of the OTP option should be enabled on a trade server.

Go to the Settings of the mobile terminal and select OTP. For
security reasons, when the section is opened for the first time, a
four-digit password should be set. The password must be entered every
time to access the password generator.

In the window that opens, select "Bind to account".

Next, specify the name of the server on which the trading account
was opened, the account number and the master password to it. The "Bind"
should be kept enabled. It must be disabled, if the specified account
should be unbound from the generator and one-time passwords should no
longer be used.

After the "Bind" button located in the upper
part of the window is tapped, a trading will be bound to the generator,
and an appropriate message will appear.

Likewise, an unlimited number of accounts can be bound to the generator.

The one-time password is displayed at the top of the OTP section.
Underneath, a blue bar visualizes the password lifetime. Once the
password expires, it is no longer valid, and a new password will be
generated.

Additional Commands:

Change Password - change the generator password.

Synchronize Time - synchronize the time of the mobile device
with the reference server. Accuracy requirement is connected with the
fact that the one-time password is bound with the current time interval,
and this time should be the same on the client terminal and the server
side.

How to use OTP in the desktop terminal After binding a
trading account to the generator, a one-time password will be
additionally requested when connecting to it from the desktop terminal:

Added an option for transferring money between accounts
within the same trade server. Money can be transferred only from the
currently connected account. Select it in the "Navigator" window and
click "Transfer funds" in the context menu.

In the dialog box, select the account to which funds need to be
transferred. The transfer amount is specified in the deposit currency of
the current account. It cannot exceed the current balance and the
current amount of free margin of the account.

To transfer
funds, a master password must be specified for both accounts. If OTP
authentication is used for the account, from which funds are
transferred, the one-time password should be additionally specified.

Transfer of funds is provided in the form of balance operations: a
withdrawal operation on the current account and depositing operation on
the recipient account.

The money transfer option should be enabled on the trade
server. Depending on the settings, there are some restrictions on the
accounts, between which transfer is allowed. In particular, money
transfer can be allowed only for accounts with identical names and
emails.

Funds can be transferred only within the same trading server
and only between the accounts of the same type. From a real account
funds can be transferred only to another real account, from a demo one -
only to demo.

The accounts, between which funds are transferred, should use the same deposit currency.

Added an option for changing the password of any trading
account in the "Navigator" window. Previously, it was possible to
change the password only for the currently connected account.

Now any account can be selected in the "Navigator" window and its
passwords can be changed by clicking the appropriate command in the
context menu:

Added the possibility to set SL and TP levels on the
chart by dragging the trade level of the corresponding position (using
drag'n'drop). Hover the mouse over the level of the position on the
chart. Click the left mouse button and hold it to move the level up or
down.

For long positions dragging down allows to set stop loss, up - take
profit. And vice versa for short positions. When a level is dragged, the
possible profit/loss in pips and currency, which may occur when this
level triggers, is shown.

Changed the location of commands in the "Window" menu.
Now the "Tile window" option is displayed first, hotkeys Alt+R have been
assigned for this command. This command has also been added to the
standard toolbar.

In the "Navigator" categories "Indicators" and "Custom Indicators" have been combined into one category "Indicators".

All custom indicators, examples, and indicators purchased from the
MetaTrader AppStore are now shown together with the built-in technical
indicators. Four categories of built-in indicators are always displayed
first.

Revised the Navigator's context menu.

Login has
been renamed to "Login to Trade Account". Authentication in
MQL5.community is available not only via the terminal settings but also
via the context menus of the "Accounts" section and its subsections.

The following changes have been implemented to the account's context menu:

Moved "Open an Account" command to the first position.

Added "Change Password" feature.

Added "Register a Virtual Server" command.

Fixed display of the Label and Bitmap Label graphical
objects with the anchor point located in one of the bottom corners of a
chart.

MQL5 Language

Added WebRequest() function for working with HTTP requests allowing MQL5 programs to interact with different websites and web services.

The new function allows any EA to exchange data with third-party
websites, perform trades based on the latest news and economic calendar
entries, implement analytics, generate and publish automatic reports,
read the latest quotes and do many other things that could previously be
achieved only by using third-party DLLs of questionable reliability.
The new feature is absolutely safe for traders, as they are able to
manage the list of trusted websites the programs have access to.

WebRequest function sends and receives data from websites using GET and
POST requests. The new feature is absolutely safe for traders, as they
are able to manage the list of trusted websites the programs have access
to.

Now, a user can receive the list of signals, evaluate them according to
user-defined criteria, select the best one and subscribe to it
automatically from a MQL5 program. In fact, it means the advent of the
new class of trading robots that periodically look through available
signals and subscribe to the one that is most suitable at the moment.

Added functions for working with cryptographic algorithms:
CryptEncode() and CryptDecode(). These functions allow you to encrypt
and decrypt the data, for example, when sending data over the network
using the WebRequest() function. They also allow you to calculate checksums and make data archiving.

Fixed FileSize()
function for files that are available for writing. Previously, the
function returned the file size without considering the latest write
operations.

File operations have been revised. Now work with files has become faster.

Trading Signals

Fixed copying of SL and TP values of trade positions in
case the number of decimal places in the symbol price of the signal
source differs from that of the subscriber.

Fixed copying of trade positions from signal providers
with incorrect settings of trade instruments on the side of the trade
server.

Fixed closing of positions opened by a trading signal
when account Equity value falls below the value specified in the signal
copying parameters. In some cases, closing of positions could lead to
terminal crash.