Mises à jour : MetaTrader 5

12 décembre 2014

Trading Terminal

Implementation of functions for trading options is currently underway.
The Option Strategy Builder has been added. It helps users combine
different options in one investment portfolio, and to assess the
possibilities and potential risks.

The
Builder is easy to use: a trader chooses the option based on the
expiration date and the underlying asset, and then selects one of the
more than 30 available strategies. The Builder displays the appropriate
combination of options and calculates evaluation parameters - the
so-called Greeks. The profit/loss chart and the Greeks based chart
appear at the bottom of the window.

In addition to a large number of built-in strategies, traders can create and save their own strategies for later use.

Added display of the number of newsletters received in the last 24 hours.

Optimized and accelerated synchronization of large history of trading orders and deals.

MQL5 Language

New function for working with the tick history CopyTicks. The function
is used for receiving an array of ticks accumulated by the terminal for
the current session. The depth is limited to the last 2000 ticks.

The
new function expands the possibilities for developing scalping trading
robots. The OnTick function does not handle every tick, it notifies the
Expert Advisor of market changes. It can be a batch of changes: the
terminal can simultaneously make a few ticks, but OnTick will be called
only once to notify the EA of the latest market state. The CopyTicks
function allows you to receive and analyze all the ticks.

intCopyTicks(
conststring symbol_name, // Symbol nameMqlTick &ticks_array[], // the array where ticks will be placeduint flags=COPY_TICKS_ALL, // the flag that defines the type of received ticksulongfrom=0, // the date starting from which ticks will be received, specified in milliseconds since 01.01.1970uint count=0// the number of latest ticks that should be received
);

Ticks can be requested by the date if the 'from' value is
specified, or based on their number using the 'count' value. If none of
the parameters are specified, all available ticks are received, but not
more than 2000. Ticks can also be requested based on their type using
the 'flags' parameter. Available values:

COPY_TICKS_ALL - all ticks.

COPY_TICKS_INFO - only information ticks (Bid and Ask).

COPY_TICKS_TRADE - only trade ticks (Last and Volume).

Added an option for overloading template functions using array parameters.

Added an option for overloading a method based on its constancy.

Added generation of the CHARTEVENT_MOUSE_MOVE event (in
the OnChartEvent entry point) at the right mouse button click on the
chart.

Fixed the functioning of the Switch operator if the case condition contains a negative value.

Improved calculation accuracy in functions ObjectGetValueByTime() and
ObjectGetTimeByValue(), used for receiving the price value for the
specified object time and vice versa - time value for a price.