What's new in MetaTrader 5

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

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.
21 November 2009
MetaTrader 5 Client Terminal build 216
  1. Added width and height properties of the Bitmap and Label graphical objects in MQL5.
  2. Added the order history sorting by close time and status.
  3. Fixed processing custom indicator tooltips.
  4. Added the IndicatorRelease method to MQL5 - releasing a previously received indicator.
  5. Added the Read Only property for the Edit graphical object.
  6. Revised presentation of trading history. Fixed display of accrued swaps.
  7. Fixed repeated allocation of demo accounts.
21 November 2009
MetaTrader 5 Client Terminal build 213
  1. Fixed resuming history data download.
  2. Fixed name autocomplete in MetaEditor 5.
  3. Fixed the price input field behavior.
  4. Fixed DRAW_SECTION indicator drawing mode.
  5. Fixed an error in the Expert Advisor's list of parameters.
  6. Fixed "Add to watchlist" debugger command execution for a highlighted text.
  7. Fixed trading history synchronization.
  8. Revised the marking of the Elliott Waves in graphical objects according to the "Elliott Wave Principle. Key to Market Behavior" by R. Prechter and А. Frost.
  9. Implemented the Alert method in MQL5. Added the ability to call the alert window from the context menu of the Experts tab of the client terminal.
  10. Added the ability to place stop levels in points when opening and modifying positions and pending orders. It can be managed in the terminal settings (Tools->Options->Trade->Use Stops).