Release Notes: Forex Trading Platform

8/10/2010
  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.
8/3/2010
  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. 
7/30/2010
  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.
7/27/2010
  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.
7/20/2010
  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.
7/9/2010
  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.
7/2/2010
  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.
6/29/2010
  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.
6/18/2010
  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.
6/10/2010
  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.

MetaTrader 5 — a complex trading platform for providing brokerage services on the retail Forex market.

Copyright 2000-2012, MetaQuotes Software Corp.