¿Qué novedades tiene MetaTrader 5?

Historial de actualizaciones de las plataformas desktop, móvil y web

24 julio 2012
MetaTrader 5 iPhone build 674
  1. Añadido el soporte de la profundidad de mercado.
  2. Añadido el soporte de la autenticación ampliada.
  3. Añadido el modo "Retícula", que permite ver con mayor comodidad la fecha, el precio o el valor del indicador en el punto elegido del gráfico.
  4. Añadida la representación de los precios OHLC en los gráficos.
  5. Añadida la "Ventana de datos" para ver los valores de los indicadores superpuestos en el punto elegido del gráfico.
  6. Añadida la posibilidad de cambiar la contraseña de la cuenta.
  7. Añadido el japonés.
  8. Corrección de errores.

Descargar el terminal MetaTrader 5 para iPhone a través del enlace: https://download.mql5.com/cdn/mobile/mt5/ios?hl=es&utm_source=www.metatrader5.com

13 julio 2012
MetaTrader 5 Client Terminal build 674

Trading Terminal

  1. Added the ability to post screenshots of charts on MQL5.com. When saving a screenshot, just select the appropriate option and the screenshot will be automatically placed on www.mql5.com, while a trader will get its address for posting on other websites and forums.


  2. Improved the algorithm of a trend line inclination angle calculation.
  3. Fixed display of available bars number in a chart tooltip.
  4. Fixed display of news with the same publication time.
  5. Added support for canceled deals display.
  6. Fixed display of close button when closing a deal with a volume less than the minimum allowed one.
  7. Fixed spread and tick volume calculation in charts generated by the terminal.

MQL5

  1. Added OnTradeTransaction entry point - getting information about trade transactions performed for a trade account.

    void OnTradeTransaction(const MqlTradeTransaction& trans,const  MqlTradeRequest& request,const MqlTradeResult& result)

    The entry point is called to transfer the data on the trade transactions performed for a trade account to MQL5 program:

    • adding, modifying, deleting open orders
    • adding, modifying, deleting orders in history
    • adding, modifying, deleting deals
    • modifying a position
    • execution of client's trade requests and getting the results.

    The client terminal stores the history of transactions and consistently transfers them to an Expert Advisor, if an entry point is present. The history is limited to 1024 transactions and cleared during the next connection.

    Note that transactions processing in the terminal is performed independent of transactions processing in MQL5 program. For example, while an Expert Advisor processes a transaction to add a new order, the terminal can at the same time get a transaction to delete the appropriate order and move it to history.

  2. Fixed making long screenshots of charts by MQL5 means (ChartScreenShot function).
  3. Fixed getting an empty last bar for the symbols built by Last prices.
  4. Added checking the presence of available history when executing request functions in synchronous requests of the price history.
  5. Added the function of ArrayFill numeric array filling. The function is an equivalent of memset C function and allows to initialize a memory area as efficiently as possible.
  6. Updated ENUM_SYMBOL_SWAP_MODE enumeration - swaps accrual parameters for open positions - new values added and part of previous ones renamed. Previous enumeration values are still supported for compatibility.
  7. MQL5: Enhanced ENUM_DEAL_TYPE "deal types" enumeration values set. The following values are added:

    • DEAL_TYPE_BONUS - depositing a bonus by a broker
    • DEAL_TYPE_COMMISSION - charging commission by a broker
    • DEAL_TYPE_COMMISSION_DAILY - charging commission by a broker according to trading day results
    • DEAL_TYPE_COMMISSION_MONTHLY - charging commission by a broker according to month results
    • DEAL_TYPE_AGENT_DAILY - depositing the agent's commission according to trading day results
    • DEAL_TYPE_AGENT_MONTHLY - depositing the agent's commission according to month results
    • DEAL_TYPE_INTERESTRATE - depositing accrued interest rate on free funds
    • DEAL_TYPE_BUY_CANCELED - canceled buy deal
    • DEAL_TYPE_SELL_CANCELED - canceled sell deal
  8. Standard Library. Added possibility to manage the list elements in CComboBox class.
  9. Standard Library. Added CCanvas class (MQL5\Include\Controls\Canvas.mqh).

    CCanvas class allows to implement various graphics on custom charts of "Bitmap" and "Bitmap Label" types. In fact, these objects turn into a surface for drawing any image. Thus, it is possible to create custom graphical objects, apart from the ready-made terminal ones.

    The class implements the functions for drawing lines, circles, rectangles, polygons, their filling and filling any area in a specified color. Besides, the client terminal distribution kit now has the example of the class application CanvasSample (MQL5\Scripts\Examples\Canvas\CanvasSample.mq5).


Strategy Tester

Added saving the intermediate data of the genetic optimization - the optimization process will start from where it was stopped, not from the beginning.

MetaEditor

  1. Added MQL5 programs profiler - the built-in tool for gathering program parameters during its operation. Attention is paid to such parameters as functions execution time, number of functions calls, separate code fragments execution time. This tool allows programmers to analyze their application, find its critical parts and write more optimal code.


    Profiling results are exported in HTML, CSV and OpenXML formats. To move to a specific code line, just double-click on the appropriate profiling report line.

  2. Fixed comparing files with the contents of MQL5 Storage.

    Fixed errors reported in crash logs.
    Updated documentation.

    The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

6 junio 2012
MetaTrader 5 Client Terminal build 655

Trading Terminal

  1. The client terminal supports sending messages concerning various events to iOS and Android powered devices using push notifications. With this feature, traders are always aware of all events.

    Push notifications are short messages consisting of not more than 255 symbols. Such notifications are delivered immediately and they cannot be lost along the way.

    Push notifications can be sent in two ways from the client terminal:

    Via MQL5 application

    Special SendNotification function is available in MQL5 language allowing MQL5 application to send push notifications to MetaQuotes ID specified in the terminal settings.

    Via signals function

    The client terminal allows to create the signals used to notify about the market events. They are set at the "Alerts" tab of the "Toolbox" window. One type of alerting about the events is sending push notifications.

    • Push notifications can also be used to get information about MQL5.community website updates. To do this, enter your MetaQuotes ID at the "Contacts" tab of your user profile.
    • The number of sent messages is limited: not more than 1 message per 0.5 seconds and not more than 10 messages per minute.

    Options Natifications

    Check "Enable Push Notifications" box to allow the client terminal to send messages.

    Then, specify one or several MetaQuotes IDs separated by commas. To find out your MetaQuotes ID, open the mobile version of the terminal and go to Settings -> Messages page. That is how that page looks in the mobile terminal for iPhone:

    MetaQuotes ID

    Press "Test" button to test messages sending. If sending is successful, you will see the appropriate message and the test notification will be delivered to your mobile device.

  2. Added the button link to MQL5.community website at the client terminal toolbar.


    MQL5.community Buton

  3. "Charts" and "Objects" tabs are combined into one in the terminal settings.

    Charts and Objects

  4. 32-bit version of the terminal has been compiled with the possibility to expand the available virtual address space. The volume of the available memory is expanded from 2 Gb:

    • to 3 Gb when using 32-bit operation system. Special keys for downloading the operation system are necessary to enable this mode in 32-bit operation system;
    • to 4 Gb when using 64-bit operation system. No additional actions are required to enable this mode in 64-bit operation system.
  5. Added display of "Label" and "Bitmap Label" graphical objects sizes in their properties dialog:

    Added display of "Label" and "Bitmap Label" graphical objects sizes in their properties dialog

  6. Fixed the change of an object name after its creation in case "Show object properties after creation" option is enabled - the object could not be modified or deleted after changing its name without restarting the terminal.
  7. Added prohibition on changing the path to "Bitmap" type images created from MQL5 programs.
  8. Improved scanning for trading server access points - reduced scanning period and clarified the best point selection algorithm.
  9. Improved display of the "Edit" graphical object when using "Wingdings" font.
  10. Fixed moving the graphical objects with a mouse in case of the disabled date scale.

MQL5

  1. Changed timer events processing algorithm. Timer events have been placed in the queue in any case, regardless of the presence of the events not processed by the timer. Now, new events are not added, if the queue has at least one timer event.
  2. Added ChartTimePriceToXY and ChartXYToTimePrice functions - modifications of a chart coordinates from time/price representation to X and Y axes coordinates and vice versa for a specified chart and its subwindow.
  3. Added ResourceCreate function - for loading a resource from a file or creating an image:

    Creating the resource from the file:

    bool  ResourceCreate(
       const string      resource_name,       // resource name
       const string      path                 // relative path to the file
       );
    Creating an image based on the pixels array:
    bool  ResourceCreate(
       const string      resource_name,       // resource name
       const color&      data[],              // data set as an array 
       uint              img_width,           // created resource image width
       uint              img_height,          // created resource image height
       uint              data_xoffset,        // horizontal offset of the upper left corner of the created image to the right
       uint              data_yoffset,        // vertical downward offset of the upper left corner of the created image
       uint              data_width,          // image total width based on data set
       ENUM_COLOR_FORMAT color_format         // color handling method
       );

    The first case of the function allows to load images and sounds from files, the second case allows only to create images dynamically. Images must be in BMP format, color depth - 24 or 32 bits, sounds can only be in WAV format. A resource size must not exceed 16 Mb.

  4. Added ChartIndicatorGet function - getting an indicator handle on a specified chart and its subwindow by its short name.
  5. Added IndicatorParameters function - getting an indicator parameters type and array by its handle.
  6. Fixed behavior when accessing an index outside an array - position of the opening square bracket '[' before the index, which returns an error when accessing it, is specified when generating a message to be displayed in the Expert Advisors journal.
  7. Completed the works on adding profiling support in MQL5 language. MetaEditor profiling function is to be added in the next build.
  8. Fixed the client terminal connection status check when launching an Expert Advisor - avoided delays caused by that check when an Expert Advisor started its operation after the terminal launch.
  9. Added "event handling function not found" compilation error, in case there are no access points (OnStart, OnTick, etc.) in the application.
  10. Fixed compilation when calling the class static methods from another class.
  11. Fixed errors in '?' statement.
  12. Renamed ENUM_ORDER_TYPE_FILLING enumeration elements:

    • ORDER_FILLING_AON  renamed as ORDER_FILLING_FOK
    • ORDER_FILLING_CANCEL renamed as ORDER_FILLING_IOC
  13. Standard Library.

    • Controls. Fixed the panels behavior in a separate indicator subwindow.
    • Controls. Fixed drag'n'drop controls behavior.
    • Controls. Added TextAlign text uniformity property to CEdit and CChartObjectEdit classes.
    • Controls. CRect class is transformed into the structure.
    • Added CCanvas class (Include\Canvas\Canvas.h) for creating own images resources.
    • Added asynchronous trading support to CTrade class.
  14. Added the ability to test the indicators including the ones downloaded from MQL5 Market:

    Added the ability to test the indicators

    Therefore, it is now possible to evaluate behavior of an indicator during the changes in history.

Strategy Tester

  1. Added support for OpenCL programs application in tester agents.

    OpenCL programs are used for performing computations on video cards that support OpenCL 1.1 or higher. Modern video cards contain hundreds of small specialized processors that can simultaneously perform simple mathematical operations with incoming data streams. The OpenCL language organizes parallel computing and provides greater speed for a certain class of tasks.
  2. Corrections in test results reports:

    • fixed the charts
    • added holidays consideration in a position lifetime calculation.
  3. Added export of the new report on results of tests in HTML and OpenXML formats.

MetaEditor

  1. Added С++ files (*.cpp) compilation support in case Microsoft Visual Studio 2008/2010/Express is installed.

    Added С++ files (*.cpp) compilation support in case Microsoft Visual Studio 2008/2010/Express is installed

    Thus, it is possible to debug and modify custom DLLs written in С++ right in MetaEditor.

  2. by dragging DLL on an open MQL5 source code file:

    Added the ability to automatically add exported DLL functions to MQL5 file

  3. Fixed files modification verification in MQL5 Storage from an external editor (not from MetaEditor).
  4. Fixed Revert command behavior when working with MQL5 Storage.
  5. Fixed search in files in "Match whole word only" mode.
  6. Fixed transition between the function parameters during MetaAssist operation.

    Fixed errors reported in crash logs.
    Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

24 abril 2012
MetaTrader 5 Trading Terminal build 642

Trading Terminal

  1. Added global search in the client terminal and at MQL5.com.

    The Search in the terminal allows you to quickly find information in all sections of the client terminal, Code Base and MQL5.com.
    It is a case-insensitive search for a substring. The search is performed in the sections selected in the search parameters:

    Global search in the Client Terminal and at MQL5.com

    The context menu of the search results tab contains additional commands, which depend on the type of results:

    Search result in the MetaTrader 5 Client Terminal

  2. Fixed display of order volumes in the Market Depth for partially filled orders.
  3. Fixed checking of the expiry price of a pending order in the pending order placing dialog.

MQL5

  1. Added asynchronous sending of trade requests OrderSendAsync.

    Using this feature allows to speed up placing of trade requests, and especially when placing mass request, since in this case there is no need to wait for the results of the previous request when placing a new one. Because of its asynchronous nature, this function is not suitable for placing market orders for symbols with the Request execution mode.

    The function performs the initial verification of a request on the side of the client terminal and enqueues it to send to the trade server without waiting for the results of sending and receiving of confirmation from the server.

    If necessary, the operation of the function on the server is monitored by an Expert Advisor by handling the OnTrade event.

  2. Added a trading symbol property SYMBOL_ISIN (getting through the SymbolInfoString function) - the name of the trading symbol in the international system of securities identification numbers.

    ISIN, International Securities Identification Number is a 12-digit alphanumeric code that uniquely identifies a security.

    The availability of this symbol property is defined on the trade server side.

Strategy Tester

  1. Extended report of testing results - added MFE-Profit Correlation, MAE-Profit Correlation and MFE-Profits and MAE-Profits distribution graphs.

    Added MFE-Profit Correlation, MAE-Profit Correlation and MFE-Profits and MAE-Profits distribution graphs

    Maximum Favorable Excursion (MFE) - is the maximum potential profit reached while holding a position.

    MFE-Profit Correlation - a correlation between the position returns and MFE. Each trade had its maximal profit and maximal loss between opening and closing. MFE shows profit in the favorable excursion of the price. Each trade is corresponded with its return and with two parameters - MFE and MAE. Thus, we can draw each trade on a plane where MFE is plotted along the Х-axis, the return is plotted along the Y-axis. The closer is the return to the MFE, the more complete was the favorable excursion of the price was used. The straight on the graph shows approximation by function Profit=A*MFE+B. The Correlation(Profits,MFE) allows to estimate relation between the profits/losses and the MFE. The closer to 1 is this value, the better will the trades fit into the approximation straight. The closer to zero it is, the less considerable is this relation. MFE characterizes the ability to realize potential profit.

    Graph of MFE-Profits Distribution - points plotted on the graph MAE (X-axis) - Profits (Y-axis) indicate positions. Values of both axes are given in the deposit currency. Thus, for each transaction we see not only the acquired profit value including swaps along the Y-axis, but also maximally possible profit during the position lifetime. It allows us to estimate the quality of protection of the paper (unrealized) profit. Though the distribution of points along the chart gives a satisfactory view of the trade system, a linear regression, which is a least squares approximation, is given for an objective assessment. Ideally, the line should make with the X-axis an angle of 45 degree.

    Maximum Adverse Excursion (MAE) is the maximum potential loss reached while holding a position.

    MAE-Profit Correlation - a correlation between the position results and MAE. MAE - Maximum Adverse Excursion. Each trade reached its maximal profit and maximal loss between opening and closing. MAE shows the loss during the adverse excursion of the price. Each trade is corresponded with its return and with two parameters - MFE and MAE. Thus, we can plot each trade on a plane where MAE is plotted along the Х-axis, the return is plotted along the Y-axis. The closer is the return to the MAE, the more complete was the protection against the adverse excursion of the price. The straight on the graph shows approximation by function Profit=A*MAE+B. The Correlation(Profits,MAE) allows to estimate relation between the profits/losses and the MAE. The closer to 1 is this value, the better will the trades fit into the approximation straight. The closer to zero it is, the less considerable is this relation. MAE characterizes the drawdown obtained within the position lifetime and characterizes the use of protective Stop Loss best of all.

    Graph of MAE-Profits Distribution - Points plotted on the graph MAE (X-axis) - Profits (Y-axis) indicate positions. Values of both axes are given in the deposit currency. Thus, for each transaction we see not only the acquired profit value including swaps along the Y-axis, but also the maximal drawdown within the position lifetime. It allows us to estimate the transaction according to drawdown waiting out. Though the distribution of points along the chart gives a satisfactory view of the trade system, a linear regression, which is a least squares approximation, is given for an objective assessment. The less trades have negative values X (MAE), the better. It also allows making a decision based on the graphical analysis about maximally accepted losses, after which the possibility of taking profit is very small (if the analysis is carried out on the same currency pair and in points).

  2. In the visual tester implemented automatic addition of the used indicators to the charts of other symbol-periods.
  3. Fixed a bug when stopping visual testing of multicurrency Expert Advisors, which led to numerous messages "stopped by user" in the tester Journal.
  4. Fixed optimization crash when adding a new testing agent during optimization.

MetaEditor

  1. Enhanced MQL5 Storage control functions.

    Added new commands for managing the storage of source files that make the use of the MQL5 Storage even more convenient:

    Added new commands for managing the storage of source files

    • Update to revision - selected files are supplemented with information from the files in the specified revision. In files with identical names data are merged. If files have been added to a revision, they will be added to the local copy. If files have been deleted from a revision, they will be deleted from the local copy.
    • Revert to revision - selected files are replaced by the files from the specified revision. All changes made to the selected files disappear.

      Revert to revision

    • Compare with the working copy - files of a selected revision are compared with their current state on the local computer.
    • Compare with previous revision - compare the current and the previous revision of the files.
    • Compare two revisions - compare file changes in two specified revisions.

Fixed errors reported in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

20 abril 2012
MetaTrader 5 iPhone build 630
  1. Añadido el soporte de notificaciones push desde el escritorio del terminal y servicios de MQL5.community.


  2. Indicadores en MetaTrader 5 para iPhone     Mensajes de robots comerciales en MetaTrader 5 para iPhone     Notificaciones Push desde MetaTrader 5 en la pantalla del iPhone

  3. Posibilidad de releer las notificaciones ya recibidas.
  4. Interfaz mejorado.
  5. Añadidos 16 indicadores técnicos: Accelerator Oscillator, Accumulation/Distribution, Alligator, Average Directional Movement Index, Average True Range, Awesome Oscillator, Bears Power, Bollinger Bands, Bulls Power, Commodity Channel Index, DeMarker, Envelopes, Force Index, Fractals, Gator Oscillator, Ichimoku Kinko Hyo, MACD, Market Facilitation Index, Momentum, Money Flow Index, Moving Average, Moving Average of Oscillator, On Balance Volume, Parabolic SAR, Relative Strength Index, Relative Vigor Index, Standard Deviation, Stochastic Oscillator, Volumes and Williams' Percent Range.
  6. Posibilidad de cambiar los ajustes gráficos (color, grosor de la línea)
  7. Carga de los datos históricos en el modo de fondo sin bloquear la navegación por el gráfico.
  8. Corrección de errores de los que avisan los usuarios.

Descargar el terminal MetaTrader 5 para iPhone a través del enlace: https://download.mql5.com/cdn/mobile/mt5/ios?hl=es&utm_source=www.metatrader5.com

11 abril 2012
MetaTrader 5 Trading Terminal build 630

Trading Terminal

  1. Implemented skipping of graphical objects create by MQL5 programs when deleting objects using the Backspace key.

    Through the OBJPROP_HIDDEN property set only from MQL5 programs, graphical objects are divided into manually created and automatically created objects. By default, the list shows only the manually created objects to keep the window well organized. To see all objects, click "List All".

    Implemented skipping of graphical objects

    Now objects created by programs are not deleted by the command "Delete last (Backspace)".
    This prevents accidental removal of interface objects. They can be deleted programmatically or through the List of Objects (Ctrl + B) window.

  2. Added display of the beginning and end of symbol trading in the symbol settings dialog:

    Added display of the beginning and end of symbol trading in the symbol settings dialog

MQL5

  1. In the MQL5 language added support for operation overloading.

    Overloading of operations allows to describe operations with the meaning equivalent to those already existing in the language and apply them to the types of data created by the programmer. For example, overloading of operator "[]" allows you to implement a class with the behavior of an array. Overloading arithmetic operators allows to implement classes for working with complex numbers. In the above cases, overloading of operations allows to use of familiar syntax and avoid creation of numerous functions like ComplexPlusComplex, IntegerPlusComplex, ComplexMinusFloat, etc.

    In addition, support for operator overloading in MQL5 provides compatibility with general-purpose programming languages ​​(particularly with C++), facilitating the translation of previously written code (software libraries) into MQL5.

  2. In MQL5 added support for static fields and methods of classes and structures.

    Static fields and methods are the property of the class, so there is no need to create class instances to access its static fields. Use of static fields and methods in the language improves its flexibility and expressiveness. For example, using these methods you can easily implement control over the number of class instances (objects).

    Like with the support of operator overloading, support for operator overloading in MQL5 provides compatibility with general-purpose programming languages ​​(particularly with C++), facilitating the translation of previously written code (software libraries) into MQL5.

  3. Added a new property of the "Edit" graphical object - OBJPROP_ALIGN that denotes the alignment of text within the edit field. The property is set and read by methods ObjectSetInteger\ObjectGetInteger.
  4. Fixed the behavior of the ArrayIsDynamic function. When initializing a dynamic array with the initialization list, the ArrayIsDynamic function defined the array as static.
  5. Fixed an error in an implicit conversion of double to bool, which could lead to the error "invalid ex5".
  6. Updated the Standard Library - implemented minor bug fixes and improvements.

Strategy Tester

  1. Expanded the set of characteristics in testing results - added new features and diagrams:

    Expanded the set of characteristics in testing results

  2. Fixed loop of testing in the cases of absence of price history.
  3. Fixed refusal to modify pending orders approaching the order expiration time.

    Previously, if there were less than 5 minutes to the time of pending order deletion, an incorrect error TRADE_RETCODE_INVALID_EXPIRATION was returned at the attempt of correct order modification.

  4. Fixed generation of a negative spread when tested on open prices.
  5. Optimized transmission of testing results using the FrameAdd function.

    When you run an Expert Advisor in the strategy tester, you can create your own data array based on the simple types or simple structures. This data set can be saved using the FrameAdd() function in a special structure called a frame. During the optimization of an Expert Advisor, each agent can send a series of frames to the terminal. All the received frames are written in the file *.MQD in the folder terminal_directory/MQL5/Files/Tester expert named as the Expert Advisor. They are written in the order they are received from the agents.

    Optimize passing of frames from the tester to the client terminal and increased the speed of access to the frames received from the Expert Advisor at the entry points OnTesterPass.

  6. Fixed the context menu in the tabs of testing results.
  7. Fixed initialization of AccountInfo during optimization of strategies (the code exactly corresponds with a single test). This error could lead to the difference between the testing results and single tests with the same parameters.

MetaEditor

  1. Removed default highlighting the current line. In the previous versions, during the initial installation of MetaEditor highlighting of the current line was enabled by default.

    Removed default highlighting the current line

    Removed default highlighting the current line. In the previous versions, during the initial installation of MetaEditor highlighting of the current line was enabled by default

  2. In the MQL5 Wizard added support for the OnTester* entry points.

    In the MQL5 Wizard added support for the OnTester* entry points

    These entry points are handlers of events that are automatically generated by the strategy tester during testing (OnTester) and optimization (OnTesterInit, OnTesterPass, OnTesterDeinit) of Expert Advisors. Use of these functions in the EA allows to implement custom handling of testing and optimization results.

  3. Added snippets for the OnTester* entry points.

    For ease of writing code, MetaEditor provides the possibility to insert snippets — small template fragments of source code describing a particular construction of the MQL5 language. Insertion of a snippet is initialized by typing the keyword. After you type the keyword the cursor is changed to "Snippet available". To insert a snippet, you should press "Tab". For more information about working with snippets please read the MetaEditor Help.

    The keywords for the entry points OnTester, OnTesterInit, OnTesterPass and OnTesterDeinit are OnTester, OnTesterInit, OnTesterPass and OnTesterDeinit.

  4. Enhanced the features of MetaAssist for supporting operator overloading.

    For ease of programming, MetaEditor provides various tools from auto substitutions of names and tips to the functions to anchors and hot keys - MetaAssist. These tools allow you to speed up the process of code writing, make navigation easier and help prevent errors.

  5. Added the window displaying the differences between a source text local file and a version stored in MQL5 Storage:

    Added the window displaying the differences between a source text local file and a version stored in MQL5 Storage

    Added the window displaying the differences between a source text local file

  6. Fixed errors reported in crash logs.
    Updated documentation.

    The live update is available through the LiveUpdate system.

    The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

23 marzo 2012
MetaTrader 5 Trading Terminal build 619

Trading Terminal

  1. Added new display mode of volumes "Amount" for forex instruments in the Depth of Market. The new mode allows you to see requests in lots and in the quoted currency.

    Added new display mode of volumes Amount for forex instruments

  2. In the dialogs of properties of Bitmap and Bitmap Label, added tooltips to show long paths of image files.

MQL5

  1. Added new methods FrameAdd, FrameFirst, FrameNext and FrameInputs, allowing testing agents to pass their own custom data frames to the terminal and allowing the terminal to read them.

    With the new methods you can implement distributed computing to produce results in any convenient form, and not only in the form of one or more numeric values. By connecting to the MQL5 Cloud Network, you can solve any distributed tasks in MQL5, not necessarily, however, related to the financial markets.

  2. Added new entry points OnTesterInit, OnTesterDeinit and OnTesterPass. During the optimization of an Expert Advisor with these entry points, a chart to attach the EA to is created in the terminal. When a new data frame is received from testing agents, OnTesterPass is called, in which the received data can be read and analyzed. A detailed description is available in the documentation.

  3. Added new method ResourceCreate, which allows to create a resource of an image in the memory based on the array of the description of pixels. The created resource can be assigned to graphical objects Bitmap and Bitmap Label. A detailed description is available in the documentation.
  4. Added new properties TERMINAL_MEMORY_PHYSICAL, TERMINAL_MEMORY_TOTAL, TERMINAL_MEMORY_AVAILABLE, TERMINAL_MEMORY_USED, TERMINAL_X64, TERMINAL_OPENCL_SUPPORT, TERMINAL_DISK_SPACE, TERMINAL_CPU for TerminalInfoInteger.

    New features allow MQL5 programs to analyze the environment in which they run, and based on this make decisions about the use of various resources. These properties will be useful in complex Expert Advisors that require large amounts of resources. Now, during the optimization of such an Expert Advisor in the MQL5 Cloud Network, you can implement checks of available memory of an agent in the EA's OnInit, and in case of a potential shortage of memory not to start the testing process. Also, to make access to new properties easier, added the CTerminalInfo class. A detailed description is available in the documentation.

  5. Fixed optimizer error, which could result in incorrect calculations with floating point.
  6. Fixed the terminal crash error which occurred when using exceptions inside its own DLL in Windows Server 2008 R2 and Windows Server 2008.
  7. Standard Library. Added a new class CTerminalInfo for accessing the new properties of the Expert Advisor environment.
  8. Standard Library. Fixed an error of self-deletion of an indicator in the CAppDialog::CreateIndicator method.
  9. Standard Library. The BackGround method has been renamed to Background in control objects.

Strategy Tester

  1. Changed the operation of the testing method "on open prices". As before, OnTick of an Expert Advisor runs only at the opening of the bar, but instead of M1 OHLC ticks, high, low and close states the tested bar are used. Due to this, stops and pending orders may trigger at a price different from the stated one. This has led to a multiple acceleration of tests.
  2. Increased the total speed of optimization.
  3. The algorithm of checking restrictions on the aggregate positions volume now exactly matches that used on the server.
  4. Enabled checks for large values of tick volumes ​during generation. If the minute tick volume exceeds 2000, then tick simulation step increases proportionately. The accuracy of price modeling remains the same.

MetaEditor

  1. In the log of changes of the MQL5 Storage you now can revert changes to a certain revision.

    In the log of changes of the MQL5 Storage you now can revert changes to a certain revision

  2. Fixed an error in case-insensitive search in the Code Base and articles for the Russian language.
  3. In the Navigator, added the display of .h and .cpp files.
  4. Fixed errors reported on the forum and in crash logs.
    Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

9 marzo 2012
MetaTrader 5 Trading Terminal build 607

Trading Terminal

  1. Changed the algorithm of storing MQL5.com accounts passwords - previously saved passwords will be reset, their re-entering will be required.
  2. Fixed the average price display on the buy/sell buttons of the Depth of Market.
  3. Fixed drawing the lines of orders trading levels on a chart.

MQL5

  1. Changed behavior of the graphical objects created from MQL5 programs. When creating such objects, their parameters are not saved as default ones.
  2. Added DLL usage warning in MQL5 programs properties dialogue box.
  3. Fixed ChartRedraw function processing for "Chart" graphical objects.
  4. Fixed the value returned by OBJPROP_ANGLE property of "Trend by Angle" type graphical objects.
  5. Fixed memory leak when testing in 32-bit version.
  6. Changed design of MQL5 programs properties dialogue box.
  7. Fixed the functioning of the switch operator with signed and unsigned types.
  8. Standard Library. Fixed closing of the panel dialogue box in CAppDialog class.

MetaEditor

  1. Fixed MQL5 Storage errors.
  2. Moved basic MQL5 Storage operation commands to the first level context menus.
  3. Enhanced logging when working with MQL5 Storage.

Fixed errors reported in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

23 febrero 2012
MetaTrader 5 Trading Terminal build 597

Trading Terminal

  1. Fixed display of swap calculation mode in symbol specification.
  2. Fixed resetting of current prices in Market Watch for changed symbol parameters.
  3. Fixed placing of pending orders in an empty Market Depth.
  4. Fixed saving of SL and TP of a position for one-click trading.

Market

  1. Added the pressed state of the "Download" button when downloading a file.

MQL5

  1. Option "Allow DLL" moved to the "Dependencies" page.
  2. Fixed calling of functions from DLL.
  3. Added a property of MQL5 programs - #property icon. It is used to specify the application icon in the MQL5 Market.
  4. Added error ERR_FILE_WRITEERROR.
  5. Fixed an error in the ObjectGetValueByTime() function.
  6. Standard Library. Fixed the CList::Insert method.
  7. MQL5: Standard Library. Fixed the CExpertSignal::Direction method.
  8. Standard Library. Fixed methods CSpreadBuffer::RefreshCurrent, CTimeBuffer::RefreshCurrent, CTickVolumeBuffer::RefreshCurrent, CRealVolumeBuffer::RefreshCurrent.
  9. Standard Library. Fixed an error in the example of the custom indicator RSI.

Strategy Tester

  1. Fixed testing and optimization of Expert Advisors downloaded from the Market, using agents with different bitness.
  2. Fixed errors that could appear when switching to a different account opened on the same trade server.
  3. Fixed change of location of panels in a collapsed application window.

MetaEditor

  1. Enabled support of MQL5 Storage, a personal MQL5 source codes storage designed for the versioned storing of files and managing projects directly from MetaEditor 5 in a handy manner. Check the "Use MQL5 Storage" box in your MQL5.community profile to start using the storage.

    MQL5 Storage

  2. Added the "Journal" tab in the toolbar.
  3. Fixed search in the Code Base section.
  4. Added an option for downloading examples from the Code Base in search results.
  5. Added a keyboard shortcut Ctrl+W for closing a source code window.

Fixed errors reported on the forum and in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

14 febrero 2012
MetaTrader 5 Android build 586
  1. Añadida la representación de gráficos de precio en tiempo real, ahora es posible navegar y realizar el escalado.
  2. Rediseñado y mejorado el interfaz de toda la aplicación.
  3. Añadido un interfaz optimizado para trabajar en las tabletas.
  4. Corregidos los errores en los mensajes de los usuarios.

Descargar MetaTrader 5 para Android a través del enlace: https://download.mql5.com/cdn/mobile/mt5/android?hl=es&utm_source=www.metatrader5.com

9 febrero 2012
MetaTrader 5 Trading Terminal build 586

Trading Terminal

  1. Fixes in the MQL5 Market.
  2. Added showing of trade levels for the "Chart" graphical object.
  3. Fixed errors connected with password change.
  4. Added the "Anchor Point" property (OBJPROP_ANCHOR) for the "Bitmap Label" object.
  5. Fixed the "Code Base" tab.
  6. Added translation of the interface into Czech.
  7. The interface of the Web installer translated into Chinese, French, German, Portuguese, Russian and Spanish.

MQL5

  1. Fixed an error in the Bars() function for the W1 and MN timeframes.
  2. Fixes in the OpenCL support.
  3. Standard Library. Published classes of controls processing mouse events.
  4. Standard Library. Fixed an error in the CExpertTrade::SetOrderExpiration method.

Strategy Tester

  1. Fixed display of balance in the list of testing agents.
  2. Fixed an error that could damage string parameters of an Expert Advisor during optimization.
  3. Fixed generation of testing reports.

Fixed errors reported on the forum and in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

3 febrero 2012
MetaTrader 5 Trading Terminal build 581

Trading Terminal

  1. Included the release version of the MQL5 Market. Applications can be purchased from the terminal now.
  2. Fixed binding of file extensions in Windows Explorer.
  3. Fixed recalculation of panel size for a minimized window.
  4. Enhanced logging of email sending errors.

MQL5

  1. Added support for parallel computing using OpenCL.
  2. Changed behavior of the Bars() function - if necessary, the cache of historical data for the appropriate period is recalculated, but without downloading additional history from the server.
  3. Fixed checking for the existence of a trading symbol before requesting its history.
  4. Fixed passing of coordinates in mouse events - added correction for the window frame.
  5. Fixed passing of reference to a string for the x64 version.
  6. Fixed calculation of a string passed to the DLL for the x64 version.
  7. Fixed handling of ChartRedraw call in graphical objects of the "Chart" type.
  8. Standard Library. Fixed FormatOrder(...) methods of classes CHistoryOrderInfo and COrderInfo.
  9. Standard Library. Fixed the CiCustom::Initialize method.

Strategy Tester

  1. Fixed restoring of balance in testing settings.
  2. Optimized scanning of the list of available agents.
  3. Fixed setting of a deal price in the MqlTradeResult structure for Instant Execution.
  4. Expanded checking for the integrity of historical data on tester agents.

Fixed errors reported on the forum and in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

13 enero 2012
MetaTrader 5 Trading Terminal build 574

Trading Terminal

  1. Fixed accounting of a tick size in prices when placing orders from a chart.

MQL5

  1. Fixed initialization of a string variable.
  2. Fixed an error that caused different results in the x32 and x64 versions of an Expert Advisor.
  3. Added CHART_WINDOW_YDISTANCE property - receiving window top coordinates by its index.

Strategy Tester

  1. Fixed receiving information about processor.
  2. Optimized working with orders and deals history.

Fixed errors reported on the forum and in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

10 enero 2012
MetaTrader 5 Trading Terminal build 572

Trading Terminal

  1. A double click on the vertical axis scale or pressing "5" on a numpad restores the scale of the chart.
  2. Enhanced check of the incoming flow of prices.
  3. Enhanced check of the incoming flow of transactions of the Depth of Market.
  4. Fixed update of account data in the login dialog.
  5. Fixed update of the deposit currency in the header of the "Exposure" tab.

MQL5

  1. Added trade symbol properties - SYMBOL_SESSION_*. 
  2. Fixed check for availability of private and protected methods.
  3. Fixed problem with receiving strings from the DLL.

Strategy Tester

  1. Fixed setting of prices in Market Watch when restarting optimization.
  2. Fixed generation of ticks in multicurrency testing.
  3. Fixed distribution of tasks for MQL5 Cloud agents.
  4. Fixed requesting of the trade history with the start and end dates specified.

Fixed errors reported on the forum and in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

26 diciembre 2011
MetaTrader 5 Trading Terminal build 567

Trading Terminal

  1. Fixed control of the deal size in the Depth of Market window.
  2. Fixed display of the name of a brokerage company in reports.
  3. Fixed saving of the last deal volume in default settings after closing a position.
  4. Fixed opening of stop level modification dialog by double-clicking on a position.
  5. Fixed display of time and address of the last connection - now they are shown only when you connect with the master password.

MQL5

  1. Added a warning shown when freeing memory at an invalid pointer.

Strategy Tester

  1. MetaTester: Fixed distribution of tasks to Cloud agents.
  2. MetaTester: Fixed passing of the Profit Factor in optimization results.

Fixed errors reported on the forum and in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

23 diciembre 2011
MetaTrader 5 Trading Terminal build 565

Trading Terminal

  1. Improved notification of canceled orders in the Exchange Execution mode.
  2. Added correct display of prices for the orders placed in the Market Execution mode.
  3. Improved operation of the client terminal under Wine.
  4. Fixed display of indicators with the DRAW_ARROW drawing style.
  5. Fixed adding of objects with the option of showing the properties dialog.
  6. During authorization, information about the time and address of the last successful connection is shown in the terminal log.
  7. Added support of forced change of the master password at next login.

  8. Forced change of the master password
  9. Fixed display of the tick chart.

MQL5

  1. Added an event of mouse cursor move CHARTEVENT_MOUSE_MOVE and a chart event CHART_EVENT_MOUSE_MOVE.
  2. Added a function for saving resources into a file - ResourceSave.
  3. Fixed execution of the command of adding an indicator to a chart.
  4. Disabled prohibition to use the SendMail function in indicators.
  5. Added check of use of numeric data types in functions ArrayMin, ArrayMax, ArraySort.
  6. Fixed the GetValueByTime function for graphical objects.
  7. Added generation of the CHART_EVENT_MOUSE_MOVE event when releasing the left mouse button.
  8. Standard library - added automatic support of resizing of bars and dialog boxes in the library of controls.
  9. Standard library - added support of mouse events in the library of controls.

Strategy Tester

  1. Optimized traffic used when passing optimization results.
  2. Optimized selection of a Cloud server by an agent based on scanning results.
  3. Enhanced logging of changes in the list of Cloud servers.
  4. Fixed calculation of return for cross symbols.
  5. Fixed connection of tester agents to a Cloud server through a proxy.
  6. Fixed requesting of the trade history with the start and end dates specified.
  7. Fixed setting of shift of the left chart border in a template for visual testing.
  8. Fixed setting of prices in Market Watch before testing.

Fixed errors reported on the forum and in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

7 diciembre 2011
MetaTrader 5 iPhone build 540
  1. Updated trade dialogs.
  2. Translated into Spanish, Italian, French, Arabic and Chinese.
  3. Fixed errors reported by users.

The MetaTrader 5 for iPhone can be downloaded at https://download.mql5.com/cdn/mobile/mt5/ios?hl=en&utm_source=www.metatrader5.com

2 diciembre 2011
MetaTrader 5 Trading Terminal build 555

Trading Terminal

  1. Fixed checking of a selected symbol when opening a new order placing dialog.
  2. Fixed adding of a symbol into the selection list when subscribing to the Depth of Market when you switch to another account.
  3. Fixed and optimized scanning for available servers when opening a demo account.
  4. Optimized and accelerated initial initialization and switching between accounts.
  5. Expanded connection checking when receiving information about the amount of funds available on an MQL5 account.
  6. Fixed loss of positions of the terminal bars after start of a debugger.
  7. Fixed drawing of boundaries of an indicator's vertical scale for small window size.
  8. Terminal: Fixed forming of the list of substitution of available symbols in Market Watch.
  9. Fixed setting of order expiration time in the dialogs of pending order placing and modification.
  10. Redesigned the dialog of placing market orders in the Exchange Execution mode.
  11. Added showing of information about the public part of the client certificate for the extended authorization mode.
  12. Fixed calculation of order execution price based on the bid volume in the Depth of Market.

MQL5

  1. Changed version of .ex5 files. All MQL5 programs must be recompiled.
  2. Fixed errors in operation of dynamic arrays.
  3. Fixed release of an array after a failed call of MarketBookGet.
  4. Fixed setting of the last error after a call of OrderCheck.
  5. Fixed an error that caused the removal of an Expert Advisor in case creation of the indicator used in it failed.
  6. Fixed call of the parametric constructor of the static variable of a function.
  7. Fixed optimization of inline functions.
  8. Standard Library: Added a new set of classes for creating dialogs and display panels MQL5 programs.

Strategy Tester

  1. Added use of a single history database by agents of one computer to reduce the volume of downloaded history. The common database is located in the bases directory near the agents data directories.
  2. Optimized work with the history database - reduced the number of disk accesses.
  3. Enhanced logging agent to connect through a proxy MQL5 Cloud.
  4. Optimized work with the history in the tester agent.
  5. Modified algorithm of task distribution among the servers of the MQL5 Cloud.
  6. Optimized distribution of testing tasks among the servers of the MQL5 Cloud during genetic optimization.
  7. Fixed initialization of cross symbols during repeated testing.
  8. Fixed cleanup of a testing file buffer.
  9. Optimized use of traffic by tester agents when working with MQL5 Cloud.
  10. Added information about the number of a pass during export of optimization results in XML.
  11. Extended check of the availability of funds when using the MQL5 Cloud.
  12. Fixed errors that could result in the appearance of different testing results on different agents.

MetaEditor

  1. MetaEditor: Fixed setting of debug points.
  2. MetaEditor: Optimized work of MetaAssist.

Fixed errors reported on the forum and in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

11 noviembre 2011
MetaTrader 5 Trading Terminal build 540
  1. Trading Terminal: Trade and price characteristics of a trading instrument are now shown in a separate Details tab of the Market Watch:

    Trade and price characteristics of a trading instrument are now shown in a separate Details

  2. Trading Terminal: Fixed downloading of the terminal and MetaEditor documentation files.
  3. Trading Terminal: Fixed setting of filtration parameters in a trading history after an account is changed.
  4. Trading Terminal: Redesigned the server selection dialog box that appears when opening a demo account.
  5. Trading Terminal: Fixed and accelerated displaying of the Depth of Market.
  6. Trading Terminal: Fixed saving of an Expert Advisor running on a chart when changing a profile.
  7. Trading Terminal: Fixed displaying of emails requiring confirmation of a client certificate for further authorization.
  8. Trading Terminal: Fixed terminal crash when a Windows session is closed with a failure.
  9. Trading Terminal: Fixed incorrect display of monetary values ​​for systems, whose languages ​​are with the left to right text direction.
  10. Trading Terminal: Changes made to improve stability of the terminal under Wine.
  11. MQL5: Fixed control of the visibility of graphical objects on different timeframes.
  12. MQL5: Fixed values of the clrAqua and clrFuchsia color constants.
  13. MQL5: Expanded validation of timeseries data requests.
  14. MQL5: Fixed changing of size of dynamic arrays.
  15. MQL5: Changed version of .ex5 files. All MQL5 programs must be recompiled.
  16. MQL5: In classes of arrays of primitive type, added linear search methods.
  17. MetaTester: Expanded control over the use of resources by Cloud tester agents (use of CPU, memory and hard disk).
  18. MetaTester: Fixed validation of dates of single test intervals.
  19. MetaTester: Fixed reset of the list of selected symbols before each test pass.
  20. MetaTester: Fixed scanning and displaying of the list of available Cloud servers.
  21. MetaTester: Added proxy support in connections to the Cloud network.
  22. MetaTester: Fixed the "no history" error in optimizations run using the Cloud network.
  23. MetaTester: In the visual tester corrected automatic adding of custom indicators that are plotted in a separate window.
  24. Fixed errors reported on the forum and in crash logs.
  25. Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

21 octubre 2011
MetaTrader 5 Trading Terminal build 527
  1. Trading Terminal: Añadida una columna con el identificador de la orden o transacción en los sistemas comerciales externos (bolsas, ECN, etcétera) en la pestaña de posiciones y órdenes abiertas, y en la historia comercial.
  2. Trading Terminal: Ampliados y corregidos los mensajes sobre los errores de autorización de la cuenta MQL5.com.
  3. MQL5: Corregido el error de definición de la ruta al archivo del recurso durante su declaración.
  4. MQL5: Actualizada la biblioteca estándar, en la clase CChartObject se ha añadido la propiedad Z_Order().
  5. MetaTester: A la lista de agentes se ha añadido una columna que muestra el número de tareas ejecutadas por el agente.
  6. MetaTester: Corregida la detención de los agentes locales de simulación al actualizar el sistema LiveUpdate.
  7. MetaTester: optimizado el algoritmo de distribución de tareas de los agentes de la Nube al optimizar en el modo de iteración completa.
  8. MetaTester: En el diario de simulación se ha añadido la muestra de la distribución final de las tareas ejecutadas entre los agentes locales, remotos y de la Nube.
  9. MetaTester: Corregida la divergencia de la historia de simulación y de optimización al aparecer barras con spread igual a cero.
  10. Correcciones de mensajes en los foros y crash logs.
  11. Actualización de la documentación.

La actualización está disponible a través del sistema LiveUpdate.

Podrá descargar el terminal comercial MetaTrader 5 a través del enlace: https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.metatrader5.com

123456789101112