What's new in MetaTrader 5

The history of updates of the desktop, mobile and web platforms

3 April 2011
MetaTrader 5 iPhone build 421
  • Added charts with navigation and scaling functions;
  • Графики в MetaTrader 5 iPhone
  • Added offline mode;
  • Fixed errors.
30 March 2011
MetaTrader 5 Client Terminal build 425
  1. Terminal: Fixed the sorting of deals in the trade history of the terminal and tester.
  2. Terminal: Removed default saving of default properties of the "Bitmap" and "Bitmap Label" objects.
  3. Terminal: Fixed terminal loading for operating systems without DirectX 9 (used for displaying a three-dimensional graph of optimization results).
  4. MQL5: Updated the standard library - in classes CIndicatorBuffer, CDoubleBuffer and CSpreadBuffer the default buffer size is increased from 16 to 256.
  5. MetaTester: Added an item of the context menu - "Auto Open Chart".
  6. MetaTester: The "Auto Open Chart" parameter is enabled by default.
  7. MetaTester: Fixed the file cache of the optimizer.
  8. MetaTester: Added removal of log files of a testing agent before optimization start.
  9. MetaTester: Optimized distribution of tasks among testing agents. Batch jobs are assigned to "fast" agents, while "slow" agents get single jobs.
  10. MetaEditor: Fixed the default substitution of the function value ​​in MetaAssist.
  11. Fixed errors reported on the forum and in crash logs.
25 March 2011
MetaTrader 5 Client Terminal build 421
  1. Terminal: Fixed an error that appeared when opening defective history files.
  2. MQL5: Fixed copying of structure.
  3. MQL5: Added new properties of graphical objects "Bitmap" and "Bitmap Label" - OBJPROP_XOFFSET and OBJPROP_YOFFSET for shifting the upper-left corner of a drawn fragment in the original bitmap. These properties are used in combination with OBJPROP_XSIZE and OBJPROP_YSIZE.
  4. MetaTester: Now when uninstalling a service, the working directory of the service agent is also removed.
  5. MetaTester: Added parameter "name *.set of EA parameters file" when starting testing from the command line.
  6. MetaTester: Optimized transmission of tasks to an agent during optimization.
  7. MetaTester: Now when installing the client terminal, rules for testing agents are automatically added in the Windows Firewall.
  8. MetaTester: Fixed the release of indicators during testing.
  9. MetaTester: Optimized use and release of memory by testing agents.
  10. MetaTester: Disabled proxy support for the connection of testing agents.
  11. MetaEditor: Fixed work of MetaStyler with the contents of strings.
  12. MetaEditor: Fixed excessive memory usage when opening large source files (several megabytes or more).
  13. Fixed errors reported on the forum and in crash logs.
21 March 2011
MetaTrader 5 Client Terminal build 420
  1. Terminal: Fixed changing of properties of the "Chart" graphical object. Added a property of graphical objects - OBJPROP_FILL (function ObjectGetInteger).
  2. Terminal: Separated the properties of contour-fill and showing on the fore-background of graphical objects.
  3. Terminal: Fixed saving and applying of a value ​​of the allowed default price deviation.
  4. Terminal: Fixed display of a tooltip of the "Text Label" object.
  5. Terminal: In the graphical object "Vertical Line" added a new property "Ray" - with this option enabled, the vertical line is applied to all chart windows. Added a property of graphical objects OBJPROP_RAY (function ObjectGetInteger).
  6. MQL5: Fixed generation of the event of "Bitmap" object removal.
  7. MQL5: Added a built-in macro __PATH__ - an absolute path to a file.
  8. MQL5: Updated the Standard Library: in the CChart class, added methods to manageme the display of scales ShowDateScale and ShowPriceScale.
  9. MetaTester: Added a new mode of testing "Math calculations".
    The mode of mathematical calculations assumes a blank run of the tester, with call of functions OnInit, OnTester, OnDeinit. With an empty run, an agent does not synchronize the historical data. The mode of mathematical calculations implies an automatic use of a custom optimization criterion (Custom max, result of the OnTester function) to determine the best possible results. Previously, for such a mode, it was necessary to specify the testing start date larger or equal to the testing end date, and to manually select Custom max for the optimization criterion.

    Strategy Tester with MetaTrader 5 Client Terminal

  10. MetaTester: Added a new mode of 3D visualization of testing results.

    3D visualization with Strategy Tester

  11. MetaTester: Added a file cache for the forward testing.
  12. MetaTester: Added auto-save of settings in the manager of agents.
  13. MetaTester: Fixed reading of settings by the agent services.
  14. MetaTester: Fixed the distribution of tasks between agents during optimization.
  15. Fixed errors reported on the forum and in crash logs.
14 March 2011
MetaTrader 5 Client Terminal build 412
  1. Terminal: Fixed opening of a demo account.
  2. Terminal: Fixed a dialog of the list of Expert Advisors - added selection of the current chart.
  3. Terminal: Fixed terminal crash when scanning the network of agents and when stopping the testing process.
  4. MQL5: Fixed access to the properties of the "Chart" object.
  5. MQL5: Added chart properties for disabling the display of the price scale and the time scale: CHART_SHOW_DATE_SCALE and CHART_SHOW_PRICE_SCALE.
  6. MetaTester: In the testing dialog, added a tab for registration in the MQL5 Cloud Network.
  7. Fixed errors reported on the forum and in crash logs.
10 March 2011
MetaTrader 5 Client Terminal build 411
  1. Terminal: Fixed a bug in changing the properties of the "Chart" graphical object.
  2. MQL5: Added support for parametric macros - you can now declare the macros of the following form:
    #define MUL(a, b) ((a)*(b))
  3. MQL5: Added an object property OBJPROP_CHART_ID - the identifier of a chart that corresponds to the graphical object "Chart" (OBJ_CHART). This gives the possibility to manage the properties of a chart embedded in a graphical object from MQL5 programs.
  4. MQL5: In the OnDeinit function, added a new code of deinitialization reason - REASON_CLOSE - meaning the terminal has closed.
  5. MQL5: Added check for the availability of a symbol in Market Watch when creating an indicator from an MQL5 program.
  6. MQL5: Fixed notifications of errors when downloading MQL5 programs.
  7. MQL5: Fixed stop of scripts and Expert Advisors when closing the terminal.
  8. MQL5: Fixed the implementation of the MessageBox function.
  9. MetaTester: Fixed update of remote agents.
  10. MetaEditor: Fixed search and replace in a selected text.
  11. MetaEditor: Fixed MetaStyler for comment blocks.
  12. MetaEditor: Added an option for exiting the snippet processing by pressing ESC.
  13. Fixed errors reported on the forum and in crash logs.
3 March 2011
MetaTrader 5 Client Terminal build 408
  1. Terminal: Message about deletion of an account in a client terminal is written into the journal.
  2. Terminal: Fixed formation of the depth of market during its first startup.
  3. MQL5: Added the CHARTEVENT_CHART_CHANGE even of chart characteristics changes: size, color, template, etc.
  4. MQL5: Fixed omission of an error message when the sign ";" is missed.
  5. MQL5: Fixed a warning on the comparison of bool types with other data types.
  6. MQL5: Prefix clr* added to color constants: the GreenYellow color now will be called clrGreenYellow. The old color names will be supported for the next few builds.
  7. MQL5: Fixed color to string and string to color typecasting.
  8. MQL5: Fixed chart property change CHART_BRING_TO_TOP.
  9. MQL5: Fixed behavior of MQL5 programs if custom indicator loading fails.
  10. MQL5: Updated the Standard Library. Fixed the Resize method of classes of dynamic arrays CArray *.
  11. MetaTester: Fixed update of remote agents.
  12. MetaTester: Fixed setting of a symbol and a period of testing for an Expert Advisor during the repeated run.
  13. MetaTester: The process of a remote testing agent is set a lower priority for a more flexible scheduling of computer resources.
  14. MetaTester: Fixed freeing up of memory with historical data in case there are no new connections.
  15. MetaEditor: Optimized work of MetaAssist.
  16. MetaEditor: Fixed processing of the do ... while snippet.
  17. MetaEditor: Added option "Only selected" in the dialog of text replacement.
  18. Fixed errors reported on the forum and in crash logs.
24 February 2011
MetaTrader 5 Client Terminal build 404
  1. Terminal: Fixed enabling/disabling of a signal in the dialog of signal setting.
  2. MQL5: Fixed slowdown in the absence of incoming values for custom indicators.
  3. MQL5: Added forced redrawing of a chart when navigating from scripts and Expert Advisors.
  4. MQL5: Updated the Standard Library - fixed an error in the CString::Reverse method.
  5. MetaTester: Fixed the generation of optimization cache.
  6. MetaTester: Fixed am error in the file cache of the testing agent.
  7. MetaTester: Fixed transmission of an Expert Advisor to a testing agent in case the Expert Advisor has changed.
  8. MetaEditor: Fixed memory leaks when working with snippets.
  9. MetaEditor: Fixed saving of files that are open in the browser in the MQL5 directory.
  10. MetaEditor: Optimized editing and compilation of large mq5 files.
  11. Fixed errors reported on the forum and in crash logs.
20 February 2011
MetaTrader 5 Client Terminal build 401
  1. Terminal: Fixed the start of the client terminal using the custom configuration file.
  2. Terminal: Fixed saving of negative angles for the label objects.
  3. Terminal: Added re-calculation of the width of chart scales after changing its properties.
  4. MQL5: Fixed the ChartApplyTemplate function.
  5. MQL5: Fixed reading of large strings from a file.
  6. MQL5: Fixed call of the OnDeinit method for custom indicators used simultaneously by several Expert Advisors or charts.
  7. MQL5: Changed the value of the OBJ_ALL_PERIODS flag (0x001fffff (2 097 51) instead of 0xffffffff (4 294 967 295))
  8. MQL5: Updated the Standard Library.
  9. MetaTester: The "Clear" command of the context menu of the tester journal removes all log files of the tester and local agents.
  10. MetaTester: Fixed the initialization of the history cache when shifting the testing start date.
  11. MetaTester: In the context menu of the tester journal, added command "Full Optimization Logs" - showing the logs on the completion of intermediate stages of optimization.
  12. MetaEditor: Added support for snippets - the automatic insertion of code snippets initialized by typing a key word. For example, in order to insert the class declaration, type class - after that the cursor shape will change, thus indicating that the word is the key word for a snippet:

  13. Then, when you press Tab, the key word is replaced by the class declaration. Change of the class name will automatically change the names of the constructor and destructor.

    The transition between active fields of the snippet (in our case between the class name, the name of the constructor and destructor name) is performed by pressing Tab (move forward) and Shift+Tab (move back). Currently the following snippets are supported:

    Keyword
    Value
    start
    Entry point OnStart
    initv Entry point void OnInit
    initi
    Entry point int OnInit
    deinitEntry point OnDeinit
    tickEntry point OnTick
    time
    Entry point OnTime
    trade
    Entry point OnTrade
    book
    Entry point OnBook
    chart
    Entry point OnChart
    test
    Entry point OnTester
    calc
    Entry point OnCalculate
    calcp
    Entry point OnCalculate
    struct
    Structure declaration
    for
    Declaration of the for loop
    while
    Declaration of the while loop
    do
    Declaration of the do while loop
    if
    Declaration of the if condition
    ife
    Declaration of the if-else condition
    enum
    Declaration of enumeration
    class
    Class declaration
    classbDeclaring a class with inheritance
    switch
    The switch selector
    case
    The case selector
    #imp
    Import declaration

  14. MetaEditor: Added search on MQL5.com by pressing Ctrl+F1.
  15. MetaEditor: Fixed search on MQL5.com in English.
  16. Fixed errors reported on the forum and in crash logs.
4 February 2011
MetaTrader 5 Client Terminal build 392
  1. MetaTester: Fixed setting optimization parameters.
  2. MetaTester: Fixed mass adding and deleting of agents.
  3. MetaTester: Added showing of single-test results immediately after they are obtained.
  4. Fixed errors reported on the forum and in crash logs.
3 February 2011
MetaTrader 5 Client Terminal build 391
  1. Terminal: Significantly increased speed of loading of the charts with a large number of graphical objects (hundreds of thousands).
  2. MQL5: Fixed commands for navigating through a chart from an Expert Advisor.
  3. MQL5: Fixed casting of numbers with a floating point to a string.
  4. MQL5: Fixed copying of structures.
  5. MQL5: Fixed an error in setting of parameters of running Expert Advisors.
  6. MQL5: Fixed errors in the StringReplace function.
  7. MQL5: Updated the Standard Library.
  8. MetaTester: Fix the generation of optimization cache.
  9. MetaTester: Optimized transmission and display of trade results of testing.
  10. MetaEditor: Added generation of classes in the MQL5 Wizard.
  11. MetaEditor: Fixed creation of an *.mqh file for an *.mq5 file for long function names.
  12. Fixed errors reported on the forum and in crash logs.
31 January 2011
MetaTrader 5 Client Terminal build 387
  1. Terminal: Added support for pasting from the clipboard into a list of trade servers in the dialog of new account opening.
  2. Terminal: Fixed saving and display of selected categories of news.
  3. Terminal: Added filtering of rows to be pasted from the clipboard in the fields of new account opening dialog.
  4. Terminal: Fixed calculation of total profits in the OpenXML statement of the trade history.
  5. Terminal: In the terminal log, added messages about enabling/disabling of automated trading.
  6. MQL5: Fixed getting of the Expert Advisor parameters.
  7. MQL5: Fixed passing of call of functions from the ArrayGetAs* family in x64.
  8. MQL5: Fixed definition of accessibility of protected and private class members.
  9. MQL5: Optimized event handling by Expert Advisors.
  10. MQL5: Fixed definition of the paths to resources.
  11. MQL5: Fixed output of messages about deletion of an undeletable or invalid pointer.
  12. MetaTester: Fixed saving of testing settings when running a single test from the optimization results.
  13. MetaTester: Fixed memory reserving when displaying 2D optimization results on large data volumes.
  14. MetaTester: Optimized passing of test parameters.
  15. MetaTester: Optimized display of the trade history in the tester.
  16. MetaEditor: Fixed update of the tester through LiveUpdate.
  17. MetaEditor: Fixed timely display of debugging points.
  18. MetaEditor: Added a command for creating an *.mqh file at an *.mq5 file for preparing the header files of libraries.
  19. MetaEditor: Fixed transition between the description and definition of the method.
  20. MetaEditor: Fixed opening of a file from the command line.
  21. MetaEditor: Fixed search through MQL5.com when connecting through a proxy server.
  22. Fixed errors reported on the forum and in crash logs.
19 January 2011
MetaTrader 5 Client Terminal build 384
  1. Terminal: Added a wizard for adding remote testing agents. In addition to manual entry and import from *.mt5 file, added the option of scanning the local network to find a working agent.
  2. MQL5: Added the possibility to store resources in *.ex5 files. To add a resource to *.ex5, the directive #resource is used, with the specification of a path to the file relative to the directory MQL5\Images of the client terminal. Foe example: #resource myexpert\button.bmp
    The files in the resource can be referenced to using a line: "script_name::resource_name". As the resource name, the file name (without extension) passed in the #resource directive is used.
  3. MQL5: Fixed passing as a parameter of the ArrayGetAsSeries function and similar errors.
  4. MQL5: Fixed false compilation warning "expression is always false".
  5. MQL5: Fixed the release of custom indicators used in MQL5 programs.
  6. MetaTester: Fixed crash of the tester with the release of custom indicators.
  7. MetaEditor: Added display of function arguments in the tooltip for the nested and multi-functions.
  8. Fixed errors reported on the forum and in crash logs.
18 January 2011
MetaTrader 5 Client Terminal build 381
  1. Terminal: Added email verification during the registration of a demo account - an email with the confirmation code required to open a demo account is sent to the specified email address. When using the same email address again, re-confirmation is not required.
  2. Terminal: Added a request to confirm attachment of an Expert Advisor to a chart where another EA is already running.
  3. Terminal: When connecting to a server, the used access point is specified in the terminal journal.
  4. Terminal: Fixed error of price history lading when changing the current account.
  5. MQL5: Fixed execution of the OnDeinit function of custom indicators at terminal shutdown.
  6. MQL5: Fixed setting of labels of custom indicators through #property.
  7. MQL5: Fixed drawing of levels of custom indicators.
  8. MQL5: Fixed error of global arrays operation for x64.
  9. MQL5: Fixed error of custom indicators calculation.
  10. MQL5: Fixed comparison of unsigned types with zero.
  11. MQL5: Updated the Standard Library: all library classes are now inherited from CObject.
  12. MQL5:Updated the Standard Library:  the Type() methods of classes CDealInfo, CHistoryOrderInfo, COrderInfo and CPositionInfo are renamed to DealType(), OrderType() and PositionType() respectively.
  13. MetaTester: Fixed terminal crash that could appear with the release of custom indicators.
  14. MetaTester: Fixed terminal looping when connecting to the tester.
  15. MetaEditor: Fixed auto substitution when using keywords.
  16. MetaEditor: In the EA and indicator creation wizard, added a step for selecting events to process with further generation of template functions.
  17. Fixed errors reported on the forum and in crash logs.
18 January 2011
New MetaTrader 5 for iPhone

Today we are releasing the mobile version of the MetaTrader 5 Client Terminal for iPhone, iPod Touch and iPad. Now everyone can take advantage of the freedom of mobile trading - the terminal can be downloaded free from AppStore.

With MetaTrader 5 for iPhone, you can trade, monitor your account and stay up-to-date with financial information 24 hours a day. With the mobile terminal, trading in the financial markets is available at anytime from anywhere in the world. MetaTrader 5 Mobile offers the user-friendly interface and wide variety of features.

Charts and analytic tools will be added soon to the mobile version of the MetaTrader 5 mobile terminal. The list of supported platforms will be expanded – as we are planning to release also MetaTrader 5 Mobile terminal for Android and Blackberry.

Download MetaTrader 5 for iPhone to acquire a powerful tool for trading in financial markets. What's more important, the terminal will always be with you.

27 December 2010
MetaTrader 5 Client Terminal build 375
  1. Terminal: Fixed an error in the parameters tab.
  2. MQL5: Fixed rebuilding of the base of graphical objects.
  3. MQL5: Fixed comparison of base type variables NULL.
  4. MQL5: Fixed warnings about memory leaks with DLL use prohibited.
  5. MetaTester: Showing of CPU of a remote agent is replaced by the testing progress.
  6. MetaEditor: Added an option for page numbering.
  7. MetaEditor: Added support for the Full Screen mode.
  8. Fixed errors reported on the forum and in crash logs.
26 December 2010
MetaTrader 5 Client Terminal build 373
  1. Terminal: Optimized history loading after it has been deleted from the terminal.
  2. Terminal: Improved positioning of chart windows for commands "Tile Vertically" and "Tile Horizontally". 
  3. MQL5: Looped Expert Advisors are now stopped faster.
  4. MQL5: Fixed work with local variables in recursive calls of virtual methods of the class. 
  5. MQL5: Raised the version of EX5 files - this requires recompilation of MQL5 programs.
  6. MQL5: Fixed error of color checking CLR_NONE.
  7. MQL5: Added an integer chart property CHART_BRING_TO_TOP, which allows to display the corresponding chart on top of other charts. 
  8. MQL5: Fixed errors in the standard library.
  9. MetaTester: Optimized data exchange between the client terminal and the testing agent.
  10. MetaTester: Improved detection of agents with problems.
  11. MetaTester: Improved update of remote testing agents. Now you can update and 32-bit and 64-bit remote agents, regardless of the bit mode of the client terminal.
  12. MetaTester: Introduced faster plotting of the balance/equity charts with a huge number of trades.
  13. MetaTester: Improved memory control in case there is a large number of trades.
  14. MetaTester: Accelerated return of testing results to the client terminal.
  15. Fixed errors reported on the forum and in crash logs.
15 December 2010
MetaTrader 5 Client Terminal build 370
  1. MQL5: Fixed operation of the iCustom function.
  2. MetaTester: Fixed stopping of 32 bit and 64 bit remote agents during the update.
  3. MetaTester: Instead of CPU usage of a remote agent, now the testing progress is shown.
  4. Fixed errors reported on the forum and in crash logs.
14 December 2010
MetaTrader 5 Client Terminal build 368
  1. Terminal: Fixed the formation of the economic calendar.
  2. Terminal: Optimized generation of trading and testing reports in HTML and OpenXML. Now the generation of large reports does not cause "freezing" of the terminal.
  3. MQL5: Raised the version of EX5 files - this requires recompilation of MQL5 programs.
  4. MQL5: If an error occurs in the StringReplace function, now the code of the last error is returned.
  5. MQL5: Fixed an error in the ArrayResize function for multidimensional arrays.
  6. MQL5: Fixed deinitialization of a custom indicator in case its parameters has changed.
  7. MQL5: Added a function for casting an enumeration to a string - EnumToString().
  8. MQL5: Fixed passing of a string by reference to a DLL for x64.
  9. MQL5: Updated the Standard Library.
  10. MetaTester: Fixed LiveUpdate for remote agents - the remote agents should be updated manually.
  11. MetaTester: Increased speed of testing and optimization - removed redundant operations during initialization and passing of results.
  12. MetaTester: Fixed passing of a tick before testing.
  13. MetaTester: Fixed calculation of the total testing time.
  14. MetaEditor: Fixed display of the "Date" box in the "Articles" tab.
  15. MetaEditor: Fixed downloading of a list of categories in the "Articles" and "Code Base" tabs.
  16. Fixed errors reported on the forum and in crash logs.
2 December 2010
MetaTrader 5 Client Terminal build 362
  1. Terminal: Dialogs for viewing logs of the terminal, tester and Expert Advisors are now nonblocking.
  2. Terminal: Fixed saving of graphic settings of the terminal when restarting the operating system with the terminal running.
  3. MQL5: Added the StringReplace function.
  4. MQL5: Fixed processing priority of the click event for the OBJ_RECTANGLE_LABEL object.
  5. MQL5: Fixed unconditional execution of the OnDeinit method when changing the parameters of a custom indicator.
  6. MQL5: Foxed check of structures\classes embedded in structures\classes.
  7. MQL5: Fixed reset of the calculated data counter during custom indicator initialization.
  8. MQL5: Fixed errors in classes of trade signals of the standard library.
  9. MQL5: In the standard library, added a trade signal class CSignal2EMA-ITF which uses the CSignalITF time filter.
  10. MetaTester: Fixed processing of outstanding tasks during optimization.
  11. MetaTester: Fixed handling of agents' errors during optimization.
  12. MetaTester: Fixed group update of agents.
  13. MetaTester: Fixed export and import of the list of testing agents.
  14. MetaTester: Fixed saving of testing parameters when restarting the operating system with the terminal running.
  15. Fixed errors reported on the forum and in crash logs.
12345678910111213