What's new in MetaTrader 5

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

18 February 2010
MetaTrader 5 Client Terminal build 248
  1. MQL5: Fixed crashlog errors and errors reported on Forum.
  2. MQL5: Fixed an error in synchronous access to history for Expert Advisors and scripts.
  3. MQL5: Fixed an error with reading of a string from a file by function FileReadString.
  4. MQL5: Fixed an algorithm of timeseries copying by Copy* functions for the case of "from date to date".
  5. MetaEditor: Fixed sorting of variants in case-sensitive auto completion, exactly matching variants are placed at top of the list.
16 February 2010
MetaTrader 5 Client Terminal builds 247
  1. MQL5: Fixed errors reported at Forum.
  2. MQL5: Fixed initialization of static arrays.
  3. MQL5: Fixed error in synchronous access to history in Expert Advisors and scripts.
  4. MQL5: Fixed error in custom indicators (check for restriction in the number of colors of a graphical layout).
  5. MQL5: Fixed and redesigned work of timers – Expert Advisors and custom indicators now have their own separated timers.
  6. Terminal: Added saving of parameters of a working Expert Advisor after it is recompiled.
  7. Terminal: Modified an algorithm of additional history data loading during the left scrolling of a chart – data are requested with a certain reserve, which is proportional to the number of bars requested.
  8. Terminal: Corrected errors in receiving and storing of news.
  9. Terminal: Rewritten an algorithm for the "Refresh" command of the chart – the full synchronization of initial minute bars is performed with the reconstruction of the period selected and all indicators attached to chart.
11 February 2010
MetaTrader 5 Client Terminal builds 246
  1. Terminal: Fixed an error in calculation of free margin in Assets (Exposure tab).
  2. Terminal: Fixed an error in the "Chart on foreground" property.
  3. Terminal: Fixed and redesigned the "Print Preview" window for a chart.
  4. Terminal: Fixed an error in temporary global variables.
  5. Terminal: The "Standard" and "Charts" toolbars are merged.
  6. MQL5: Fixed crashes and errors reported at forum.
  7. MQL5: Changed the behavior of Copy* functions for Expert Advisors and scripts - now the functions will wait for the loading and construction of requested data. The timeout is 30 seconds. Details will be available soon in MQL5 documentation.
  8. MQL5: Added the possibility of event handling by custom indicators, similar to that by Expert Advisors. The details will be available soon in the MQL5 documentation.
  9. MQL5: Fixed errors in the operation of the optimizer.
  10. MQL5: Fixed errors in navigation through charts (ChartNavigate method).
  11. MetaEditor: Added the possibility to search in the "Search" window of the toolbar.
  12. MQL5: Fixed an error that resulted in the incorrect determination of the type of a parameter passed to the function Comment (Print, Alert).
  13. MQL5: Added checking in custom indicators: if the indicator_colorN property is not set for a graphical series, and no value is set to the PLOT_COLOR_INDEXES property, 1 is assigned to the property value by default.
  14. MQL5: Fixed an error in the operation of Copy* functions for the case when data are requested for the specified time period.
9 February 2010
MetaTrader 5 Client Terminal build 245
  1. Terminal: Fixed considering free margin in assets (in the Exposure tab).
  2. Terminal: Fixed "Chart on foreground" property operation.
  3. Terminal: Fixed and revised the chart print preview window.
  4. Terminal: Fixed the operation of temporary global variables.
  5. Terminal: Combined the Standard and Charts toolbars.
  6. MQL5: Fixed errors reported in crash logs and forum messages.
  7. MQL5: Change the Copy* functions operation principle for Expert Advisors and scripts - now, functions wait for download and construction of the requested data. Waiting for requested data should not exceed 30 seconds. More details are to be added to MQL5 Help soon.
  8. MQL5: Added the ability to process the events using custom indicators similar to Expert Advisors. More details are to be added to MQL5 Help soon.
  9. MQL5: Fixed optimizer errors.
  10. MQL5: Fixed chart navigation (ChartNavigate method).
  11. MetaEditor: Added the ability to use 'Enter' in the search box of the toolbar.
29 January 2010
MetaTrader 5 Client Terminal build 242
  1. MQL5: Fixed sending parameters to DLL.
  2. Terminal: Fixed updating MQL application parameters after compilation.
  3. Terminal: Fixed downloading the client terminal help updates.
  4. Terminal: Fixed Russian translation errors.
  5. MetaEditor: Added highlighting of the built-in MQL5 types.
21 January 2010
MetaTrader 5 Client Terminal build 240
  1. MQL5: Added optional parameters: ENUM_CODEPAGE codepage=CP_ACP in the CharArrayToString, StringToCharArray and FileOpen functions.
  2. MQL5: Fixed errors arising when working with static arrays.
  3. MQL5: Ability to set a breakpoint in the 'do while' loop condition.
  4. Terminal: Fixed applying ticks to history during a day change.
  5. Terminal: Fixed an error in the Expert Advisor's list of variables.
  6. Terminal: Added processing the graphical objects creation and deletion events: CHARTEVENT_OBJECT_CREATE and CHARTEVENT_OBJECT_DELETE.
  7. Terminal: Fixed Emai send error.
14 January 2010
MetaTrader 5 Client Terminal build 239
  1. Terminal: Fixed the object magnetism.
  2. Terminal: Fixed and added some tooltips (including chart and navigator tabs).
  3. Terminal: Fixed plotting the navigator.
  4. Terminal: Fixed the algorithm of selecting the best access point.
  5. MQL5: Fixed errors reported in crash logs and forum messages.
14 January 2010
MetaTrader 5 Client Terminal build 238
  1. MQL5: Fixed the debugger error causing crashes when class members with an access via 'this' are displayed in 'watch'.
  2. MQL5: Added optimization of string parameters (removing redundant copying).
  3. MQL5: Fixed errors reported in crash logs and bug reports.
8 January 2010
MetaTrader 5 Client Terminal build 237
  1. Terminal: Fixed TRIX indicator calculation.
  2. Terminal: Fixed Data Window panel plotting.
  3. MQL5: Fixed receiving custom indicator data from MQL5 programs.
  4. MQL5: Fixed requesting the current symbol and period from custom indicators.
  5. MQL5: Fixed errors in the ZeroMemory function operation.
  6. MQL5: Fixed optimizer errors.
  7. MQL5: Stack control when calling functions from DLL.
  8. MQL5: Added DEMA, FRAMA, TEMA TRIX and VIDYA indicator implementation samples.
5 January 2010
MetaTrader 5 Client Terminal build 235
  1. MQL5: Fixed optimizer errors.
  2. MQL5: Fixed calling functions imported from DLL.
  3. MQL5: Warning (#59) about the unclosed #import replaced with the error (#300) "#import was not closed".
  4. Terminal: Fixed TEMA indicator calculation.
  5. Terminal: Fixed error in the Expert Advisor list dialog.
  6. Terminal: Fixed an error in the graphical object levels dialog.
  7. Terminal: Changed the terminal critical error dialog: Added the ability to re-start the terminal.
29 December 2009
MetaTrader 5 Client Terminal build 234
  1. Terminal: Fixed copying the Text and Label graphical objects (copying the 'Description' property).
  2. MQL5: Fixed passing dynamic array data to an imported function.
  3. MQL5: Fixed errors reported in crash logs and bug reports.
23 December 2009
MetaTrader 5 Client Terminal build 233
  1. Terminal: Fixed processing the 'Disable selection' property of graphical objects.
  2. MQL5: Fixed optimizer errors.
  3. MQL5: Fixed pointer type casting.
  4. MQL5: Fixed calling GetPointer from 'this' connected to constancy.
  5. MQL5: Fixed calling the destructors.
  6. MQL5: Fixed the indicator buffer re-assignment.
  7. MetaEditor: Fixed debugger and terminal interaction.
10 December 2009
MetaTrader 5 Client Terminal build 230
  1. MQL5: Added the new GetPointer() function.
  2. MQL5: A pointer can be declared to classes only.
  3. MQL5: Fixed receiving the last known server time.
  4. Terminal: Fixed adding to the account base when opening a new account.
  5. Terminal: Fixed downloading charts when opening a new account.
  6. Terminal: Fixed errors reported in crash logs.
8 December 2009
MetaTrader 5 Client Terminal build 228
  1. MQL5: Fixed request of the time value of points for plotting graphical objects.
  2. MQL5: Added a method of searching a chart window containing the specified indicator - ChartWindowFind.
  3. MQL5: Fixed an error in the call sequence of complex object destructors.
  4. MQL5: Added the possibility to initialize structures containing strings, using the initializing sequence.
  5. MQL5: Fixed an error of implicit string casting when passing it as an integer parameter.
  6. MQL5: Changed the behavior of object destructors - class destructors are always virtual.
  7. Terminal: Fixed output of trade error alerts.
  8. Terminal: Fixed errors in quotes unpacking.
  9. Terminal: Implemented binding of the account base to a computer and user's Windows account, to prevent information theft. When changing the Windows account or carrying a terminal to another computer, the login and password must be specified again.
  10. Terminal: If the terminal help file hasn't been loaded yet, it's updated without the terminal restart.
  11. Terminal: Fixed an error that occurred when moving graphical objects, if one of construction points is out of visibility area.
  12. Terminal: Fixed an error in the trading history.
  13. MetaEditor 5: Fixed checking for the necessity to convert ANSI files into Unicode when loading files.
  14. MetaEditor 5: Fixed selection of the file extension during saving.
  15. MetaEditor 5: Fixed changing of the file modification time during debugging.
8 December 2009
MetaTrader 5 Client Terminal build 229
  1. MQL5: Fixed calling the destructor for a local object.
  2. MQL5: Fixed releasing a dynamic array with the size 0.
  3. MQL5: Fixed construction of a complex object having no constructor.
  4. Terminal:  Fixed errors reported in crash logs.
24 November 2009
MetaTrader 5 Client Terminal build 226
  1. Terminal: Fixed recovery after crashing inside the dll imported to MQL5.
  2. MQL5: Added the new 'export' modifier for functions
int Function() export
{
}

It tells the compiler to add a function to the table of exported data of EX5 functions. Only functions with such a modifier become available ("visible") from other Expert Advisors. Now, the library property simply informs the compiler that the given EX5 is to become a library, and the compiler adds that to the EX5 header.

All functions planned as exported ones should be marked with the 'export' modifier.

21 November 2009
MetaTrader 5 Client Terminal build 224
  1. Terminal: Fixed plotting Fibonacci Retracement.
  2. Terminal: Fixed formatting errors in the list of global variables.
  3. Terminal: Removed chart comment length limitation.
  4. MQL5: Added auto release of unused calculated Expert Advisor indicators when switching symbols or periods.
  5. MQL5: Added the CHARTS_MAX constant - maximum number of open charts.
21 November 2009
MetaTrader 5 Client Terminal build 221
  1. Terminal: Fixed re-drawing the navigator during the initial compilation of samples.
  2. Terminal: Custom certificates of extended authorization are moved to Config\Certificates.
  3. Terminal: Fixed displaying the last prices on the chart.
  4. Terminal: Fixed saving the list of news languages.
  5. Terminal: Fixed restoring minimized chart windows.
  6. Terminal: Added the ability to set the negative number of points in the position modification dialog.
  7. Terminal: Fixed plotting indicators when changing parameters.
  8. Terminal: Added the Exposure tab:
    · Assets — asset or symbol name;
    · Volume — client's position volume (in units) for the current asset or trading instrument;
    · Rate — asset or instrument rate in relation to the deposit currency;
    · USD — amount of deposit currency (excluding leverage) actually expended to buy/sell the currency or trading instrument;
    · Graph — graphical representation of the client's position in the deposit currency (blue bars show long positions, red ones denote short ones).

    There is a possibility of viewing the information by long or short positions in the form of a diagram. To switch between diagrams, one should press on their names or use the context menu. The assets of account by the deposit currency are displayed considering free margin.

21 November 2009
MetaTrader 5 Client Terminal build 220
  1. MetaEditor 5: Fixed Undo\Redo operation.
  2. MetaEditor 5: Added warning about failed compilation completion.
  3. MetaEditor 5: Fixed the format of floating-point variables output in the debugger.
  4. MetaEditor 5: Fixed search in files using a mask.
  5. Terminal: Fixed check of Expert Advisor parameters when entering.
  6. Terminal: Fixed freezing when performing trading operations.
  7. Terminal: Expanded the number of available characters when entering level values in indicators.
  8. Terminal: Added the menu for manually switching the access servers and launching the access servers scan while selecting the best one.
  9. Terminal: Fixed restoring the chart windows before calling the arrangement commands (Cascade, Tile Horizontally, Tile Vertically and Arrange Icons).
  10. Terminal: Added display of the current server name in the terminal window header.
  11. Terminal: Fixed connecting with a new account after opening a demo account.
21 November 2009
MetaTrader 5 Client Terminal build 217
  1. MetaEditor 5: Fixed highlighting string literals.
  2. MetaEditor 5: Fixed autocomplete for the methods implemented inside the class declaration.
  3. Terminal: Fixed the chart context menu in the Trading section.
  4. Terminal: Fixed the Arrow graphical object properties.
  5. Terminal: Revised structures of configuration files. "Symbols: invalid base header" message may appear when updating from older builds.
12345678910111213