What's new in MetaTrader 5

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

29 June 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 June 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).

    ID

    Value

    Description

    OBJ_NO_PERIODS

    0

    The object is not drawn in all timeframes

    ...

    ...

    ...

    OBJ_ALL_PERIODS

    0xffffffff

    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.
10 June 2010
MetaTrader 5 Client Terminal build 281
  1. Terminal: Fixed output of data of custom indicators in DataWindow.
  2. Terminal: Added management of display of trade levels in chart properties, which is available from the user interface and MQL5 (CHART_SHOW_TRADE_LEVELS).
  3. Terminal: Fixed calculation of the scale of a tick chart.
  4. Terminal: Fixed errors in update of history data caches for a day and month timeframes.
  5. Terminal: Fixed errors in synchronization of history data caches.
  6. Terminal: Introduced additional checks of integrity of history data.
  7. Terminal: Fixed construction of week bars with quotes falling on the weekend.
  8. Terminal: Fixed construction of history data caches.
  9. Terminal: Fixed adding of levels in indicators and graphical objects.
  10. Terminal: In the terminal properties, added function "Select objects after creation".
  11. Terminal: Fixed processing of parameters of the iCustom indicator.
  12. Terminal: Fixed terminal freezing during the initial download of history data.
  13. Terminal: Added export of report of the trade account state, in Open XML format (MS Office Excel 2007).
  14. MetaTester: Added testing mode "1 Minute OHLC" on OHLC prices of minute bars, in addition to the "Every Tick" mode.
  15. MetaTester: Fixed completion of optimization on slow single core computers.
  16. MetaTester: Added restriction on number of runs of the forward testing.
  17. MQL5: Added removing of an Expert Advisor from the chart when creation of a custom indicator fails.
  18. MQL5: Fixed errors reported on forum and in crash logs.
1 June 2010
MetaTrader 5 Client Terminal build 279
  1. Terminal: Fixed Terminal restart when changing interface language.
  2. Terminal: Optimized compatibility with antivirus software.
  3. Terminal: Enhanced check of registration rights when filling out credentials to open a demo-account.
  4. MetaTester: Fixed the single test completion process.
  5. MetaTester: Fixed an error of generating steps in genetic optimization, when optimization space is too large.
  6. MetaTester: Added the initial deposit line in optimization chart.
  7. MQL5: Optimized speed of scripts and experts execution.
  8. MQL5: Fixed delays, when loading scripts and experts.
  9. MQL5: Fixed errors reported on Forum and in crash logs.
28 May 2010
MetaTrader 5 Client Terminal build 278
  1. Terminal: Fixed display of the trading history on a chart.
  2. Terminal: Fixed failure of the network subsystem when at shut down of the terminal.
  3. Terminal: Optimized re-arrangement of history data caches.
  4. Terminal: Optimized plotting of the Trend Line graphical object.
  5. Terminal: Fixed re-arrangement of history data caches by the "Refresh" chart command.
  6. Terminal: Fixed update of the MQL5 catalog by LiveUpdate for terminals where data are stored separately form executable files.
  7. Terminal: Fixed plotting of the Price Label graphical object.
  8. Terminal: Added highlighting of SL or TP columns in the history of orders and trades when they trigger by the corresponding stop order.
  9. Terminal: Added insertion of macros of a client's trade state in email messages, which are sent at an alert triggering.
  10. Terminal: Added a dialog notifying about the necessity to restart the client terminal when changing the interface language.
  11. Terminal: Fixed saving of a chart screen shot in Windows 7.
  12. MetaTester: Added update of remote testing agents via LiveUpdate. Remote agents receive updates from the updated client terminal. All updates of testing agents are protected and checked like other components of the client terminal.
  13. MetaTester: Added optimization mode "Optimization by symbols in Market Watch". In this mode, and Expert Advisor is sequentially tested with specified parameters on all symbols selected in Market Watch.
  14. MetaTester: Added showing of the history download progress in the testing configuration window and in the testing journal.
  15. MetaTester: Added showing of the history loading state "on demand" in the list of testing agents.
  16. MetaTester: Fixed setting of the state of testing agents when connection is lost.
  17. MetaTester: Fixed checking of whether connection with the server is established, before starting to pump history data for testing. If there is no connection, data pumping is not performed, testing and optimization are conducted on available data.
  18. MetaTester: Fixed return to the optimization task queue when connection is lost or a testing agent is switched off.
  19. MetaTester: Fixed error in the operation of an Expert Advisor when referring to several indicators.
  20. MetaTester: Added deleting of old files from the journal testing (older than two days).
  21. MetaTester: Removed keeping of testing journal during optimization for testing agents - only starting optimization and final results are recorded.
  22. MetaTester: Optimized start of local agents on weak computers and under aggressive anti-viruses.
  23. MetaEditor: Added tab Articles showing the list of articles published on MQL5 filtered by categories.
  24. MetaEditor: Increased frequency of слуслштп the updates of help files.
  25. MetaEditor: In the debugger window, added showing of enumeration values as a text (e.g.  POSITION_TYPE_SELL).
  26. MetaEditor: In the debugger window, fixed showing of list of class members for the second and all next nesting levels.
  27. MetaEditor: Fixed checking the necessity to shift text when window size changes.
  28. MetaEditor: Improved editor behavior when editing and saving Read-Only files.
  29. MQL5: Fixed checking of enumerations in switch\case.
  30. MQL5: Fixed errors reported on forum and in crash logs.
21 May 2010
MetaTrader 5 Client Terminal build 275
  1. Terminal: Fixed drawing of Bitmap Label.
  2. Terminal: Optimized history pumping and construction.
  3. MetaTester: Added pumping of the entire available history of a tested symbol before the testing start.
  4. MetaTester: Added pumping of the entire available history of a tested symbol (including symbols required for calculations on cross rates) during the testing process, if there is not enough history required for testing.
  5. MetaTester: Fixed and optimized synchronization of history between the client terminal and testing agents.
  6. MetaTester: Added display of testing and optimization completion percent for agents on the "Agents" tab of the client terminal.
  7. MQL5: Fixed check of enumerations in switch\case.
  8. MQL5: Fixed looping in case of disagreement between versions of the client terminal and compiler.
  9. MQL5: Fixed values of enumerations BOOK_TYPE_BUY and BOOK_TYPE_SELL.
  10. MQL5: Fixed returned error code when ChartScreenShot method call fails.
  11. MQL5: Fixed errors reported on forum and in crash logs.
17 May 2010
MetaTrader 5 Client Terminal build 274
  1. Terminal: Fixed displaying of the trade history on the chart.
  2. Terminal: Fixed error in the chart navigation (for disabled Auto Arrange and Auto Scroll).
  3. Terminal: Fixed errors reported on the forum and in crash logs.
  4. Terminal: Added the description of Strategy Tester to the help file
  5. MetaTester: Fixed error in the loading of testing parameters when changing the Expert Advisor.
  6. MetaTester: Extended protection from inputting incorrect testing parameters.
  7. MetaTester: Fixed errors in testing for symbols with Last prices.
  8. MQL5: Updated the standard MQL5 library.
  9. MQL5: Fixed chart closing.
  10. MQL5: Fixed receiving of the CHART_VISIBLE_BARS property - now the real number of bars available on the chart is returned, not the calculated one.
  11. MQL5: Fixed errors reported on the forum and in crash logs.
13 May 2010
MetaTrader 5 Client Terminal build 273
  1. Terminal: Fixed sorting in dialog of the graphical objects list.
  2. Terminal: Fixed an error in saving of chart screenshot in the "Active chart (as is)" mode.
  3. Terminal: Fixed an error in logging of Trailing Stop processing.
  4. Terminal: Added a feature of showing the trade history on the chart (using drag'n'drop).
  5. Terminal: Fixed an error in showing of Expert Advisor version in the Properties dialog.
  6. MetaTester: Fixed an error in launch of the local agent in history testing mode.
  7. MetaTester: Added the feature of opening the chart with testing results ("Open Chart" in the context menu of the Results tab).
  8. MetaTester: Added logging of initialization of the remote testing agent.
  9. MetaTester: Added the feature of exporting the testing results to XML and OpenXML.
  10. MetaTester: Fixed an error in the Strategy Tester run - it stops, when account has been changed.
  11. MetaTester: Fixed an error in loading of Strategy Tester parameters when Expert Advisor is changed.
  12. MQL5: Added the ERR_SUCCESS error code.
  13. MQL5: Added the TRADE_RET_REQUEST_CONNECTION trade server return code.
  14. MQL5: The MQL5 Standard library has been updated.
7 May 2010
MetaTrader 5 Client Terminal build 271
  1. Terminal: Fixed error of dragging unselected graphical objects.
  2. Terminal: Fixed setup dialogs of graphical objects Label and Text.
  3. Terminal: Fixed the custom indicator drawing mode DRAW_SECTION.
  4. Terminal: Fixed display of a trade dialog if an untraded symbol is selected in default settings.
  5. Terminal: Added support of Google Mail in email sending.
  6. Terminal: Fixed calculation of distances toll graphical objects.
  7. Terminal: Fixed drawing of anchor points of graphical objects at large price values.
  8. Terminal: Added changing the symbol of an open chart by dragging from the list of open positions.
  9. Terminal: Fixed error in saving of a graphical object creation date.
  10. MetaTester: Fixed testing parameters management.
  11. MetaTester: Fixed output to the testing journal.
  12. MetaTester: Fixed start of a testing agent.
  13. MetaTester: Fixed hangup at genetic optimization.
  14. MetaTester: Added display of the optimization progress in the status bar of the tester panel.
  15. MetaTester: Fixed incorrect start of the forward testing after optimization stop.
  16. MQL5: Updated the standard MQL5 library.
  17. MQL5: Added trade symbol properties: SYMBOL_MARGIN_*, SYMBOL_EXPIRATION_MODE, SYMBOL_FILLING_MODE.
  18. MQL5: Fixed errors reported on Forum and in crash logs.
29 April 2010
MetaTrader 5 Client Terminal build 270
  1. Terminal: Added the movement of "Fibo Retracement" graphic object if Shift key pressed, similar to MetaTrader 4.
  2. Terminal: Added the outbound traffic compression for the remote agents.
  3. MetaTester: Added a method TesterWithdrawal for the simulation of money withdrawal from balance.
  4. MetaTester: Fixed an error in launch of the history backtesting (w/o agents) if optimized results are used.
  5. MetaTester: Added the forced use of genetic optimization, if number of passes exceeds 1 000 000.
  6. MetaTester: Fixed an error in position identifier setting when deal executed.
  7. MetaTester: Fixed errors in agent dialog.
  8. MQL5: Fixed an error in implementation of DoubleToString function.
  9. MQL5: Fixed crashlog errors and errors reported at Forum.
  10. MetaEditor: Fixed an error in Styler for the empty strings case.
  11. MetaEditor: Fixed an error in toolbars redrawing.
27 April 2010
MetaTrader 5 Client Terminal build 269
  1. Terminal: The Stategy Tester has been added into the client terminal.
  2. Terminal: Fixed an error in calculation of distance to the graphic object of chart type.
  3. Terminal: Added a new command "Refresh" to the context menu of Navigator window.
  4. Terminal: Fixed an error when working via proxy.
  5. MetaTester: Fixed an error in calculation of trade statistics.
  6. MetaTester: An access to history using the HistorySelect function has been optimized.
  7. MQL5: Fixed an error in initialization of static structure member for cases if it used as a parameter.
  8. MQL5: Fixed crashlog errors and errors reported at Forum.
23 April 2010
MetaTrader 5 Client Terminal build 265
  1. Terminal: Fixed errors in processing of price history.
  2. Terminal: Fixed cursors for Elliott Tools graphic objects.
  3. Terminal: Fixed an error in cacluation of built-in TEMA indicator.
  4. Terminal: Added additional checkings for the calculation of graphic objects distance.
  5. MQL5: An error №259 is replaced by warning №26 - "(too large local variables size (more than 512kb))".
  6. MQL5: Added a new property TERMINAL_LANGUAGE (terminal interface language) to the ENUM_TERMINAL_INFO_INTEGER enumeration.
  7. MQL5: Fixed a passing of strings by reference.
  8. MQL5: Fixed crashlog errors and errors reported at Forum.
20 April 2010
MetaTrader 5 Client Terminal build 264
  1. Terminal: Fixed order of gaining graphical objects focus.
  2. Terminal: Fixes in trade history reports generator.
  3. Terminal: Fixed calculations in "pips per bar" chart scaling mode.
  4. Terminal: Fixed resetting of symbol parameters in tick charts.
  5. Terminal: Added OnTrade event publication, when orders history is changed.
  6. Terminal: Fixed processing of connection and connection state change in Chart graphical objects.
  7. Terminal: Fixed an error in trade history request.
  8. MQL5: Fixed crashlog errors and errors reported at Forum.
8 April 2010
MetaTrader 5 Client Terminal build 263
  1. Terminal: Fixed errors in network operations.
  2. Terminal: Fixed an error in modifying of pending orders expiration time.
  3. Terminal: Fixed an error in changing of the client password.
  4. Terminal: Fixed errors in demo account opening using the IP server address.
  5. Terminal: Fixed errors in movement and drawing of graphic objects of Label type and similar.
  6. Terminal: Fixed crashlog errors and errors reported at Forum.
  7. MQL5: Added a forced call of the OnDeinit function from the chart for custom indicators.
  8. MQL5: Fixed an error in call of destructor class members and parent classes for the case of the presence of return operator in the destructor.
  9. MQL5: Fixed crashlog errors and errors reported at Forum.
  10. MetaEditor: Fixed an error in numeration of code lines of the call stack in the debug dialog
30 March 2010
MetaTrader 5 Client Terminal build 261
  1. Terminal: Fixed an error in popup menu of News dialog.
  2. Terminal: Fixed an error in restoring of windows after restart of the client terminal.
  3. Terminal: Added processing of trailing stops for pending orders. If position has the same direction as pending order, the trailing stop is applied to the position after the pending order execution.
  4. Terminal: Fixed an error in price checking when placing of pending orders.
  5. Terminal: Fixed an error in saving of screenshot ("Save As Picture") for computers with two monitors.
  6. Terminal: Fixed an error in saving of the attachments in internal e-mail.
  7. Terminal: Fixed an error in placing of SL and TP (in points) in trade dialog.
  8. Terminal: Added font smoothing for graphic objects Text and Label.
  9. Terminal: Fixed an error in positioning of graphic objects of Label type.
  10. Terminal: Fixed crashlog errors and errors reported at Forum.
  11. MQL5: Fixed an error in access to property OBJPROP_TIMEFRAMES for graphic objects (visibility of an object at timeframes).
  12. MQL5: Fixed an error in explicit typecasting of object pointer.
  13. MQL5: Fixed an error in typecasting of constant parameters of the function.
  14. MQL5: Fixed an error in calculation of property CHART_SHIFT_SIZE.
  15. MQL5: Added checking for the code of a symbol for graphic objects of Arrow type.
  16. MQL5: Added new property of a symbol SYMBOL_SPREAD_FLOAT, that indicates floating spread for the symbol.
  17. MQL5: Added new buffer identifiers LOWER_HISTOGRAM and UPPER_HISTOGRAM for the indicator Gator Oscillator.
  18. MQL5: Added unloading of Expert Advisors when a critical error.
  19. MQL5: Fixed an error in functions Copy* for the request of the future bars.
  20. MQL5: Fixed an error in graphic object renaming in MQL5 programs.
  21. MQL5: Fixed an error when string copying to itself.
  22. MQL5: Fixed an error in checking for a match of parameter name with enmeration.
  23. MQL5: Fixed crashlog errors and errors reported at Forum.
  24. MQL5: Added a new concept - position identifier. After the opening of a new position, the position gets the internal identifier, equal to the order ticket, as a result the position occurred. Further this identifier is assigned to all orders and deals, that changes the state of this position (increase, decrease, reverse). The position identifier changes to zero when the current position is totally closed. Added new properties for the position, order and deal: POSITION_IDENTIFIER, ORDER_POSITION_ID and DEAL_POSITION_ID.
  25. MetaEditor: Added a hotkey (Ctrl-C) for the compilation errors copying in "Errors" tab of "Toolbox" window.
  26. MetaEditor: Fixed an error in alignment of "do-while" cycles in Styler.
  27. MetaEditor: Fixed an error in checking of types of the parameters in autosubstitution.
  28. MetaEditor: Fixed an error in context help for source code keywords.
  29. MetaEditor: Fixed an error in class members autosubstitution according to the type of returned by function.
  30. MetaEditor: Fixed crashlog errors and errors reported at Forum.
22 March 2010
MetaTrader 5 Client Terminal build 257
  1. Terminal: Fixed an error in restoring of trade dialog parameters after execution errors.
  2. MQL5: Added an access to property OBJPROP_SELECTED of graphical objects.
  3. MQL5: Fixed an error in passing of strings by reference to DLL.
  4. MQL5: Fixed an error in access to property "Levels" of graphical objects.
  5. MQL5: Fixed crashlog errors and errors reported at Forum.
16 March 2010
MetaTrader 5 Client Terminal build 256
  1. Terminal: Fixed text formatting in trade results dialog box.
  2. Terminal: Fixed drawing of zero width line for graphical objects and indicators.
  3. Terminal: Fixed crashlog errors and errors reported at Forum.
  4. MQL5: Fixed passing of string parameters by reference.
  5. MQL5: Fixed error of receiving indicator calculation buffers.
  6. MQL5: Fixed method of detection of number of bars - now they don't exceed the number set up in the terminal.
  7. MQL5: Fixed data access errors in Copy* functions in "from date to date" mode
  8. MQL5: Fixed error of reading graphical object properties, when trying to read absent properties. 
  9. MQL5: Fixed crashlog errors and errors reported at Forum.
  10. MetaEditor: Fixed error of data loading in debug dialog box.
  11. MetaEditor: Added output of enumeration elements names instead of their values in debug dialog box.
11 March 2010
MetaTrader 5 Client Terminal build 254
  1. Terminal: The mass graphic objects processing is optimized.
  2. Terminal: Fixed errors in charts for the scripts and Expert Advisors.
  3. Terminal: Fixed formatting of text in the trade results dialog.
  4. Terminal: Fixed crashlog errors and errors reported at Forum.
  5. MQL5: Fixed an error in inheritance of DLL access flag for the custom indicators, created in the custom indicators.
  6. MQL5: The error list for the file operations FileMove, FileCopy and FolderClean is extended.
  7. MQL5: The parameters checking in the graphic objects creation is extended.
  8. MQL5: Fixed crashlog errors and errors reported at Forum.
  9. MetaEditor: Fixed an error in shift of the parameters in the debug dialog.
5 March 2010
MetaTrader 5 Client Terminal build 253
1. Terminal: The format of some internal data structures has been changed.
2. MQL5: The type of returned value of the function GlobalVariableCheck has been changed from datetime to bool.
3. MQL5: Fixed errors, reported at Forum.
5 March 2010
MetaTrader 5 Client Terminal build 252
  1. Terminal: Fixed an error in help downloading dialog during the download process.
  2. Terminal: Fixed an error in drawing of the trend line with rays.
  3. Terminal: Fixed an error in synchronization of trade history.
  4. Terminal: Fixed an error in drawing style of the indicators - for a drawing style "Histogram"- with width 0 or 1, the defined drawing style is used.
  5. Terminal: The work of the client terminal with a large number of graphical objects is optimized.
  6. MQL5: Fixed an error in working with "Color" property for custom indicators.
  7. MQL5: Fixed an error in call of the functions that returns structures.
  8. MQL5: Fixed an error in call of the object destructors by using the "break" and "continue" statements.
  9. MQL5: Fixed an error in typecasting of string to boolean.
  10. MQL5: Fixed an error in passing of default value in functions FileWriteStruct and FileReadStruct.
12345678910111213