What's new in MetaTrader 5

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

6 September 2012

MetaTrader 5 Trading Terminal build 695

Trading Terminal

  1. Added quick position closing and orders deletion by a single mouse click.
    Click the cross in "Profit" column of orders and positions list to close a position or remove a pending order.

    Closing and orders deletion by a single mouse click

    If "One-click trading" option is enabled in the terminal settings, position will be closed immediately at the current price (order will be removed). If the option is disabled or quick closing is impossible (for example, for trading symbols having Request Execution type), the standard position closing (order removal) dialog will appear.

    НOne-click trading option

  2. Fixed displaying positions having "Futures" calculation type in "Exposure" window.

  3. Fixed working with Expert Advisors tree in "Navigator" window.
  4. Fixed possible failure of downloading products from MQL5.Market.
  5. Updated translation of the interface into Japanese.

MQL5

  1. Changed the order of calling the constructor of an object returned by the function:
    Formerly, the constructor has been called by default before the function returning an object, while the copy operator has been called inside the function for return.
    Now, the appropriate constructor, copy constructor or default constructor calling the copy operator are called in return operator for an object returned from the function.
  2. Fixed a typo in one of the ENUM_SERIES_INFO_INTEGER enumeration values (SERIES_SYNCRONIZED -> SERIES_SYNCHRONIZED). Please make changes in the codes where the value is used.
  3. Fixed working with constant pointers.
  4. Fixed loading the libraries consisting only of resources.
  5. Standard Library. Fixed CDialog behavior during minimization.
  6. Standard Library. Added modification of stop-limit orders in CTrade::OrderModify method.
  7. Standard Library. Changed implementation of several methods for correct working with constant pointers to objects.

Strategy Tester

  1. Improved the algorithm of assigning the tasks to the agents considering the memory consumption.
  2. Fixed generating the volumes when testing by open prices for the timeframes larger than the main one.
  3. Fixed possible incorrect generation of bars at large timeframes when testing using open prices.
  4. Fixed applying a saved state of genetic optimization that could lead to "freezing" of the relaunched optimization in some cases.
  5. Added optimization "by all symbols from Market Watch" in the absence of an optimized Expert Advisor's input parameters.
  6. Fixed possible incorrect display of the last price in Market Watch during the first request of data on another symbol.
  7. Added prohibition for the agents with physical memory less than 768 MB to connect MQL5.Cloud.
  8. Added guaranteed transfer of the complete agent's log during the tests.

MetaEdtor

  1. MetaEditor: Added support for projects in MQL5.com

    Projects allow programmers to develop MQL5 applications in teams. Teamwork is performed via MQL5 Storage. It means that a user should have an active account on MQL5.community and connect to MQL5 Storage.

    Projects in MQL5.com

    Projects folder in MQL5 directory has been implemented for common projects. It is shown in blue in Navigator.
    Despite the fact that Projects folder is located inside MQL5, the projects are located separately from the user's personal directory (https://storage.mql5.com/svn/Personal/<MQL5.community account>/MQL5).
    All projects are stored in a separate section https://storage.mql5.com/svn/Projects/

    The top-level directory in Projects folder is considered to be a project. Therefore, a new folder should be created in Projects section to create a project. Use "New Folder" option to create the new folder, select it and click "Create Project" in the context menu.
    The project will be created. Reports on successful project creation will be displayed in MetaEditor's journal.

    Access to each project is set only by a project author (a user who created it).
    To start a teamwork on a project, you should allow other users to access it. Click "Add Permission" in the context menu of a created project folder and add a new user by specifying his or her MQL5.community login.

    Collaboration over the project in MetaEditor

    Click "Checkout" in "Projects" folder context menu to upload available projects. The projects will be uploaded from the storage. All further operations with them are similar to the ones with conventional files assigned to MQL5 Storage.

  2. Fixed MetaStyler operation - considering interline alignment for the lines beginning from #.
  3. Fixed errors occurred when working with MQL5.Strorage.
  4. Fixed display of parameters of class methods in MetaAssist when addressing via this.

Fixed errors reported in crash logs.
Updated documentation.

The live update is available through the LiveUpdate system.

The MetaTrader 5 Trading Terminal can be downloaded at "https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe

3 August 2012

MetaTrader 5 Trading Terminal build 687

Trading Terminal

  1. Fixed errors when making purchases in MQL5.Market.
  2. Fixed errors when working with MQL5.Market having UAC enabled.
  3. Fixed specifying a symbol in the new order placing dialog when using the chart context menu and the list of open positions and orders.

MetaEditor

  1. Fixed errors in changes display dialog when working with MQL5.Storage.
  2. Fixed errors when renaming and deleting files stored in MQL5.Storage.
  3. Fixed the error when using windows placement commands: Cascade\Tile Windows\Tile Horizontally\Tile Vertically.

Strategy Tester

  1. Fixed crashes when stopping the visual tester.
  2. Fixed disabling the agents in the client terminal during a test.
  3. Fixed calculation of the estimated number of genetic optimization passes.

Fixed errors reported in crash logs.
Updated documentation.

The live update is available through the Live Update system.

The MetaTrader 5 Trading Terminal can be downloaded at "https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe

2 August 2012

MetaTrader 5 Trading Terminal build 684

Trading Terminal

  1. Added highlighting the account status bar, if the account is in Margin Call or Stop Out states.



    Highlighting the account status bar, if the account is in Margin Call or Stop Out states



  2. Fixed drawing of the "Fibonacci Fan" object.
  3. Fixed calculation of a chart scale in "Scale points per bar" mode.
  4. Fixed terminal crash when working in Wine (for Linux, Mac).
  5. Fixed display of internal emails and news under Windows XP with Internet Explorer 6.0.
  6. Fixed search on MQL5.com website when working in older Windows XP versions.
  7. Updated translation of the client terminal into Bulgarian.

MQL5

  1. Added request_id field in MqlTradeResult structure - a unique identifier of the terminal trade request during a network session.

    This field is filled by the client terminal when a trade request is successfully sent to the server. Further on, this field is filled in result parameter of OnTradeTransaction entry point. Therefore, the opportunity of clear comparison of OrderSend and OrderSendAsync functions calling with getting the trade request results at OnTradeTransaction entry point is provided.

  2. Added compatibility of ex5 programs with DLLs created using .NET.
  3. Fixed optimization of the functions that return the structures.
  4. Added operation signs in the profiler mode:
    • IS_PROFILE_MODE - macros determining MQL5 program compilation in the profiling mode
    • MQL5_PROFILER - new value of ENUM_MQL5_INFO_INTEGER enumeration - determining the programs operation in the profiler mode. MQL5InfoInteger function should be used to get the value.
  5. Disabled inlining of large volume functions leading to excessively large EX5 files.
  6. Standard Library. Added SetTransparentLevel transparency management method to CCanvas class.
  7. Added the new sinput (static input) key word preventing manual input of values for searching an input parameter during optimization.
  8. Added ParameterSetRange(string name, bool enable, double value, double start, double step, double stop) function, which allows redefining the very possibility of searching the values, as well as the range of searched values before launching the optimization. The function can be called only from OnTesterInit handler. The function can also be applied to the input parameters protected by sinput key word.
  9. Added ParameterGetRange(string name,bool& enable, double& value, double& start, double& step, double &stop) function. It can be called from OnTesterPass and OnTesterDeinit handlers.

MetaEditor

  1. Fixed automatic saving of all open files before the compilation.
  2. Added the snippet for OnTradeTransaction entry point.

    For ease of writing code, MetaEditor provides the possibility to insert snippets — small template fragments of source code describing a particular construction of the MQL5 language. Insertion of a snippet is initialized by typing the keyword. After you type the keyword the cursor is changed to "Snippet available". To insert a snippet, you should press "Tab". For more information about working with snippets please read the MetaEditor Help.

    The key word for OnTradeTransaction entry point is OnTradeTransaction.

  3. MQL5.Storage - fixed MQL5 Storage errors related to determining the presence of changes.
  4. Fixed results display for the "inline" code in the profiler.
  5. Fixed search on MQL5.com website when working in older Windows XP versions.

Strategy Tester

  1. Removed the limit of 63 simultaneously optimized parameters.

    All input parameters can now be included for optimization (the number of input parameters is limited by 1024). It means that the space that can have the maximum value to be written in the integer 1024-bit value can be used in the genetic search for the optimal parameters. The protocol of data transfer between the terminal and tester agents has been changed for big indices of the optimized variants.

    Therefore, all previous versions of tester agents will not be able to connect to the cloud network and (or) the client terminal because of the protocol change and will be updated automatically via LiveUpdate system.

  2. Fixed an error leading to incorrect saving of genetic optimization snapshot. The error occurred only on the "fast" mathematical optimizations.
  3. Fixed report on test results when determining losses and profits sequences.
  4. Fixed crash of the client terminal when deactivating the tester agents.

    Fixed errors reported in crash logs.

    Updated documentation.

    The live update is available through the LiveUpdate system.

    The MetaTrader 5 Trading Terminal can be downloaded at "https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe

24 July 2012

MetaTrader 5 iOS build 674
  • Added support for the Depth of Market.
  • Added support for extended authorization.
  • Added the "Crosshair" mode for easy viewing of the date, price or indicator value at the selected point of the chart.
  • Added display of OHLC prices on charts.
  • Added the Data Window for viewing indicator values at the specified point of the chart.
  • Added the possibility to change an account password.
  • Added Japanese language.
  • Fixed errors.

13 July 2012

MetaTrader 5 Client Terminal build 674

Trading Terminal

  1. Added the ability to post screenshots of charts on MQL5.com. When saving a screenshot, just select the appropriate option and the screenshot will be automatically placed on www.mql5.com, while a trader will get its address for posting on other websites and forums.


  2. Improved the algorithm of a trend line inclination angle calculation.
  3. Fixed display of available bars number in a chart tooltip.
  4. Fixed display of news with the same publication time.
  5. Added support for canceled deals display.
  6. Fixed display of close button when closing a deal with a volume less than the minimum allowed one.
  7. Fixed spread and tick volume calculation in charts generated by the terminal.

MQL5

  1. Added OnTradeTransaction entry point - getting information about trade transactions performed for a trade account.

    void OnTradeTransaction(const MqlTradeTransaction& trans,const  MqlTradeRequest& request,const MqlTradeResult& result)

    The entry point is called to transfer the data on the trade transactions performed for a trade account to MQL5 program:

    • adding, modifying, deleting open orders
    • adding, modifying, deleting orders in history
    • adding, modifying, deleting deals
    • modifying a position
    • execution of client's trade requests and getting the results.

    The client terminal stores the history of transactions and consistently transfers them to an Expert Advisor, if an entry point is present. The history is limited to 1024 transactions and cleared during the next connection.

    Note that transactions processing in the terminal is performed independent of transactions processing in MQL5 program. For example, while an Expert Advisor processes a transaction to add a new order, the terminal can at the same time get a transaction to delete the appropriate order and move it to history.

  2. Fixed making long screenshots of charts by MQL5 means (ChartScreenShot function).
  3. Fixed getting an empty last bar for the symbols built by Last prices.
  4. Added checking the presence of available history when executing request functions in synchronous requests of the price history.
  5. Added the function of ArrayFill numeric array filling. The function is an equivalent of memset C function and allows to initialize a memory area as efficiently as possible.
  6. Updated ENUM_SYMBOL_SWAP_MODE enumeration - swaps accrual parameters for open positions - new values added and part of previous ones renamed. Previous enumeration values are still supported for compatibility.
  7. MQL5: Enhanced ENUM_DEAL_TYPE "deal types" enumeration values set. The following values are added:

    • DEAL_TYPE_BONUS - depositing a bonus by a broker
    • DEAL_TYPE_COMMISSION - charging commission by a broker
    • DEAL_TYPE_COMMISSION_DAILY - charging commission by a broker according to trading day results
    • DEAL_TYPE_COMMISSION_MONTHLY - charging commission by a broker according to month results
    • DEAL_TYPE_AGENT_DAILY - depositing the agent's commission according to trading day results
    • DEAL_TYPE_AGENT_MONTHLY - depositing the agent's commission according to month results
    • DEAL_TYPE_INTERESTRATE - depositing accrued interest rate on free funds
    • DEAL_TYPE_BUY_CANCELED - canceled buy deal
    • DEAL_TYPE_SELL_CANCELED - canceled sell deal
  8. Standard Library. Added possibility to manage the list elements in CComboBox class.
  9. Standard Library. Added CCanvas class (MQL5\Include\Controls\Canvas.mqh).

    CCanvas class allows to implement various graphics on custom charts of "Bitmap" and "Bitmap Label" types. In fact, these objects turn into a surface for drawing any image. Thus, it is possible to create custom graphical objects, apart from the ready-made terminal ones.

    The class implements the functions for drawing lines, circles, rectangles, polygons, their filling and filling any area in a specified color. Besides, the client terminal distribution kit now has the example of the class application CanvasSample (MQL5\Scripts\Examples\Canvas\CanvasSample.mq5).


Strategy Tester

Added saving the intermediate data of the genetic optimization - the optimization process will start from where it was stopped, not from the beginning.

MetaEditor

  1. Added MQL5 programs profiler - the built-in tool for gathering program parameters during its operation. Attention is paid to such parameters as functions execution time, number of functions calls, separate code fragments execution time. This tool allows programmers to analyze their application, find its critical parts and write more optimal code.


    Profiling results are exported in HTML, CSV and OpenXML formats. To move to a specific code line, just double-click on the appropriate profiling report line.

  2. Fixed comparing files with the contents of MQL5 Storage.

    Fixed errors reported in crash logs.
    Updated documentation.

    The live update is available through the Live Update system.

    The MetaTrader 5 Trading Terminal can be downloaded at "https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe

20 April 2012

MetaTrader 5 iOS build 630
  • Push notifications from the desktop terminal and MQL5.community services
  • Possibility to view received notifications
  • Improved interface
  • Added 16 more technical indicators: Accelerator Oscillator, Accumulation/Distribution, Alligator, Average Directional Movement Index, Awesome Oscillator, Bears Power, Bulls Power, DeMarker, Fractals, Gator Oscillator, Ichimoku Kinko Hyo, Market Facilitation Index, On Balance Volume, Parabolic SAR, Relative Vigor Index, Volumes
  • Adjustable graphical settings of indicators (color, line width)
  • Downloading history data in the background mode without blocking chart navigation
  • Error fixes

14 February 2012

MetaTrader 5 Android build 586
  • Added real-time display of price charts with the ability to navigate and zoom.
  • Redesigned and enhanced the application interface.
  • Added the interface optimized for use on tablet PCs.
  • Fixed errors reported by users.

22 December 2011

New Version of the MetaTrader 5 for iPhone

More languages have been added in the new version of the MetaTrader 5 for iPhone (5.0.540) - it is now also available in Turkish and Traditional Chinese. This will help to cover more users who prefer to use the trading platform in their native language.

In addition, to increase the terminal operating speed, we have reduced the backup size and fixed errors reported by users.

6 December 2011

MetaTrader 5 iOS build 540
  • Ul translated into Turkish, Traditional Chinese
  • Reduced size of the application backup
  • Fixed user-reported errors

21 September 2011

MetaTrader 5 iOS build 507
  • Updated trade dialogs.
  • Translated into Spanish, Italian, French, Arabic and Chinese.
  • Fixed errors reported by users.

16 August 2011

MetaTrader 5 iOS build 485
  • Added technical indicators;
  • Fixed errors.

16 August 2011

MetaTrader 5 iOS build 489 Fixed calculation of the OSMA indicator.

18 June 2011

MetaTrader 5 iOS build 466
  • Added Russian and German;
  • Added support for the portrait mode of charts;
  • Added mode of displaying expanded quote information;
  • Fixed errors.

5 May 2011

MetaTrader 5 iOS build 439
  • Improved network stability;
  • Added server icons;
  • Fixed errors.

3 April 2011

MetaTrader 5 iOS build 421
  • Added charts with navigation and scaling functions;
  • Added offline mode;
  • Fixed errors.

2 November 2009

Beta Testing of MetaTrader 5 Kicked Off Today!

Today we are pleased to announce the public testing of the MetaTrader 5 client terminal. It is open to anyone who wishes to test the new terminal. To register as a tester, just proceed to download the terminal and test it. All testers are invited to report bugs and make suggestions via email or publish them here.

During the testing period, the client terminal is available in English only. If you have any difficulties, please check out the built-in Help, which is also available in English.

You can download MetaTrader 5 Client Terminal by clicking on the following link: https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe (540kb)


We thank you in advance for your contribution on the MetaTrader 5 terminal testing.

Scope Work for MetaTrader 5 Testing

  1. The platform testing will take approximately 5-6 months.
  2. This will be a stage-by-stage testing. New features will be added during each stage. During the first testing stage that starts today, the client terminal will work with Forex only. Later on we will add Futures, equities and options.
  3. The current terminal version comes in without a strategy tester. It will be included later.
  4. Commencing November 2009, the testing of back-office components of the platform will be open to brokerage companies.

We are committed to delivering a truly stable, high-quality product, that's why the testing is evolving into a multi-stage process. We just wish to ensure the highest quality in every stage of the process before we release the platform to our clients.


Best regards,
MetaQuotes Software Corp.

2 November 2009

September 9, 2009 — Milestone Day for MetaTrader 5!

September 9, 2009 marks a major milestone in our effort to make the MetaTrader 5 trading platform available to our clients. We are in the final stage of its development and announce the beginning of its closed beta-testing.


The new client terminal has been sent to some members of the MQL4.community for testing. They will help us find and fix errors that, unfortunately, oftentimes slip through when new products are developed. Being created from scratch, MetaTrader 5 is no exception.

The MetaTrader 5 terminal has been already comprehensively tested in our testing department. However, we decided to conduct this closed testing, so that ultimately the general public gets the most stable and reliable terminal. The closed testing will be followed by the public beta-testing where everyone can participate. Just stay tuned!

123456789