Get Trial

What's new in MetaTrader 5

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

9 November 2014

MetaTrader 5 iOS build 991 Added iOS 8 compatibility

31 October 2014

MetaTrader 5 Trading Terminal build 1010: New Signals, Market and Options Trading Signals
  1. The showcase of signals has been completely redesigned. New features have been added, the Signals service design and usability have been improved.



    The new features in the list of signals:

    • The list of signals now contains growth charts similar to those displayed on the MQL5.community site. A green icon in the lower left corner of the chart indicates that this is a real account based signal.
    • Now subscription to a signal is available directly from the list. To subscribe, press the button with the price indication (or the word 'Free', if the signal is free). This will open a subscription confirmation dialog.
    • Now signals can be added to Favorites. Click the star icon at the end of the signal line. After that, the signal can be easily found in the "Favorites" tab.
    • The context menu has been removed. Now to find a signal to which you have subscribed, go to any signal. The top panel shows the signal you are subscribed to and a link to it.

    A signal view page has been updated. A new option allows to add signals to Favorites. The status of the signal account is displayed when hovering the mouse pointer at "Growth".

    Signals statistics have expanded:

    • The total amount of subscribers' funds.
    • Trading account lifetime since its first trading operation.
    • The average position holding time.



    New tabs:

    • Risks - information about the best and worst trading operations and series of operations, and information on drawdowns.
    • Reviews - reviews of signal subscribers.
    • News - through this tab the signal provider can inform subscribers of any change in the signal and post other useful information.

Market

  1. Revised display of products in MetaTrader AppStore. Applications, magazines and books feature the new design. A new option allows to add products to Favorites. Click the star icon in the product view mode. After that, the product can be easily found in the "Favorites" tab.




Trading terminal

  1. The terminal now features an options board and a volatility chart. Implementation of tools for trading options is currently underway. Tools for analyzing option strategies will be added in the next version.




    Options Board
    The options board displays a series of options based on the expiration date for an underlying asset (a class of options) selected in the "Underlying" field. The following parameters are displayed for the options:

    • Bid CALL - the bid price of a call option.
    • Ask CALL - the ask price of a call option.
    • Theo CALL - the theoretical (fair) price of a call option calculated for the specified strike based on historical data.
    • Strike - an option execution price.
    • Volatility - an implied volatility. It is specified as a percentage, and characterizes the expectations of market participants about the value of the underlying asset of the option.
    • Theo PUT - the theoretical price of a put option calculated for the specified strike based on historical data.
    • Bid PUT - the bid price of a put option.
    • Ask PUT - the ask price of a put option.

    Volatility Chart
    Option strikes are shown along the horizontal axis of the chart, and the implied volatility is shown along its vertical axis.




  2. Added display of ping values ​​in the list of access points.




  3. The terminal interface has been adapted for high resolution screens - Full HD and higher. Menus, toolbars, window titles and the status bar are now large enough for easy viewing and working on touch screen of Windows-tablets.

  4. Added a command for managing trading symbols in the "View" menu and on the toolbar. Accessing symbol settings is now as easy as never before:



MQL5 Language

  1. Added conversion of a macro parameter to a string and concatenation of the macro parameter. Below is an example, in which the concatenation of macros allows to organize the automatic removal of the class instances.
    //+------------------------------------------------------------------+
    //|                                                     MacroExample |
    //|                        Copyright 2014, MetaQuotes Software Corp. |
    //|                                       https://www.metaquotes.net  |
    //+------------------------------------------------------------------+
    #property script_show_inputs
    input bool InpSecond=true;
    
    #define DEFCLASS(class_name) class class_name:public CBase{public:class_name(string name):CBase(name){}};
    #define TOSTR(x) #x
    #define AUTODEL(obj) CAutoDelete auto_##obj(obj)
    #define NEWOBJ(type,ptr) do { ptr=new type(TOSTR(ptr)); \
                             Print("Create object '",TOSTR(type)," ",TOSTR(ptr),"' by macro NEWOBJ"); } \
                             while(0)
    //+------------------------------------------------------------------+
    //| The basic class required for automatic deletion of objects       |
    //+------------------------------------------------------------------+
    class CBase
      {
    protected:
       string            m_name;
    
    public:
                         CBase(string name):m_name(name) { }
       string            Name(void) const{ return(m_name); }
    
      };
    //+------------------------------------------------------------------+
    //| The object auto-delete class makes watching of created           |
    //| objects unnecessary. It deletes them in its destructor           |
    //+------------------------------------------------------------------+
    class CAutoDelete
      {
       CBase            *m_obj;
    
    public:
                         CAutoDelete(CBase *obj):m_obj(obj) { }
                        ~CAutoDelete()
         {
          if(CheckPointer(m_obj)==POINTER_DYNAMIC)
            {
             Print("Delete object '",m_obj.Name(),"' by CAutoDelete class");
             delete m_obj;
            }
         }
      };
    //+------------------------------------------------------------------+
    //| Declaring two new classes CFoo and CBar                          |
    //+------------------------------------------------------------------+
    DEFCLASS(CFoo);
    DEFCLASS(CBar);
    //+------------------------------------------------------------------+
    //| The main script function                                         |
    //+------------------------------------------------------------------+
    void OnStart()
      {
       CFoo *foo;
    //--- Creating an object of the CFoo class
       NEWOBJ(CFoo,foo);
    //--- Creating an instance of the CFoo foo object auto-deletion class
       AUTODEL(foo);
    //---
       if(InpSecond)
         {
          CBar *bar;
          //---
          NEWOBJ(CBar,bar);
          AUTODEL(bar);
         }
    //--- No need to delete foo, it will be deleted automatically
      }
    //+------------------------------------------------------------------+
    
  2. Added the OBJPROP_ANCHOR property for the "Bitmap" and "Bitmap Label" objects. The property defines the anchor point of the graphical object on the chart: the upper left corner, center left, lower left corner, bottom center, etc.
  3. Added reading of the CHART_BRING_TO_TOP chart property (the chart is on top of all the others) in the ChartGetInteger function.
  4. Fixed the compilation and generation of the ternary operator "?".
  5. Fixed passing of a class member static array.
  6. Fixed applying of a template to the list of initialization of the template constructor class members.

Trading signals

  1. Restrictions on signal subscriptions became milder:

    If the trading history of the signal contains symbols that are not available in the subscriber's terminal, the subscription is now allowed (was prohibited in previous versions). The actions with the positions for which the subscriber does not have symbols are ignored. The following log appears in the Journal:
    2014.08.26 16:44:29.036    '2620818': Signal - symbol GBPNZD not found
    If the subscriber has positions and/or pending orders, a warning dialog suggesting to close/delete them appears (as before). Now, however, it is not an obligatory condition to continue working with signals.



    Synchronization with the signal provider will be performed. Positions and orders that were opened not based on the subscription signal are left unchanged. The user can perform any operations with them.

    Users can now perform trade operations manually (or using an Expert Advisor), being signed to a signal. The Signals service will ignore the positions and orders opened by the trader.
    Keep in mind that placing orders manually affects the amount of available margin on the trading account. Opening positions manually increases the overall load on the account as compared with the signal provider's account.
  2. Added support for a copied percent for the volumes with a floating point. The minimum percentage of copied volumes for signals has been reduced from 1% to 0.001%.

Strategy tester

  1. Fixed freezing of testing agents when working with the MQL5 Cloud Network.
  2. Fixed calculation of swaps in points for the minimal volumes of trading positions.

MetaEditor

  1. Fixed hotkeys for commands "Navigate Forward" and "Navigate Backward".

MetaViewer

  1. Fixed page navigation on the toolbar.
  2. Fixed text search based on the current interface language.

Fixed errors reported in crash logs.

Documentation has been updated.

The update is available through the LiveUpdate system.

20 August 2014

MetaTrader 5 iOS build 971
  • Added ability to edit levels of indicators and objects
  • Added Portuguese translation

1 August 2014

MetaTrader 5 Trading Terminal build 975: Displaying Expert ID

Trading Terminal

  1. Added display of a trade ID (magic number) set by an Expert Advisor. The ID is displayed as a tooltip in the list of open positions and orders, as well as in the trading history.


    Displaying Expert ID


  2. Optimized work with a large number of trading symbols (thousands and tens of thousands).
  3. Fixed display of alerts on the price chart. The alert's price level was sometimes displayed in the indicator's subwindow.
  4. Updated interface translations into Chinese, Turkish and Japanese.
  5. Fixed displaying the list of chart templates in the application's main menu.
  6. Fixed displaying the list of trade symbol sets in the context menu of Market Watch window.

MQL5 Language

  1. Fixed errors in working with built-in structures that could occasionally disrupt the operation of IndicatorParameters and MarketBookGet methods.
  2. Fixed type conversion from bool to string.
  3. Fixed working with virtual functions.
  4. Fixed an error in the operation of FileReadStruct and FileWriteStruct functions within EX5 libraries.
  5. Fixed a compiler error that occurred in case a key word was present in a comment.

Strategy Tester

  1. Fixed calculation of swaps in points when testing.
  2. Fixed passing the file defined in #property tester_file. An error occurred if the file was in the common folder of the client terminals.
  3. Greatly improved selection of the nearest cloud server by the tester agents working within MQL5 Cloud Network of distributed computing. Thus, their operation speed is increased significantly.

MetaEditor

  1. Fixed text replacement when the list of MetaAssist tips is collapsed.

Fixed errors reported in crash logs.

Updated documentation.

The update is available through the LiveUpdate system.

27 June 2014

MetaTrader 5 trading terminal build 965: Smart Search, OTP and Money Transfer between Accounts

Trading terminal

  1. Completely revised built-in search. The new search is a smart and powerful system. Search results are now conveniently arranged by categories.

    As you type in search query, the system instantly offers possible options:



    In order to search by one of the previous queries, place the cursor to the box and click Down Arrow key to open the query history. Selection of a search area is not available in the search bar any more, as the system automatically selects the most relevant results arranging them by categories conveniently:



    For better representation, search results now contain not only texts but also avatars of articles, books and applications. Use the top panel to view the search results by MetaTrader Appstore Products, Code Base, Signals, MQL5.community Forum and Documentation. If a category has no results, it is highlighted in gray.

  2. Added the OTP authentication feature. Use of OTP (one-time password) provides an additional level of security when working with trading accounts. The user is required to enter a unique one-time password every time to connect to an account.

    One-time passwords are generated in the MetaTrader 5 mobile terminal for iPhone . The same one-time password generation option will be added in the mobile terminal for Android soon.

    How to enable OTP
    To start using one-time passwords, a trading account should be bound to a password generator, which is the MetaTrader mobile terminal 5 for iPhone.
    The use of the OTP option should be enabled on a trade server.
    Go to the Settings of the mobile terminal and select OTP. For security reasons, when the section is opened for the first time, a four-digit password should be set. The password must be entered every time to access the password generator.



    In the window that opens, select "Bind to account".



    Next, specify the name of the server on which the trading account was opened, the account number and the master password to it. The "Bind" should be kept enabled. It must be disabled, if the specified account should be unbound from the generator and one-time passwords should no longer be used.

    After the "Bind" button located in the upper part of the window is tapped, a trading will be bound to the generator, and an appropriate message will appear.



    Likewise, an unlimited number of accounts can be bound to the generator.

    The one-time password is displayed at the top of the OTP section. Underneath, a blue bar visualizes the password lifetime. Once the password expires, it is no longer valid, and a new password will be generated.

    Additional Commands:

    • Change Password - change the generator password.
    • Synchronize Time - synchronize the time of the mobile device with the reference server. Accuracy requirement is connected with the fact that the one-time password is bound with the current time interval, and this time should be the same on the client terminal and the server side.

    How to use OTP in the desktop terminal
    After binding a trading account to the generator, a one-time password will be additionally requested when connecting to it from the desktop terminal:




  3. Added an option for transferring money between accounts within the same trade server. Money can be transferred only from the currently connected account. Select it in the "Navigator" window and click "Transfer funds" in the context menu.



    In the dialog box, select the account to which funds need to be transferred. The transfer amount is specified in the deposit currency of the current account. It cannot exceed the current balance and the current amount of free margin of the account.

    To transfer funds, a master password must be specified for both accounts. If OTP authentication is used for the account, from which funds are transferred, the one-time password should be additionally specified.

    Transfer of funds is provided in the form of balance operations: a withdrawal operation on the current account and depositing operation on the recipient account.
    • The money transfer option should be enabled on the trade server. Depending on the settings, there are some restrictions on the accounts, between which transfer is allowed. In particular, money transfer can be allowed only for accounts with identical names and emails.

    • Funds can be transferred only within the same trading server and only between the accounts of the same type. From a real account funds can be transferred only to another real account, from a demo one - only to demo.
    • The accounts, between which funds are transferred, should use the same deposit currency.
  4. Added an option for changing the password of any trading account in the "Navigator" window. Previously, it was possible to change the password only for the currently connected account.

    Now any account can be selected in the "Navigator" window and its passwords can be changed by clicking the appropriate command in the context menu:




  5. Added the possibility to set SL and TP levels on the chart by dragging the trade level of the corresponding position (using drag'n'drop). Hover the mouse over the level of the position on the chart. Click the left mouse button and hold it to move the level up or down.



    For long positions dragging down allows to set stop loss, up - take profit. And vice versa for short positions. When a level is dragged, the possible profit/loss in pips and currency, which may occur when this level triggers, is shown.

  6. Changed the location of commands in the "Window" menu. Now the "Tile window" option is displayed first, hotkeys Alt+R have been assigned for this command. This command has also been added to the standard toolbar.




  7. In the "Navigator" categories "Indicators" and "Custom Indicators" have been combined into one category "Indicators".



    All custom indicators, examples, and indicators purchased from the MetaTrader AppStore are now shown together with the built-in technical indicators. Four categories of built-in indicators are always displayed first.

  8. Revised the Navigator's context menu.

    Login has been renamed to "Login to Trade Account". Authentication in MQL5.community is available not only via the terminal settings but also via the context menus of the "Accounts" section and its subsections.



    The following changes have been implemented to the account's context menu:
    • Moved "Open an Account" command to the first position.
    • Added "Change Password" feature.
    • Added "Register a Virtual Server" command.

  9. Fixed display of the Label and Bitmap Label graphical objects with the anchor point located in one of the bottom corners of a chart.

MQL5 Language

  1. Added WebRequest() function for working with HTTP requests allowing MQL5 programs to interact with different websites and web services.

    The new function allows any EA to exchange data with third-party websites, perform trades based on the latest news and economic calendar entries, implement analytics, generate and publish automatic reports, read the latest quotes and do many other things that could previously be achieved only by using third-party DLLs of questionable reliability. The new feature is absolutely safe for traders, as they are able to manage the list of trusted websites the programs have access to.

    WebRequest function sends and receives data from websites using GET and POST requests. The new feature is absolutely safe for traders, as they are able to manage the list of trusted websites the programs have access to.




    This option is disabled by default for security reasons.

  2. Added access to signals database and managing signals subscription from MQL5 applications.

    Now, a user can receive the list of signals, evaluate them according to user-defined criteria, select the best one and subscribe to it automatically from a MQL5 program. In fact, it means the advent of the new class of trading robots that periodically look through available signals and subscribe to the one that is most suitable at the moment.

    For this purpose new signal management functions have been added to the MQL5 language:

    • SignalBase*() — functions for accessing the signals database.
    • SignalInfo*() — functions for receiving signal settings.
    • SignalSubscribe() and SignalUnsubscribe() — subscription management functions.

    Thus, a user can not only copy trades, but also to select signals for copying. Both processes are automated.

    By default, a trading robot is not allowed to change signal settings for security reasons. To enable this function, tick the "Allow modification of Signals settings" option in Expert Advisor settings.




  3. Added new properties of the client terminal that are available through the TerminalInfo* functions:
    • TERMINAL_MQID - the property shows that MetaQuotes ID is specified in terminal settings.
    • TERMINAL_COMMUNITY_ACCOUNT - this property shows that MQL5.community account is specified in the settings.
    • TERMINAL_COMMUNITY_ACCOUNT - this property shows that MQL5.community account is specified in the settings.
    • TERMINAL_COMMUNITY_BALANCE - value of balance on the MQL5.community account.
    • TERMINAL_NOTIFICATIONS_ENABLED - shows whether sending notifications through MetaQuotes ID is allowed.

  4. Added functions for working with cryptographic algorithms: CryptEncode() and CryptDecode(). These functions allow you to encrypt and decrypt the data, for example, when sending data over the network using the WebRequest() function. They also allow you to calculate checksums and make data archiving.

    Function signatures:
    int CryptEncode(ENUM_CRYPT_METHOD method,const uchar &data[],const uchar &key[],uchar &result[]);
    int CryptDecode(ENUM_CRYPT_METHOD method,const uchar &data[],const uchar &key[],uchar &result[]);
    A new enumeration ENUM_CRYPT_METHOD has been added for working with the functions:
    CRYPT_BASE64,      // BASE64 encryption (re-encoding)
    CRYPT_AES128,      // AES encryption with 128-bit key
    CRYPT_AES256,      // AES encryption with 256-bit key
    CRYPT_DES,         // DES encryption (key length is 56 bits - 7 bytes)
    CRYPT_HASH_SHA1,   // calculation of HASH SHA1
    CRYPT_HASH_SHA256, // calculation of HASH SHA256
    CRYPT_HASH_MD5,    // calculation of HASH MD5
    CRYPT_ARCH_ZIP,    // ZIP archive

  5. Added an option for changing the size of the properties dialog of MQL5 programs.




  6. Added ability to debug the template functions.
  7. Added definition of the custom indicators that are executed too slowly. If the indicator is slow, "indicator is too slow" entry appears in the Journal.
  8. Fixed the value returned by the IsStopped() function. This function is used for determining the forced stopping of MQL5 programs in custom indicators. Previously, this function always returns FALSE.
  9. Fixed verification of input parameters of MQL5 programs by data type. In particular, for the parameter type uchar, one could specify a value greater than 255.
  10. Fixed an error in StringConcatenate() function.
  11. Fixed FileSize() function for files that are available for writing. Previously, the function returned the file size without considering the latest write operations.
  12. File operations have been revised. Now work with files has become faster.

Trading Signals

  1. Fixed copying of SL and TP values of trade positions in case the number of decimal places in the symbol price of the signal source differs from that of the subscriber.
  2. Fixed copying of trade positions from signal providers with incorrect settings of trade instruments on the side of the trade server.
  3. Fixed closing of positions opened by a trading signal when account Equity value falls below the value specified in the signal copying parameters. In some cases, closing of positions could lead to terminal crash.

MetaEditor

  1. Optimized work with large source text files (tens of megabytes). Increased operation speed and reduced memory consumption.
  2. Fixed navigating through a source code using "Ctrl + -" and "Ctrl + Shift + -" shortcuts.

Fixed errors reported in crash logs.

Updated documentation.

The update will be available through the LiveUpdate system.

22 June 2014

MetaTrader 5 iOS build 931
  • Added support of two factor authentication (One-time password, OTP) for connecting to a trading account
  • Added support of VoiceOver
  • Fixed errors

13 June 2014

MetaTrader 5 Android build 916
  • Added message categories. Personal messages and MQL5.community notifications, desktop MetaTrader 4/5 messages, as well as broker messages are now displayed separately for more convenience.
  • Fixed a few errors in chart display.
  • Fixed errors reported in crash logs.

10 May 2014

MetaTrader 5 iOS build 917
  • Added 24 new graphic objects for technical analysis: lines, channels, Gann and Fibonacci tools, Elliott Waves and geometric shapes.
  • Added ability to shift the chart - tap and hold it to enter the edit mode.
  • Added Indonesian translation of user interface.

20 April 2014

MetaTrader 5 iOS build 911
  • Completely revised design in favor of iOS 7 flat style.
  • Improved usability: swipe to the right on an open position or order cell to access the actions menu when using your iPhone, or tap the chart to enter its options in your iPad.
  • The minimum required operating system version is iOS 5.0.
  • Fixed incorrect operation of the notification service with some devices.
  • Many minor fixes and improvements.

11 April 2014

MetaTrader 5 trading terminal build 930: Books in MetaTrader Market

Market

  1. Another new product category has been added to MetaTrader AppStore following trading and financial magazines - Books. Now, you can purchase the works of well-known traders and analysts along with trading robots and indicators. The range of books is increasing daily.



    Just like MetaTrader 5 applications, books can be purchased at MQL5.community Market as well as directly via MetaTrader 5 terminal. All books are accompanied by descriptions and screenshots:




    Before making a purchase, you can download a preview - the first few pages of a book. The exact number of available pages is defined by a seller.

    To buy a book, you should have an MQL5.com account and the necessary amount of funds on it. The account data should be specified at the Community tab of the terminal settings:



    Click Buy on the book's page to purchase it. Purchase confirmation dialog appears:



    To continue, agree to the rules of using the Market service and enter your MQL5.community password. After that, the specified amount of funds will be withdrawn from your account and the book will be downloaded. Buy button will be replaced by Open one.

    Book files are downloaded to My Documents\MQL5 Market\Books\. The download may be performed in two formats:

    • MQB - this protected format is used for paid books. When purchasing and downloading a book file, it is encoded so that it can be opened only on the PC it has been downloaded to. Generation of an encoded copy is called activation. Each book can be activated at least 5 times on different hardware. Book sellers can increase the number of activations at their sole discretion.
    • PDF - this format is used for free books and previews. After downloading, such file can be moved and viewed on other devices.

    The special component called MetaViewer has been added to MetaTrader 5 terminal allowing users to view book files. MetaViewer is a convenient application for viewing books and magazines in MQB and PDF formats. Keyboard arrows are used to turn over the pages: left and right arrows - for page-by-page navigation, while up and down arrows - for scrolling.




Trading terminal

  1. Fixed display of Fibonacci Fan graphical object's levels when zooming. A layout could be displaced in earlier builds.
  2. Fixed an error that in some cases prevented graphical objects from being drawn on the chart.
  3. Fixed errors and terminal crashes when working in Wine (for Linux and Mac OS), including crashes that occurred while opening the user guide.
  4. Updated translation of the interface into Arabic.

Market

  1. Revised display of products in MetaTrader AppStore. Applications, magazines and books feature new design:



  2. Market: Fixed resumed download of large files (primarily, magazines and books) from the Market.

MQL5 Language

  1. Changed StringSplit function operation. Previously, ";A;" string was split into NULL and "A" substrings using ';' separator. Now, it is split into "","A" and "" substrings.
  2. Fixed checking and tracking parameter and operand constancy.

Trading Signals

  1. Added additional checks for the allowed trading modes at a symbol when copying signals. If a signal arrives at a subscriber's account but only closing of positions is allowed at that symbol, this will no longer cause complete termination of signals copying and forced closing of all positions. Now, if a signal for position opening arrives at a subscriber's account, the platform perceives that as the command to synchronize subscriber's and provider's accounts. A signal for position closing is handled as usual.

Strategy Tester

  1. Added interface translations into French, Japanese and Arabic. Updated translations into German, Italian, Polish, Portuguese, Russian, Spanish, Turkish and Chinese.

MetaEditor

  1. Fixed highlighting and navigation through a hieroglyphic text.
  2. Fixed selecting a default trading symbol during an MQL5 application profiling. The default symbol is specified in Debug tab of MetaEditor options.
  3. Fixed display of the tab characters in search results. Previously, the tab characters were ignored and string content was displayed with no spaces.

Fixed errors reported in crash logs.
Updated documentation.

The update will be available through the LiveUpdate system.

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

5 March 2014

MetaTrader 5 Trading Terminal build 910

Trading terminal

  1. Fixed errors and crashes when working in Wine (for Linux, Mac).
  2. Fixed display of Gann Grid graphical object's central line when zooming.

MQL5 Language

  1. Fixed an occasional error when downloading .ex5 files.
  2. Fixed operation of StringToCharArray and StringToTime functions.

Fixed errors reported in crash logs.

Updated documentation.

The update will be available through the LiveUpdate system.

28 December 2013

MetaTrader 5 Android build 879
  • Fixed an error in chart rendering that prevented some parts of a chart from being displayed on some devices (Samsung Galaxy Note 3, Sony Xperia L, etc.).
  • Fixed an error in launching the application that occurred after the Android update, as well as on some new phones leading to "Unfortunately your device is not supported" message.
  • The virtual menu button in the form of three dots is now displayed on LG Nexus 4.

7 December 2013

MetaTrader 5 Trading Terminal build 880: Terminal Journal with Milliseconds and MQL4BUILD/MQL5BUILD Macros

Trading Terminal

  1. The time is displayed up to milliseconds in the client terminal's, MetaEditor's and MetaTester's Journal.

    The time is displayed up to milliseconds in the client terminals

  2. Improved scanning and searching for servers in demo account opening dialog - scanning speed has been increased and additional search for access points for the servers having no connection has been added.

    Improved scanning and searching for servers in demo account opening dialog

  3. Fixed and optimized client terminal, MetaEditor and MQL5 help.
  4. origin.txt file is automatically generated in the terminal data folder. This file contains the path to the installation directory that data folder corresponds to.
  5. Fixed display of the context help in a number of dialogs, windows and control elements.
  6. Fixed occasional terminal freezing during prolonged continuous operation (longer than 2-3 days).
  7. Fixed occasional loss of the list of saved client accounts.
  8. Fixed an error causing "pack bar error" messages in the Journal.
  9. Added MetaTrader 5 terminal and MQL5 language helps in Turkish

Market

  1. Fixed and optimized MQL5 Market data storage and update.

MQL5

  1. Fixed an error in overloading the function templates.
  2. Added __MQL4BUILD__ and __MQL5BUILD__ macros - MQL5 compiler versions in MetaTrader 4 and MetaTrader 5 client terminals respectively. These macros can be used for displaying information about the compiler version used for compiling EX4\EX5 file in Experts log of the client terminal:

    //+------------------------------------------------------------------+
    //| Expert initialization function                                   |
    //+------------------------------------------------------------------+
    int OnInit()
      {
    //---
       Print(__FILE__," compiled with ",__MQL5BUILD__," build");
    //---
       return(INIT_SUCCEEDED);
      }

MetaTrader Trading Signals

  1. Fixed comparison of Forex trading symbols of EURUSD <=> EURUSD.ABC form in case there are several symbols having similar main part (EURUSD), and trading is disabled for one of them.
  2. Fixed signals copying when performing balance and credit operations on the subscriber's account. The total amount of client's funds is changed after a balance/credit operation is performed. If the percentage value of signals copying has decreased by more than 1% afterwards (the volume of copied trades is calculated considering the ratio of the subscriber's and provider's balance), the subscriber's account is forcedly synchronized with the provider's one. This is done to correct the subscriber's current positions according to the new copying percentage value.

    If the subscriber's funds have increased due to the balance or credit operation, no forced synchronization is performed.

  3. Fixed copying positions in case Fill or Kill (FOK) market order execution mode is forbidden.

MetaEditor

  1. Fixed working with the clipboard when inserting non-Unicode text.
  2. Fixed scrolling the navigator tree when moving folders using drag'n'drop

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.software.corp/mt5/mt5setup.exe

15 November 2013

MetaTrader 5 iOS build 869
  • Full support for iPhone 5 and all iPad models (smartphones older than iPhone 3GS are not supported)
  • Completely redesigned charts:
    • significantly accelerated rendering
    • added inertial scrolling
    • increased number of scaling steps
    • quick edit mode (press and hold on chart to enable) — ability to resize, move and delete indicator windows directly from chart
    • ability to change chart color scheme
  • Added W1 and MN1 timeframes
  • Added news and mailbox
  • Revised depth of market
  • Added About section allowing users to manage sound alerts, screen auto-lock mode and ability to receive news, as well as to select the news language. Installed certificates can also be edited there.
  • Added sound notification when performing trade operations
  • Significantly revised Chat:
    • all previous messages are uploaded automatically
    • increased message limit up to 1 000 characters
    • added registration and authorization at MQL5.com directly from the terminal
    • improved working with contacts, added login autocomplete function when searching
    • all discussions are divided into Recent and Other
  • Fixed errors
Added iPad version which contains all the iPhone version functions, as well as:
  • Displaying up to four charts simultaneously, every chart has its own individual settings
  • Various options for arranging chart windows
  • Handy toolbox window with adjustable height to display orders, trade history, emails, news and journal
  • Quick navigation to the close and modification dialogs by tapping position or order
  • Detailed view of parameters by tapping position or order in the Trade and Trade History tabs
  • Searching over the trade history and journal
  • One click trading from chart

2 November 2013

MetaTrader 5 Trading Terminal build 871

MQL5

  1. Fixed an issue that prevented testing of experts containing custom indicators in the form of a resource . Error affected including experts from MQL5 Market.
  2. Added support for conditional compilation # if [n] def, # else and # endif.
  3. Added macros _DEBUG and _RELEASE, when compiled *. Mq5 macro __ MQL5__, when compiled *. Mq4 __ MQL4__.

Market

  1. Optimized with MQL5 Market when using multiple instances of the client terminal.

Strategy Tester

  1. Fixed display of tabs and test results when testing the indicator.
  2. Fixed display of signatures by using the cursor in the "crosshairs" to measure the distance between the bars in the visual test.
  3. Fixed crash tester at the completion of testing.

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.software.corp/mt5/mt5setup.exe

24 October 2013

MetaTrader 5 build 868: Unconditional Synchronization of Signal Positions and Fixing Errors

Trading Terminal

  1. Added automatic setting of the alert expiration time when placing it via the depth of market.
  2. Fixed display of the depth of market in the extended mode when showing trading symbols with a large spread.
  3. Fixed display of search results in the terminal working under Wine (Linux and Mac).

MetaTrader Trading Signals

  1. Added the option for unconditional synchronization of positions between a signal source and a subscriber's account. If enabled, synchronization of positions (including closing open positions not related to the signal) during the initial synchronization of the subscriber's and signal source's state is performed without additional confirmation.

    Added the option for unconditional synchronization of positions between a signal source and a subscriber's account

    Thisption is necessary when using signals on VPS (Virtual Private Server). It can also be used to increase the synchronization reliability when working with the already selected signal.

MQL5

  1. Removed unconditional display of the symbol name in Chart graphical object.
  2. Fixed ConvertTimePriceToXY function behavior - now, ERR_CHART_WRONG_PARAMETER error code is returned in case correct calculation is impossible.
  3. Standard Library. Fixed CIndicators::TimeframesFlags method.
  4. Standard Library. Controls. Now, drop-down lists are always displayed on top of other controls.

Strategy Tester

  1. Fixed testing stop when using custom indicators with an infinite loop in OnInit entry point.

MetaEditor

  1. Fixed errors causing a memory leak during the mass replacements of a substring in a document.
  2. Fixed an error in the custom indicator generation wizard that added OnTradeTransaction entry point.

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.software.corp/mt5/mt5setup.exe

4 October 2013

MetaTrader 5 Trading Terminal build 858: Push Notifications of Transactions and Alerts on the Chart

Trading Terminal

  1. Added ability to send push notifications of transactions occurring on the client account: placing, changing and removing orders and deals, activation of pending orders and SL-TP, margin call and stop-out events.

    Added ability to send push notifications of transactions occurring on the client account

    Added ability to send push notifications of transactions occurring on the client account

  2. Added display and managing alerts from the chart.

    Added display and managing alerts from the chart

    When management of trading levels from the chart is allowed, alert's price value can be changed by its dragging to a new price level. Alerts can be disabled or removed using a context menu of the appropriate level on the chart.

  3. Added a tooltip having stop and limit prices for stop-limit orders in the list of open orders and positions.
  4. Added ability to sort a symbol list in Symbols dialog.
  5. Added the possibility to scale the price chart using the mouse wheel while holding down Ctrl button.
  6. Improved display precision of Gann and Fibonacci graphical objects and their levels.
  7. Improved the vertical scaling algorithm for tools having a set price increment.
  8. Fixed errors in displaying the interface in Wine (for Linux, Mac).
  9. Fixed errors in generating trailing stop placing menu.
  10. Fixed an error in closing a chart having a custom indicator that could sometimes lead to lagging when closing a chart.
  11. Fixed display of text news in the news dialog.
  12. Fixed an error that sometimes hindered from publishing screenshots on MQL5.com website.
  13. Fixed assignment of "hot keys" for the built-in indicators.
  14. Updated translation of the interface into Bulgarian and Italian.

Trading Signals

  1. Fixed subscription to signals in Wine (for Linux, Mac).

MQL5

  1. Now, CHARTEVENT_CHART_CHANGE event is generated when the chart's scale is changed.
  2. Added MQL5_MEMORY_LIMIT(available via MQL5InfoInteger function) - it returns the maximum amount of dynamic memory for an MQL5 program in megabytes. This limitation applies only to the dynamic objects of MQL5 applications (arrays, objects, strings).
  3. Multidimensional arrays of primitive types can now be initialized by a one-dimensional sequence:
  4. int a[2][2]={0,1,2,3}; 

    Previously, the following entry has been necessary

    int a[2][2]={{0,1},
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    {2,3}};
  5. Fixed an error when the call of Bars() function sometimes did not lead to reconfiguration of the price history caches when it was necessary.
  6. Fixed passing the link to the array of pointers.
  7. Fixed FileSeek function operation when using SEEK_CUR flag and reading from file till this function is called.
  8. Standard Library. Added CFlameCanvas class ("Include\Canvas\FlameCanvas.mqh") and an example of its application called Flame Chart ("Indicators\Examples\Canvas\FlameChart.mq5") - this example demonstrates the possibilities of generating custom images on the chart by means of MQL5.

  9. Example demonstrates the possibilities of generating custom images on the chart by means of MQL5

Strategy Tester

  1. Fixed initial deposit's value reset in the testing window when changing its size.
  2. Fixed testing stop when using custom indicators with an infinite loop in OnInit entry point.
  3. Fixed filtering deals in the history tab of the visual tester. The error has occurred in case there have been deals at more than two symbols.
  4. Fixed recalculation of custom indicators simultaneously working on a single symbol with different time frames.

MetaEditor

  1. The works on using the single compiler and MQL5 IDE for MetaTrader 4 and MetaTrader 5 are underway:

    MQL5 on MetaTrader 4 and MetaTrader 5

    Instead of working on MQL4 -> MQL5 compatibility, we have decided to go the opposite way. We have transferred the maximum possible amount of MQL5 language functions and features fully preserving MQL4 functionality. In other words, all powerful MQL5 functions, including ООP and the native code compiler, will become available in MQL4. To achieve this, we have developed a unified compiler that automatically supports both MQL4 and MQL5 languages. MetaEditor will also become a unified application both for MetaTrader 4 and MetaTrader 5 platforms. Thus, it will be possible to compile both MQL4 and MQL5 from any version.

    MQL5 Storage with MetaTrader 4
    It will be easier for developers to manage source code versions, participate in team operations and synchronize files.

    Improving the security of application codes in MetaTrader 4
    New EX4/EX5 files are provided with a serious and completely revised protection, as compared to the old EX4.

    Market of MetaTrader 4 applications
    Transition to the new compiler that supports resources and conventional protection suited for each user's PC will allow users to develop and sell full-fledged applications. There is no need to worry about the protection of EX4/EX5 files sold via the Market - they do not contain bytecode but only a pure native code signed by our private key. This solution puts in order all the diversity of existing programs and protects the sellers.

  2. Fixed highlighting MetaAssist entry points.
  3. Fixed search without considering letter case in the line consisting of non-Latin characters.
  4. Fixed input using the standard on-screen keyboard.
  5. Fixed updating the contents of Articles and Codebase tabs.

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.software.corp/mt5/mt5setup.exe

25 July 2013

MetaTrader 5 Trading Terminal build 842: Scalper Depth of Market for All Symbols

Trading Terminal

  1. Added display of the scalper Depth of Market for the symbols having no external one:

    Added display of the scalper Depth of Market for the symbols having no external one

    The new Depth of Market allows placing, modifying and deleting orders quickly and with maximum clarity providing best opportunities for profitable trading.

  2. Added ability to place stop orders via the Depth of Market:

    Added ability to place stop orders via the Depth of Market

    When pressing buy or sell button on a price level, the terminal automatically defines the type of the placed order - stop or limit - and passes it to the trade server.

  3. Added command for displaying the history of deals on the chart:

    Added command for displaying the history of deals on the chart

  4. Added execution time of successful trading requests in the terminal journal:
    2013.07.24 11:22:14    Trades    '1085833': deal #125358548 buy 2.00 EURUSD at 1.32148 done (based on order #131370869)
    2013.07.24 11:22:14    Trades    '1085833': order #131370869 buy 2.00 / 2.00 EURUSD at 1.32148 done in 37 ms
    2013.07.24 11:22:14    Trades    '1085833': accepted instant buy 2.00 EURUSD at 1.32148
    2013.07.24 11:22:14    Trades    '1085833': instant buy 2.00 EURUSD at 1.32148
  5. The time of opening and closing of orders, execution of deals and placing positions is now displayed up to seconds in the list of opened orders and positions, trading history and trade reports.
  6. Added display and ability to manage Limit price for Stop-Limit orders to the chart's trading levels.
  7. Fixed drawing the indicators having DRAW_SECTION, DRAW_ZIGZAG, DRAW_COLOR_SECTION and DRAW_COLOR_ZIGZAG display styles when using a shift in the indicator.
  8. Fixed saving the chart after debugging or profiling.
  9. Fixed display of SL-TP levels in the Depth of Market.
  10. Fixed display of market orders in the Depth of Market.
  11. Fixed symbol display in the trading dialog in case description is too long.
  12. Optimized terminal operation in case of a large number of selected symbols.
  13. Fixed and enhanced translation of the graphic interface into Italian, Portuguese and French.
  14. Fixed terminal help update in Portuguese.
  15. Added translation of the client terminal's help in French

Trading Signals

  1. Added display of Equity chart and signal reviews to the information about a signal. Added warning of the last trading transaction date.

    Added display of Equity chart and signal reviews to the information about a signal

  2. Added display of new signals that have appeared over the past 3 days to the signals tab.

MQL5

  1. Added ResourceReadImage function - this function passes the graphic resource data created by ResourceCreate() function or saved in EX5 file during compilation to the array.
bool  ResourceReadImage(
   const string      resource_name,       // name of the graphic resource for reading
   uint&             data[],              // array for receiving data from the resource
   uint&             width,               // width of the copied area from the resource
   uint&             height,              // height of the copied area from the resource
   );
  1. Added ResourceFree function allowing MQL5 application developers to manage memory consumption when actively working with resources.
  2. Added additional operation mode for working with OpenCL for CLContextCreate function - CL_USE_CPU_ONLY - only OpenCL emulation on CPU is allowed.
  3. Fixed MQL5 programs execution errors when working in 64-bit Windows 8.
  4. Limited the number of warnings delivered during compilation down to 100 ones.
  5. Added CLGetInfoInteger() function for obtaining properties of OpenCL devices.
  6. Standard Library. Improved controls library - added ability to work with several applications in one subwindow.

Strategy Tester

  1. Fixed setting position ID when executing rollovers with re-opening.

MetaEditor

  1. Fixed undoing changes when working with MQL5.Storage.
  2. Fixed operation of "Make Uppercase" and "Make Lowercase" commands in case there are non-Latin characters in the line.
  3. Fixed MetaAssist operation.
  4. Added translation of online help into Chinese.

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.software.corp/mt5/mt5setup.exe

14 June 2013

MetaTrader 5 Trading Terminal build 821: Updated Signals Window and Trading Signal Registration Command

Trading Terminal

  1. Added ability to set Stop Loss and Take Profit levels in market order placing dialog for symbols having Market and Exchange execution types. If the values of the levels are specified in points, the final value of placed Stop Loss and Take Profit prices is calculated based on the order's market price at the moment the request was placed in the client terminal.


    Added ability to set Stop Loss and Take Profit levels in market order placing dialog for symbols having Market and Exchange execution types

  2. Added display of trading levels' deviation from the market's, position's or order's price in points and client deposit currency when dragging trade levels of orders and stops.

    Added display of trading levels' deviation from the market's, position's or order's price in points and client deposit currency when dragging trade levels of orders and stops

  3. Added display of trading levels' deviation from the market's, position's or order's price in points and client deposit currency into trade levels' tooltips.

    Added display of trading levels' deviation from the market's, position's or order's price in points and client deposit currency into trade levels' tooltips

  4. Added "Enable dragging of trade levels with 'Alt' key" option - when enabled, dragging of trade levels is performed only in case Alt key is pressed.

    Added Enable dragging of trade levels with Alt key

  5. Added currency display in the client account's status bar.

    Added currency display in the client account's status bar

  6. Modified drawing Fibonacci Arc object - the arcs are drawn "to the past" only till the graphical object's midpoint level to facilitate visualization.
  7. Added MQL5 application publication date column at Code Base tab.
  8. Fixed display of the empty Depth of Market in Extended mode.
  9. Fixed errors in trade commands of the Depth of Market's context menu.
  10. Now, graphical objects created from MQL5 applications cannot be restored after deletion using Undo command (Ctrl+Z).
  11. Fixed highlighting the deals performed by SL\TP at the trading history tab.
  12. Fixed assignment of "hot keys" for MQL5 applications in the context menu of Navigator window.
  13. Fixed behavior of signals at Alerts tab - conditions related to prices are checked at the moment the price changes instead of periodical checks performed without considering prices.
  14. Fixed restoring SL\TP values in points in the trade requests placing dialog after the failure of a trade request.
  15. Fixed errors of results normalization in the terminal's and tester's trading reports.
  16. Fixed display of custom indicators with DRAW_COLOR_HISTOGRAM2 style.
  17. Fixed display of quick trade panel when changing the chart's color scheme.
  18. Fixed default generation of trailing stop level sets.
  19. Fixed occasional incorrect activation of alerts.

MetaTrader Trading Signals

  1. Revised display of signal list:

    • Added signal price column and paid/free signals filter.
    • Added signal type column - Demo, Contest or Real.
    • Removed brokerage company and trading server names.

    Revised display of signal list

  2. Added command for registering a trading signal bound to the allocated account on MQL5 web site to the trading account's context menu of the Navigator window.


    Added command for registering a trading signal bound to the allocated account on MQL5 web site to the trading account's context menu of the Navigator window

  3. Revised the dialog for unsubscribing from a signal in order to reduce the risk of the accidental unsubscribing from paid signals. Now, users should additionally agree to unsubscribing terms before performing the action.

MQL5

  1. Now, CHARTEVENT_CHART_CHANGE event is generated when the chart's vertical scale is changed.
  2. Fixed check of price and stop level validity when placing and modifying pending orders - now, TRADE_RETCODE_INVALID_PRICE response code is returned in case of the order's invalid price instead of TRADE_RETCODE_INVALID_STOPS.
  3. Fixed launch of Expert Advisors when the terminal is launched from the command line and Symbol parameter is absent in the parameters list - in this case, an Expert Advisor is launched at the first chart of the current profile.
  4. Fixed compilation of an application having a large number of resource files (more than 256).
  5. Standard Library. Added diagram generation mode - "with accumulation" - CChartCanvas::Accumulative() property.
  6. Standard Library. Added control of the allowed order and order expiration types before placing trading orders in CTrade class.

MQL5 Market

  1. Added the button for testing paid Expert Advisors and indicators directly from Market tab. Test button appears after downloading Expert Advisors' demo versions and indicators. When pressing the button, Strategy Tester tab with the appropriate Expert Advisor or indicator appears.


    Added the button for testing paid Expert Advisors and indicators directly from Market tab

Strategy Tester

  1. Fixed an error in caching trading history that could sometimes lead to receiving incorrect deal properties.
  2. In the visual testing mode, fixed indicator chart display in a separate subwindow in case this indicator has been generated based on another one.
  3. Added permission for placing SL and TP from MQL5 applications in Exchange and Market Execution modes during testing and optimization.
  4. Fixed an error during re-optimization in All symbols optimization mode.
  5. Fixed handling expiration of pending orders with Specified day mode.
  6. All properties (ChartGetDouble, ChartGetInteger functions) of the main chart are now displayed during the visual testing, except Window Handle value.
  7. Presence of OnTester access point is checked when launching optimization according to Custom max criterion. In case the point is absent, optimization is not launched and the appropriate entry appears in the journal.

MetaEditor

  1. Added ability to change window size in the debugger.


    Added ability to change window size in the debugger

  2. Added edit commands:

    • "Increase Line Indent (Tab)"\"Decrease Line Indent (Shift +Tab)" - add/remove indentation at the beginning of the highlighted lines.
    • "Make Uppercase (Ctrl+Shift+U)\Make Lowercase (Ctrl+U)" - convert all the characters of the highlighted text to uppercase/lowercase

    Added edit commands

  3. Added prohibition against adding files larger than 64 megabytes to MQL5.Storage.

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.software.corp/mt5/mt5setup.exe

19 April 2013

MetaTrader 5 Trading Terminal build 803: Full Display in Depth of Market and Dragging Expert Advisors from Code Base

Trading Terminal

  1. Added ability for "full" display in the Depth of Market - each price tick is displayed as a separate line in the Depth of Market.

    Added ability for full display in the Depth of Market

  2. Fixed an error that sometimes occurred in trailing stop operation.
  3. SL-TP levels for the order are automatically shifted when moving the order in the Depth of Market using drag'n'drop.
  4. Fixed display of Templates in the chart's context menu.
  5. Improved Code Base tab - now, MQL5 application can be added to the chart by dragging it from Code Base tab. Added the column with the name of an Expert Advisor and removed the column with publication dates.

    Improved Code Base tab - now, MQL5 application can be added to the chart by dragging it from Code Base tab

  6. Restored Trading tab in Market Watch window.
  7. Fixed deletion of an account in Navigator window in case of large login values.
  8. Fixed reset of the current bar in price history when working with exchange tools.
  9. Added logging of deals with trailing stops.

    Trading Signals

  10. Fixed an error in handling position closing signals when renaming trading symbols (EURUSD <=> EURUSD!).

MQL5

  1. Fixed making chart screenshots using ChartScreenShot function from custom indicators at OnCalculate entry point.
  2. Added ability to present binary data using b prefix:

    int val=b'101010'; // 42
  3. Added the timer event setting function specifying frequency in milliseconds EventSetMillisecondTimer - when using this function, OnTimer entry point can be called at more than once per second.

    This feature is designed for the cases when high-resolution timer is required. In other words, timer events should be received more frequently than once per second.

    The minimum interval of 1000 milliseconds is used in the strategy tester. In general, when the timer period is reduced, the testing time is increased, as the handler of timer events is called more often. When working in real-time mode, timer events are generated no more than 1 time in 10-16 milliseconds due to hardware limitations.

  4. Standard Library. Updated CPieChart and CChartCanvas classes for creating diagrams.

Strategy Tester

  1. Fixed history synchronization error during repeated optimization passes that sometimes led to mismatches in optimization results.
  2. Fixed an error that in some cases could lead to "freezing" of forward testing after optimization.
  3. Changed calculation of "Balance + max Profit Factor" optimization criterion. In case there is no calculated profit factor (no loss-making deals), the final balance is now used as the optimization criterion.
  4. Fixed an error that in some cases could lead to "freezing" of forward testing after optimization. In some cases, forward optimization could suddenly stop after the "large" genetic optimization.

MetaEditor

  1. Added ability to format the output of integers in the debugger: in binary form - using "b" modifier, in hexadecimal form - using "x" modifier.

    Added ability to format the output of integers in the debugger

  2. Added ability to show the values for the fields of structures and classes:

    Added ability to show the values for the fields of structures and classes

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.software.corp/mt5/mt5setup.exe

123456