What's new in MetaTrader 5

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

21 October 2010
MetaTrader 5 Client Terminal build 346
  1. Terminal: Fixed copying of graphical objects.
  2. Terminal: Fixed calculation of ping to access points during their full rescan.
  3. Terminal: Fixed interface "freezing" when opening a demo account with no internet connection.
  4. Terminal: Fixed generation of labels of custom indicators in a separate window.
  5. Terminal: Fixed display of the calendar of economical events.
  6. MQL5: Changed behavior of ArrayResize - the additionally allocated memory is reset after allocation.
  7. MQL5: Added support of graphical objects of the OBJ_EVENT type.
  8. MQL5: Updated the standard library.
  9. MetaTester: Fixed forward testing.
  10. MetaTester: Fixed update of the list of Expert Advisors in the tester setup dialog.
  11. MetaEditor: Added a generator of trading strategies. Now in 4 steps you can generate your own trading Expert Advisors based on a ready set of trade signals, algorithms of Money Management and Trailing Stop.
  12. MetaEditor: Fixed errors that could appear during debug of custom indicators.
  13. Fixed errors reported on the forum and in crash logs.
18 October 2010
MetaTrader 5 Client Terminal build 344
  1. Terminal: Added display of economic calendar news using special graphical objects (OBJ_EVENT).
  2. Terminal: Fixed dragging of Stop-Limit orders in the chart window. Now the limit price changes by the same value as the order price .
  3. Terminal: Fixed and optimized storing of a trading history.
  4. Terminal: Increased reliability of downloading of updates via LiveUpdate.
  5. Terminal: Fixed error of indicator drawing at history loading.
  6. Terminal: Fixed calculation of complex exchange rates after switching between trade servers.
  7. Terminal: Fixed symbol history initialization with no open charts and with applied indicators, after reconnection to a trade server has been made.
  8. Terminal: Fixed formation of bars for rare quotes (with the omission of bars).
  9. Terminal: Fixed hiding if symbols in Market Watch for symbols whose charts are open.
  10. Terminal: Fixed downloading of Help files when the terminal runs through a caching proxy.
  11. MQL5: Extended warnings of data loss at typecasting.
  12. MQL5: The Bars() and SeriesInfoInteger(SERIES_BARS_COUNT) functions now operate synchronous for scripts and Expert Advisors.
  13. MQL5: Fixed error of concatenation of constant strings.
  14. MQL5: Fixed processing of custom events.
  15. MQL5: In the debugger fixed displaying of this for methods from the same string.
  16. MQL5: Update custom indicators and the MQL5 Standard library.
  17. MQL5: Changed behavior of ArrayResize() - the additionally allocated memory is reset after being allocated.
  18. MetaTester: Accelerated optimization by storing history data in the agent for further runs.
  19. MetaTester: Added filtering by a symbol in the trade history of a tester.
  20. MetaTester: Fixed error in the construction of the optimization cache.
  21. MetaTester: Fixed the behavior of the HistorySelectByPosition() function.
  22. MetaTester: Added a new testing mode that allows modeling delays in execution. This modes helps to test the processing of requoting of trade requests.
  23. MetaEditor: Added showing of parenthesis in bold.
  24. Fixed errors reported on the forum and in crash logs.
7 October 2010
MetaTrader 5 Client Terminal build 342
  1. Terminal: Fixed forced chart synchronization (the "Refresh" command).
  2. Terminal: Fixed update of the financial status bar when no quotes arrive and on weekends.
  3. Terminal: Fixed terminal crash that appeared when changing the list of selected symbol.
  4. Terminal: Fixed terminal crash during trade calculations.
  5. Terminal: Fixed terminal crash that resulted from change of the "Trading" tab size.
  6. Terminal: Fixed constructing of the economic calendar and generation of the news base.
  7. Terminal: Fixed displaying of the economic calendar.
  8. Terminal: In "Data Window" added display of spread for historical data.
  9. Terminal: Fixed forming of spread in historical data for symbols with DOM.
  10. Terminal: Fixed drawing of indicators during navigation through a chart.
  11. Terminal: Fixed drawing of indicators using styles DRAW_SECTION and DRAW_ZIGZAG.
  12. Terminal: Fixed setting of order execution modes in trade dialogs.
  13. Terminal: Added showing of the value of client defined deviation when logging trade operations in the terminal Journal (for Instant Execution).
  14. MQL5: Fixed generation of debug information for x64.
  15. MQL5: Added warnings for overriding of global variables.
  16. MQL5: Added warnings that appear when calling ArrayResize and ArrayFree for static arrays.
  17. MQL5: Fixed casting of enumeration to string.
  18. MQL5: Fixed an error with return of structures by values from functions for x64.
  19. MQL5: Fixed operation of the CopyBuffer function during work with buffers of a custom indicator.
  20. MQL5: Added check of availability of history and connection of the terminal at the start of an Expert Advisor. If the history is unavailable or terminal cannot establish connection during 5 seconds, the Expert Advisor will start with available data.
  21. MetaTester: Fixed checking of restrictions on the maximum volume of positions and orders.
  22. MetaTester: Fixed sorting of the history of deals in the tester.
  23. MetaTester: Fixed the OrderCheck function.
  24. MetaEditor: Added a hotkey Ctrl+Shift+S for the "Save All" function.
  25. MetaEditor: Added the "Compile Open File" command - menu "File-Compile Open Files" or the Ctrl+F7 hotkey.
  26. MetaEditor: Added catalog compilation command in the context menu of the navigator.
  27. MetaEditor: Added an option of highlighting of the current string.
  28. Fixed errors reported on the forum and in crash logs.
27 September 2010
MetaTrader 5 Client Terminal build 338
  1. Terminal: Fixed display of the "Trading" tab in Windows XP.
  2. Terminal: Fixed control of the list of selected symbols in Market Watch.
  3. Terminal: Optimized drawing and control of Market Watch when the number of selected symbols is too large.
  4. Terminal: Fixed menu of operations with sets of symbols in Market Watch.
  5. MQL5: Fixed representing of multidimensional arrays in the debugger.
  6. MQL5: Fixed debugging of Expert Advisors in the OnDeinit function.
  7. MQL5: Fixed behavior of the ArrayResize function - in case of an error it returns -1.
  8. MQL5: Updated the standard library.
  9. Tester: Fixed forming of patterns when starting a single testing from an optimization list.
  10. Tester: Added forced deletion of logs of a testing agent if their size exceeds 1 Gb.
  11. MetaEditor: Fixed crash that appeared at document closure.
  12. MetaEditor: Fixed pending when loading updates of the list of articles and CodeBase.
  13. Fixed errors reported on forum and in crash logs.
22 September 2010
MetaTrader 5 Client Terminal build 334
  1. Terminal: Added new feature - One click trading.
  2. Terminal: Fixed terminal crash in the pending order placing dialog.
  3. Terminal: Fixed processing of Expert Advisor parameters of real type after an empty value has been entered.
  4. MQL5: Fixed errors in the CTrade class of the standard library.
  5. MQL5: Fixed copying of data beyond a static array.
  6. MQL5: Added new error: "explicit constructor call is not allowed", which appears at an attempt to explicitly call an object constructor.
  7. Tester: Fixed displaying of a testing chart tooltip.
  8. Tester: Fixed generation of a list of local agents.
  9. MetaEditor: Fixed displaying of an empty list of functions in the toolbar command menu.
  10. Fixed errors reported on forum and in crash logs.
14 September 2010
MetaTrader 5 Client Terminal build 328
  1. MQL5: Raised the version of the EX5 file. In this regard all participants of the Championship who have submitted EX5 files must send their updated Expert Advisors (profile of the Championship participant - "Files" tab - file of the Expert Advisor/library/indicator - attach file). If necessary, also update custom indicators and libraries.
  2. MQL5: Fixed initialization of objects of arrays of classes.
  3. MQL5: Fixed conversion of strings to other data types.
  4. Terminal: Added possibility to download lists of tester parameters into the list pf parameters of an Expert Advisor.
  5. Terminal: Fixed errors in the generating of the economic calendar.
  6. Tester: Fixed generation of an older timeframe of a tested symbol.
  7. Tester: Fixed generation of the history of orders.
  8. Tester: Fixed drawing of the testing progress bar.
  9. Tester: Added display of tooltip in the testing chart.
  10. Tester: Fixed checking of overflow with the number of variants of optimized parameters.
  11. MetaEditor: Fixed search at MQL5.com
  12. MetaEditor: Fixed errors in the lists of articles and Code Base.
  13. Fixed errors reported on the forum and in crash logs.
9 September 2010
MetaTrader 5 Client Terminal build 324
  1. Terminal: Fixed generation of the calendar of economic events.
  2. Terminal: Added possibility to specify time when requesting a log viewing dialog.
  3. MQL5: Fixed conversion of strings to other types.
  4. MQL5: Fixed recovery from critical errors for x64.
  5. MQL5: Fixed errors connected with size changing of arrays of objects.
  6. MetaEditor: Fixed display of default parameters of functions in the list of MetaAssist functions.
  7. Fixed errors reported on the forum and in crash logs.
8 September 2010
MetaTrader 5 Client Terminal build 321
  1. Terminal: Fixed and optimized synchronization of price history between the terminal and the server.
  2. Terminal: Fixed "freezing" of the LiveUpdate window after clicking "Refresh" on slow computers.
  3. Terminal: Fixed synchronization of price history between the terminal and the server.
  4. Tester: Added saving of optimization charts as an image and in a clipboard.
  5. Tester: Added protection from endless cycles with the Sleep function.
  6. Tester: Fixed the display of results of optimization by the profit factor.
  7. Tester: Fixed writing of the profit factor in the file cache of optimization.
  8. Tester: Fixed setting of a deal ticker in the MqlTradeResult structure.
  9. Tester: Added a submenu for viewing logs of local testing agents.
  10. Tester: Significantly accelerated testing using pending orders with a specified expiration date.
  11. MQL5: Fixed display of trade request error description in the MqlTradeResult structure.
  12. MQL5: Fixed operation of the OrderCheck function.
  13. MetaEditor: Fixed crash when replacing all occurrences of a symbol in a document.
  14. Fixed errors reported on the forum and in crash logs.
3 September 2010
MetaTrader 5 Client Terminal build 319
  1. Terminal: Fixed control of the list of selected symbols in Market Watch.
  2. Terminal: In the menu of objects, added the "Delete All" command.
  3. Tester: Added processing of expiration of pending orders.
  4. Tester: Fixed a bug in the HistorySelect function.
  5. Tester: Fixed storage of data in the optimization cache. Now all parameters of an Expert Advisor are written, not only optimized ones.
  6. Tester: Added saving of window parameters of the list of optimization results.
  7. MQL5: Fixed passing of a string to DLL.
  8. MQL5: Optimized and accelerated operation of the HistorySelect function.
  9. MQL5: Fixed errors of integral math for x64.
  10. MQL5: Changed addressing relative to this (in soma cases you will have to recompile MQL5 programs to eliminate an access violation error).
  11. Fixed errors reported on the forum and in crash logs.
27 August 2010
MetaTrader 5 Client Terminal build 316
  1. Terminal: Optimized and accelerated memory usage.
  2. Terminal: Added check of incorrect drawing parameters for graphical objects and custom indicators.
  3. MQL5: Fixed terminal crash, when critical MQL5 errors occur in x64 systems.
  4. MQL5: Fixed check of floating point numbers for equality to 0 in x64 systems.
  5. MQL5: Fixed error of floating point numbers normalization (NormalizeDouble) for big values of normalized number.
  6. MQL5: Fixed error of constants typecasting.
  7. MQL5: Fixed error of typecasting variables from bool to string.
  8. MQL5: Fixed error of typecasting floating point numbers to string in х64 systems.
  9. MQL5: Fixed copying of data to indicator buffer, when buffer size is bigger than number of data quantity.
  10. MQL5: Significantly accelerated compilation of MQL5 programs.
  11. MQL5: Standard Library now includes classes for creating Expert Advisors (MQL5\Include\Expert). Added examples of Expert Advisors, created using these classes (MQL5\Experts\Advisors).
  12. Tester: Added ability to adjust leverage for trade account in parameters of testing and optimization.
  13. Tester: Fixed context-sensitive help in expert parameters tab.
  14. Tester: Added the new "Connecting" state of remote agent - it indicates connecting to agent.
  15. Fixed errors reported on the forum and in crash logs.
23 August 2010
MetaTrader 5 Client Terminal build 314
  1. Terminal: Fixed a bug that lead to the client terminal crash when working with history.
  2. Terminal: Reduced time of demo account allocation.
  3. MQL5: Fixed false triggering of Out of memory that could appear when adding strings.
  4. Fixed errors reported on the forum and in crash logs.
20 August 2010
MetaTrader 5 Client Terminal build 313
  1. Terminal: Optimized work with memory.
  2. Terminal: Fixed error of disconnection when requesting the update of the history of quotes.
  3. Terminal: Fixed a bug in the work of Trailing Stop.
  4. Terminal: Fixed checking of the limit on the volume of open positions.
  5. Terminal: Fixed recording of price values in incorrect trading requests to the log.
  6. Terminal: Fixed behavior of the new order window in case of disconnection.
  7. Terminal: Fixed an error of terminal upload when starting it with the ShutdownTerminal enabled, if loading of Expert Advisor has failed.
  8. Terminal: Fixed handling of an incorrect requests in the terminal log viewing dialog.
  9. Terminal: Added display of a position on a chart using Shift and Drag'n'Drop.
  10. Terminal: Fixed the limit on the number of decimal places for input parameters of Expert Advisors. Input parameters are now limited to 8 decimal places.
  11. Terminal: Fixed the display of the expiration of pending orders in the new order placing dialog.
  12. Terminal: Fixed checking of the availability of symbols allowed to trade; if there are no such symbols, the "New Order" button is disabled.
  13. Terminal: Fixed saving of chart screenshots in some versions of Windows.
  14. Terminal: Fixed display of news, for which no category is specified.
  15. Terminal: Reduced number of disk accesses when working with history, accelerated operations of timeframe re-constructing.
  16. Terminal: Fixed display of the "Inputs" tab in the custom indicator properties window.
  17. MQL5: Fixed compilation of the switch operator with an empty expression.
  18. MQL5: Updated the Standard Library.
  19. MQL5: Removed the ACCOUNT_LIMIT_VOLUME property of accounts; instead SYMBOL_VOLUME_LIMIT has been added to denote the limit on the total volume of orders and open positions for a symbol.
  20. MQL5: Fixed initialization of classes and structures by an initiating sequence.
  21. MQL5: Fixed an error in the arithmetic operation with datetime.
  22. MQL5: Fixed an error of operation with boolean types in the if operator.
  23. Tester: Fixed checking of the expiry of pending orders.
  24. Tester: Fixed error of partial saving of the Expert Advisor environment state between optimization runs.
  25. Tester: Added notification informing that a remote agent is busy.
  26. Fixed errors reported on the forum and in crash logs.
13 August 2010
MetaTrader 5 Client Terminal build 306
  1. Terminal: When starting the terminal with the /config key, the configuration file is opened only for reading.
  2. Terminal: Fixed scanning of access points when starting the client terminal for the first time.
  3. Terminal: Fixed terminal crash during mass recompilation of MQL5 programs.
  4. Terminal: Fixed drawing of Fibonacci Retracement.
  5. Terminal: Fixed handling of an incorrect request in the terminal log viewing dialog.
  6. Tester: Added defragmentation of files of the history database.
  7. Tester: Fixed drawing of the chart of of testing results.
  8. MQL5: Fixed and optimized work with the trading history - removed conflicts with the parallel work of several Expert Advisors and their influence on the "History" tab of the toolbar.
  9. MQL5: Changed behavior of some functions: PositionSelect, OrderSelect, HistoryOrderSelect and HistoryDealSelect - removed timeout when the requested data are not available. If the required data are not available, false is returned immediately.
  10. MQL5: Optimized and greatly accelerated string operations.
  11. MQL5: Fixed terminal crash when aborting debugging in the 64-bit version.
  12. MQL5: Fixed optimization of inline calls.
  13. Fixed errors reported on the forum and in crash logs.
10 August 2010
MetaTrader 5 Client Terminal build 305
  1. Terminal: Improved synchronization and verification of history.
  2. Terminal: Fixed update of the navigator after recompilation of MQL5 programs.
  3. Terminal: Fixed errors that led to recording of the log in the root directory.
  4. Tester: Optimized drawing of the chart of of testing results.
  5. MQL5: Added a log message about the stop of debugging of indicators.
  6. MQL5: Fixed terminal crash when calling this in the debug window.
  7. Fixed errors reported on the forum and in crash logs.
3 August 2010
MetaTrader 5 Client Terminal build 302
  1. Terminal: Improved history data validation during synchronization with the server.
  2. MQL5: It is now forbidden to specify a static array (an array with a defined first dimension) as a function parameter.
    //--- incorrect
    int func1(double &arr[5][2])
      {
    ...
      }
    //--- correct
    int func2(double &arr[][2])
      {
    ...
      }
    //---  incorrect
    int func3(int &arr[50])
      {
    ...
      }
    //--- correct
    int func4(int &arr[])
      {
    ...
      }
  3. MQL5: An obsolete executable file EX5 is not deleted if the corresponding MQ5 source file is not available.
  4. MQL5: Fixed the StringToTime function.
  5. MQL5: Fixed the debugger operation when entering object constructors and destructors.
  6. Tester: Added recording of tester time in the tester log.
  7. Tester: All errors occurring when loading an Expert Advisor for testing, now do not appear in the journal of Expert Advisors, but are recorded into the tester log.
  8. Tester: Fixed the "black screen" error that appeared when displaying a chart of forward optimization.
  9. Tester: Improved history pumping for testing.
  10. Tester: Added termination of the the execution of the Sleep function, if the generated tester time goes beyond the end date.
  11. Fixed errors reported on the forum and in crash logs. 
30 July 2010
MetaTrader 5 Client Terminal build 299
  1. Tester: The testing report now contains the amount of funds withdrawn using the TesterWithdrawal function.
  2. Tester: In the tester report, drawdowns are calculated with the account for withdrawn funds.
  3. Tester: Fixed generation of ticks of other symbols at the beginning of testing, when testing multicurrency Expert Advisors.
  4. Tester: Added display of information about critical errors of an Expert Advisor during optimization. In the list of results, such runs are highlighted in red.
  5. Tester: If the client terminal is started in the portable mode, then local agents are also started with an explicit indication of the /portable key.
  6. Tester: Added automatic deletion of tester logs older than 5 days.
  7. MQL5: Added automatic deletion of Expert Advisor logs older than 7 days.
  8. MQL5: Added debugging of custom indicators.
  9. MQL5: Improved checking of outdated or missing EX5 files before testing.
  10. Fixed errors reported on the forum and in crash logs.
27 July 2010
MetaTrader 5 Client Terminal build 298
  1. Terminal: Removed magnetism when dragging a graphical object by its central point.
  2. Terminal: Fixed the client terminal start from the command line when specifying the relative path for the configuration file.
  3. MQL5: Added new properties: ACCOUNT_LIMIT_ORDERS and ACCOUNT_LIMIT_VOLUME for setting restrictions to trading - Account Information.
  4. MQL5: When clicking on a graphical object, the cursor coordinates are passed to the OnChartEvent() event handler, together with the object name.
  5. MetaTester: Introduced a prohibition of loading the debug version of an Expert Advisor for testing.
  6. MetaTester: Corrected calculation of the Sharpe ratio when calculating statistics on the testing results.
  7. MetaTester: Added automatic opening of a chart with indicators and deals after the test run, if there have been any deals.
  8. MetaTester: Fixed navigation through deals in the chart opened upon testing results.
  9. MetaTester: Fixed display of a deal on the chart, when a position is closed partially.
  10. Fixed errors reported on the forum and in crash logs.
20 July 2010
MetaTrader 5 Client Terminal build 294
  1. Terminal: Fixed saving of data and the location of windows at the shutdown of the operating system.
  2. Terminal: In the Navigator added showing of the number of available Expert Advisors, scripts and indicators in the Code Base section of MQL5.com.
  3. Terminal: Revised the mechanism of object magneting - now point time binding is always performed with a minute precision, which saves layouts when switching to smaller timeframes.
  4. Terminal: Revised the account opening window - now you can add addresses of trade servers.
  5. Terminal: Fixed the calculation of the maximum and minimum of the scale of indicators drawn in a separate window.
  6. Terminal: Added support of standard hotkeys in the HTML editor of emails in the internal mail system.
  7. MetaEditor: In the 64-bit version, fixed switching to the terminal by pressing the F4 key.
  8. MQL5: Improved the performance of the 64-bit version.
  9. MQL5: Fixed error with the return of a structure from a function by value.
  10. MQL5: Changed the value returned by the SERIES_BARS_COUNT symbol property - now it always returns the available number of bars, irrespective of the maximum set in the terminal settings.
  11. Tester: Increased the speed of optimization.
  12. Tester: Added display of indicators used by the Expert Advisor when displaying the chart of testing results (in the 'Open Chart' command of testing results).
  13. Tester: Added displaying of messages about the mismatch of versions of EX5 files.
  14. Tester: Fixed scrolling of the list of parameters when during testing.
  15. Tester: Fixed the completion of the agent operation in case of an error during the launch of testing.
  16. Fixed errors reported on the forum and in crash logs.
9 July 2010
MetaTrader 5 Client Terminal build 292
  1. Terminal: Released MetaTrader 5 for 64-bit systems (the terminal, editor, compiler and tester). To install it, you will need to download the installer.
  2. Terminal: Fixed building of history caches on data request from Expert Advisors.
  3. Installer: Fixed installation failure on old Windows XP and Windows XP SP1.
  4. Installer: Fixed an error of the choice of CDN servers.
  5. MQL5: Added command line compiler of mql5.exe (requires mql5.dll).
  6. MQL5: Added the OrderCheck function. The function checks the correctness of trade request filling, the availability of required funds and returns the state of the client's account after the specified trade funсtion is executed.
  7. MQL5: Added the OrderCalcMargin function. The function calculates the margin required for the specified order type, on the current account, in the current market environment.
  8. MQL5: Added the OrderCalcProfit function. The function calculates the profit for the current account and market environment, based on the parameters passed.
  9. MQL5: Added symbol properties: SYMBOL_TRADE_TICK_VALUE_PROFIT and SYMBOL_TRADE_TICK_VALUE_LOSS - price of the symbol tick for a profitable and loss position. The old SYMBOL_TRADE_TICK_VALUE property returns the value analogous to SYMBOL_TRADE_TICK_VALUE_PROFIT.
  10. MQL5: Modified the behavior of SYMBOL_TRADE_TICK_SIZE. For symbols with no clearly set tick size, the point size is returned.
  11. MetaTester: Optimized calculation of indicators. Now indicators are recalculated only before the Expert Advisor call, which results in a much faster speed of testing and optimization.
  12. MetaTester: Fixed deinitialization of Expert Advisors after the stopping of testing.
  13. MetaTester: Added control of going beyond testing for Expert Advisors with the Sleep function in the loop.
  14. MetaTester: Fixed crash during the work of Expert Advisors with symbols.
  15. MetaTester: Fixed auto substitution of stop values for optimization.
  16. MetaTester: Fixed the error with the release of input parameters.
  17. MetaTester: Fixed the error with global variables during optimization.
2 July 2010
MetaTrader 5 Client Terminal build 291
  1. Terminal: Fixed comment deletion error that when changing the template.
  2. Terminal: Fixed update of the navigator during re-compilation of Expert Advisors.
  3. Terminal: Fixed call of the context menu in the navigator window.
  4. Terminal: Revised trade history reports in formats HTML and OpenXML.
  5. Terminal: Fixed the calculation error on the Exposure tab.
  6. MQL5: Fixed errors reported on forum and in crash logs.
  7. MetaTester: Fixed receiving of properties DEAL_POSITION_ID and ORDER_POSITION_ID.
  8. MetaTester: Fixed position closing at the end of testing.
  9. MetaEditor: Added showing of the number of new articles on tabs Articles and Codebase.
12345678910111213141516