What's new in MetaTrader 5

24 March 2017

Terminal

Updated the showcase of the MetaTrader Market store of applications.
Now, you can browse through trading robots and technical indicators
more conveniently. We have updated the design and added product
selections:

The main page now features popular experts, indicators, new Market products, as well as top free applications.

The Experts, Indicators and Utilities sections now have
subsections: grid and hedging robots, trend and multi-currency
indicators, and much more.

Fixed the client terminal update and built-in purchases
in the Market, Signals and Virtual Hosting when using a Windows account
with limited rights.

Fixed occasional incorrect sorting of position history.

Optimized and fixed display of the Exposure tab.

MQL5

Added support for overloading template functions using parameters. For example, we have a template function that writes
the value of the second parameter to the first one using typecasting.
MQL5 does not allow typecasting string to bool. However, we can do that
ourselves. Let's create an overload of a template function:

As a result of the code execution, we can see that the Assign()
template function has been used for the int+string pair, while the
overloaded version has already been used for the bool+string pair during
the second call.

string Assign<int,string>(int&,string)
string Assign(bool&,string)

Added explicit specialization of template functions. To do
this, specify typification parameters before the list of the call
parameters:

DEAL_DIVIDEND_FRANKED — franked (non-taxable) dividend operations (tax is paid by a company, not a client).

DEAL_TAX — charging a tax.

Fixed display of custom indicators with the DRAW_FILLING
drawing type. In case the upper and lower line coordinates coincide, a
thin line is drawn.

Fixed calculating the Bitmap Label object coordinates when setting the CHART_SHOW parameter to 'false'. The parameter is set by the ChartSetInteger function and allows hiding all price chart elements to create a custom program interface.

Fixed re-encoding of 24-bit images when placing them to MQL5 application resources.

Fixed printing structures using the ArrayPrint function.

Updated the MQL5 standard libraries.

MetaEditor

Added translation of the user interface into Malay.

Signals

Signals: Fixed opening a signal page in the terminal when moving
from the MQL5.community website while not connected to a trading
account.