MetaTrader 5の何が新しくなったのか


7 10月 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 9月 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 9月 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 9月 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
  12. MetaEditor: Fixed errors in the lists of articles and Code Base.
  13. Fixed errors reported on the forum and in crash logs.
9 9月 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 9月 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 9月 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 8月 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 8月 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 8月 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 8月 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 8月 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 8月 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 7月 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 7月 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 7月 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
  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 7月 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 7月 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.
29 6月 2010
MetaTrader 5 Client Terminal build 290
  1. Terminal: Fixed update of several copies of the client terminal started on one computer.
  2. Terminal: Fixed work with NTLM authorization when a proxy server is used.
  3. Terminal: Fixed the drawing of graphic objects.
  4. Terminal: Fixed errors in the dialog of pending order placing.
  5. Terminal: Fixed logging of terminal operations when modifying and deleting of pending orders.
  6. Terminal: Fixed size of symbols when drawing indicators in the style DRAW_ARROW.
  7. Terminal: Revised reports of the trading history.
  8. Terminal: Fixed error of displaying a selected access point.
  9. MQL5: Fixed methods of the function of accessing data of quoting and trading sessions of a symbol SymbolInfoSessionQuote and SymbolInfoSessionTrade.
  10. MQL5: Added parameters of a trade symbol SYMBOL_START_TIME and SYMBOL_EXPIRATION_TIME (in function SymbolInfoInteger).
  11. MQL5: Added the position parameter POSITION_IDENTIFIER (in function PositionGetInteger).
  12. MQL5: Fixed errors reported on forum and in crash logs.
  13. MetaTester: Added the drawing of a 2D diagram of optimization results, which shows the testing results using a gradient fill.
  14. MetaTester: Added showing of a required number of optimization steps on the tab of testing parameters.
  15. MetaTester: Fixed the modification of pending orders during testing.
  16. MetaTester: Fixed auto-scroll support in the list of optimization results.
  17. MetaTester: Fixed "old ticks" messages during testing.
  18. MetaEditor: Added search on the MQL5 website through a search box on the toolbar.
  19. MetaEditor: Fixed copying and pasting from clipboard in the search box of the toolbar.
18 6月 2010
MetaTrader 5 Client Terminal build 286
  1. Terminal: Optimized the drawing of a large number of graphic objects.
  2. Terminal: Fixed the settings of the graphic object Chart.
  3. Terminal: Fixed the settings of selecting the time periods of displaying the graphic objects.
  4. Terminal: Fixed the error in the clearing of user data during the deletion of an account in the Navigator window.
  5. Terminal: Added the defragmentation of history databases files.
  6. Terminal: Added the binding of the objects’ anchor points, to the extremum during its magneting. During the magneting of the trend line to the maximum or minimum of the bar, the date of the binding point is indicated by the time of the minute bar, which corresponds to the maximal (minimal) value. This way, the trend is preserved when switched from a larger to a smaller timeframe.
  7. Terminal: When inputting your personal data into the 'Opening Account' window, the postal code (ZIP) field is made optional.
  8. Terminal: Fixed the errors in the ordering of charts through the commands: Cascade, Tile Horizontally, and Tile Vertically.
  9. Terminal: Fixed an error in the display of the context menu of trading history.
  10. MQL5: Added the SERIES_LASTBAR_DATE property of historical data: it indicates the opening time of the last bar of the specified symbol and period.
  11. MQL5: Added the OBJ_NO_PERIODS constant of graphic objects visibility: it indicates that the graphic object should be hidden at all periods. The constant OBJ_ALL_PERIODS now has the value of 0xffffffff (-1).






    The object is not drawn in all timeframes






    The object is drawn in all timeframes

  12. MQL5: Removed the default addition of spaces, during the output of numbers, in the Print function.
  13. MQL5: Added the HistorySelectByPosition function - request of the orders and deals from history by the position ID.
  14. MetaTester: Added the 'Open prices only' testing mode – by the bar opening prices of the test period, in addition to the 'Every Tick' and '1 Minute OHLC' modes.
  15. MetaTester: Added a calculation of swaps for testing, based on the current symbol settings of the trade server.
  16. MetaTester: Fixed a time error, which arose in the TimeCurrent function during the first call of OnInit - now it returns to the testing starting time, instead of to a zero value.
  17. MetaEditor: Added the CodeBase tab, showing Expert Advisors, scripts, and indicators, published at the MQL5 site. The options of filtering by category, the possibility of downloading, and automatic compilation are available.
  18. MetaEditor: Added fields for searching by files, Articles, and CodeBase to the search field of the toolbar.