List of changes in MetaTrader 5 Client Terminal builds - page 14

 

MetaTrader 5 Client Terminal build 722

  1. Terminal: Added "Test" command to the context menu of MQL5 applications - enabling Strategy Tester with an MQL5 application selected for testing.


  2. Terminal: Fixed trailing stop operation for pending orders.
  3. Terminal: Fixed MQL5 Market product list update.
  4. Terminal: Added the percentage value of the last deal's price change relative to its previous value into the trading symbol's price statistics.
  5. Terminal: Fixed navigation through a chart in case of a specified fixation point.
  6. Terminal: Fixed the terminal operation in corporate networks having proxy servers.
  7. Signals: Added automatic conversion of EURUSD* type Forex trading symbols. If a signals source has positions at EURUSD! symbol, while a subscriber trades on EURUSD (or vice versa), the terminal will automatically detect the similarity of the trading symbols changing their names when copying the signal.
  8. Signals: Added display of active orders and signal positions in the signal's description.




  9. Signals: Added the dialog of consent to synchronize positions on a subscriber's account with signal's ones in case of a positive floating profit on a signal provider's account:



    By default, synchronization is allowed only if the floating profit on the provider's account is not positive. This ensures that the signal subscriber can enter the market at a price that is not worse than the provider's one during synchronization of positions. Thus, the appropriate dialog window is shown before synchronization where traders can enable forced synchronization of positions with the signal, despite the positive floating profit.

  10. Signals: Added the dialog of automatic closing of positions and orders on a subscriber's account before synchronizing with signal provider's positions and orders:




    Before synchronization, subscribers should close positions and remove orders opened manually or based on another signal. If open positions or pending orders unrelated to the provider's signals are detected, the client terminal will offer to remove all pending orders and close all positions automatically at the current price. However, traders can perform all necessary actions manually.

  11. MQL5: Added support of template functions and methods.

    Templates can be compared with a macro (#define) representing an entire function instead of an expression. A template is inserted into the code in case the template function is called based on this call's parameters.
    A separate function (with its own static variables) is added by the compiler for each of the existing sets of the template function call's parameters present in the code.

    Example of the template function for calculation of the array's highest value:
    template<typename T>                       // Template parameters separated by commas are specified in < >. Their number should not exceed 8.
    T ArrayMax(const T &data[],const T defval) // Only type can be used as the parameter
      {
       T    result=defval;
       uint size  =ArraySize(data);
    //---
       for(uint i=0;i<size;i++)
         {
          if(result<data[i])
            {
             result=data[i];
            }
         }
    //---
       return(result);
      }

    Keep in mind that automatic reduction of parameters is not allowed when a template function is called. The parameter type should be clearly defined. For example, when calling ArrayMax function for char type array and CHAR_MIN as defval, the second parameter's type should be clearly defined as char:

    char a[];
       
       Print(ArrayMax(a,CHAR_MIN));       // error, unable to apply the template, as T can be either char, or int
       Print(ArrayMax(a,(char)CHAR_MIN)); // there is no error, as T template parameter can be only char

    Number of template parameters cannot exceed 8. Insertion of templates into the code is performed only by call parameters, evident template typification is not performed.
    Example of evident typification:

    Print(ArrayMax<char>(a,CHAR_MIN));  // Evident template typification is not available yet!

  12. MQL5: Enhanced integer properties received by CLGetInfoInteger function:

    • CL_DEVICE_VENDOR_ID  - OpenCL device vendor ID
    • CL_DEVICE_MAX_COMPUTE_UNITS  - number of OpenCL device computational units
    • CL_DEVICE_MAX_CLOCK_FREQUENCY - frequency of OpenCL device computational units
    • CL_DEVICE_GLOBAL_MEM_SIZE - size of the global memory of OpenCL device
    • CL_DEVICE_LOCAL_MEM_SIZE - size of the local memory of OpenCL device

  13. MQL5: Added CLGetInfoString returning the following OpenCL properties:

    • CL_PLATFORM_PROFILE - OpenCL platform profile type
    • CL_PLATFORM_VERSION - OpenCL platform version
    • CL_PLATFORM_NAME - OpenCL platform name
    • CL_PLATFORM_VENDOR - OpenCL platform vendor name
    • CL_PLATFORM_EXTENSIONS - OpenCL platform possibilities (extensions)
    • CL_DEVICE_NAME - OpenCL device name
    • CL_DEVICE_VENDOR - OpenCL device vendor name
    • CL_DRIVER_VERSION - OpenCL device driver version
    • CL_DEVICE_PROFILE - OpenCL device profile type
    • CL_DEVICE_VERSION - OpenCL device version
    • CL_DEVICE_EXTENSIONS  - OpenCL device possibilities (extensions)
    • CL_DEVICE_OPENCL_C_VERSION - supported version of OpenCL compiler

  14. MQL5: Added CLExecute overload function allowing users to specify dimensions of OpenCL local space of tasks.
  15. MQL5: Fixed ArrayFill function operation.
  16. MQL5: Removed warning when using an uninitialized variable in sizeof() function.
  17. MQL5: Improved  __FUNCSIG__ macro - added notification of the fact that parameters are arrays, as well as of their constancy.
  18. MQL5: Standard Library. Fixed CCanvas::FillRectangle method.
  19. MQL5: Standard Library. The classes for working with files are transformed using template methods.
  20. MQL5: Standard Library. Added support of operator [] in CArray* dynamic array classes.
  21. MQL5: Standard Library. Enhanced CCheckGroup class methods - "checkbox group" control element.
  22. MQL5: Standard Library. Added CIndicator::BarsCalculated method.
  23. MetaTester: Added the tester's compatibility with Wine.
  24. MetaTester: Added additional checks for disk errors during the tests.
  25. MetaTester: Fixed generation of week bars for trading symbols with a quote session on Sundays.
  26. MetaTester: Fixed generation of week and month bars - the bar time has sometimes been set incorrectly.
  27. MetaTester: Cloud agent having less than 100 megabytes of available disk space cannot execute the tasks.
  28. MetaTester: Removed log messages on charging commission during optimization.
  29. MetaTester: Fixed settings dialog behavior when testing an indicator.
  30. MetaTester: Fixed optimization chart display in case of a large number of passes.
  31. MetaEditor: Added support of template functions and methods in MetaAssist.
  32. Fixed errors reported in crash logs.
  33. Updated documentation.

The update is available through the LiveUpdate system.

 


MetaTrader 5 Client Terminal build 730

  1. Terminal: Fixed connection to MQL5.community in case of extra spaces in account login.
  2. Terminal: Added chart vertical positioning using Up and Down keys in case of a fixed scale.
  3. Signals: Changed signal list display. The signals installed on the server of the broker, to which the terminal corresponds, are now displayed by default. In case of the signals' absence, the ones installed on MetaQuotes demo server are displayed. Select "Full Signal List" in the signals context menu to see the complete signal list.



  4. Signals: Added limitation on subscription to trading signals. Subscription to signals with leverage exceeding 1:100 is not permitted. This has been done to prevent users from subscribing to unreasonably risky strategies.
  5. Signals: Fixed automatic transformation of EURUSD* type Forex trading symbols. If a signals source has positions at EURUSD! symbol, while a subscriber trades on EURUSD (or vice versa), the terminal will automatically detect the similarity of the trading symbols changing their names when copying the signal.
  6. Signals: Fixed the warning dialog about the automatic synchronization of positions with a trading signal in case of several re-synchronizations within one working session of the terminal.
  7. MQL5: Fixed an error causing the inability to create an indicator using IndicatorCreate function.
  8. MQL5: Added support for storing indicators in EX5 resources. In this case, the indicators in the resources will not be able to work with their own resources.
  9. MQL5: Fixed zero suppression when re-entering numeric parameters of MQL5 programs.
  10. MQL5: Standard Library. Fixed CExpertMoney::CheckOpenShort method for short position's volume calculation.
  11. MetaTester: Fixed freezing when working in Wine (Linux and Mac).
  12. MetaTester: Fixed test report display when working in Wine (Linux and Mac).
  13. MetaEditor: Fixed restoring the input focus in a document after using MetaAssist with subsequent closing of the dialogs.
  14. Fixed errors reported in crash logs.
  15. Updated documentation.
The update is available through the LiveUpdate system.
 


MetaTrader 5 Client Terminal build 742

  1. Terminal: Sped up initial downloading and repacking of price history from trading server.
  2. Terminal: Fixed displaying of scrollbars and tooltips when working under Wine (Linux and Mac).
  3. Terminal: Permission to use "One-click trading" is now stored separately for each trading account, not for the entire terminal.
  4. Terminal: Fixed handling of alerts in form of Push messages. Now, description of alert is filled out automatically on sending.
  5. Terminal: Fixed and optimized the operation of MQL5.com services when working via proxy servers.
  6. Terminal: Added translation of online help into Bulgarian. Updated translations of user interface into other languages.
  7. Signals: Added filtering by signal age and by type of signal source account in the signals showcase. Added color highlighting of signals by type of signal source account:
    • Yellow - real account
    • Green - demo account
    • Blue - contest account


    Also added the command for quick search of a description of the signal the account is subscribed to  - "My Subscription".


  8. Signals: Added subscription renewal feature. Expanded information about the current subscription.





  9. Signals: Increased the maximum leverage for the sources of trading signals available for subscription - from 1:100 up to 1:500.
  10. Signals: Modified behavior for received requotes and other errors when synchronizing positions and executing signals. When requote is received, a retry of trading operation is performed with an increased allowed slippage (0.5 of current spread for the instrument).
  11. Signals: Added warning in terminal journal log if there is a mismatch of lot increment, minimum and maximum allowed lot values ​​in instruments of signal's source and subscriber.
  12. Signals: Fixed copying of signals when working with instruments with partial execution.
  13. Signals: Added sending of Push notifications on the terminal's initial synchronization with a trading signal and on trading operations performed by the terminal when copying the signal.
  14. Signals: Fixed an error that did not show the signals list if MQL5.community account was not specified.
  15. Signals: Fixed an error that in some cases could lead to the absence of "Signals" tab.
  16. Market: Fixed search error that allowed searching in products not available for purchase.
  17. MQL5: Added new function ArrayCompare:

    int ArrayCompare(const void &src1[],const void &src2[],uint start1=0,uint start2=0,uint count=WHOLE_ARRAY);

    Compared are arrays of simple types or custom structures without complex objects (strings, dynamic arrays, classes or other structures with complex objects). This function works only with arrays of the same type src1 and src2. When src1 is of type char and src2 is of type uchar, the error 302 "type mismatch" will occur.

  18. MQL5: Added the CHART_IS_OBJECT chart property (for the ChartGetInteger function) - it indicates that a chart is the "Chart" graphic object.
  19. MQL5: Added the CHART_MOUSE_SCROLL chart property (for the ChartGetInteger and ChartSetInteger functions) - it enables/disables scrolling of chart using a mouse. This property can be used when implementing graphical user interface in MQL5 programs.
  20. MQL5: Fixed an error that in some cases led to a stack overflow during MQL5 programs execution.
  21. MQL5: Changed OpenCL benchmark system: when OpenCL device(s) configuration is changed (including at the first run), terminal runs a test that determines device(s) performance and stores information in the registry.

    To automatically select the most efficient device, call the function of creating OpenCL context and specify CL_USE_ANY as the device number.

  22. MQL5: Fixed the 'invalid EX5' message when using template functions.
  23. MetaTester: Results of main optimization and forward optimization are now displayed on different tabs of tester window. This allows an easier navigation in results of forward optimization.


  24. MetaTester: MQL5 Cloud Network. Extended set of runtime error messages. This allows a better understanding of what caused the program failure.
  25. MetaTester: MQL5 Cloud Network. Increased amount of program execution statistics for more efficient tasks allocation.

  26. MetaTester: Added ability to load custom indicators "on demand" for cases when it is impossible to determine if some indicators have to be used with the #property test_indicator <indicator_name> or iCustom(<indicator_name>...) instructions.

  27. MetaTester: Forward testing settings can now be applied to a single test pass.
    Obtained two sets of results - from start date up to forward date and from forward date up to end date (instead of one set of results from start date up to end date) - accurately repeat the appropriate lines in optimization results with the enabled forward period. This feature is not yet provided in visualization mode.

  28. MetaTester: Fixed accounting of results when optimizing by the "Balance + min Drawdown" criterion.
  29. MetaEditor: Fixed hotkeys behavior in active MetaAssist windows.
  30. MetaEditor: Improved MetaAssist behavior with MQL5 programs properties (#property).
  31. MetaEditor: Modified displaying of char type variables in debugger. If value corresponds to a printable character, this character is also displayed.


  32. MetaEditor: Fixed displaying of sinput variables in debugger.
  33. MetaEditor: MetaAssist now displays properties and methods of objects that have referencing by index in arrays.
  34. MetaEditor: Added commands to navigate between previously opened documents - Navigate Forward and Navigate Backward:


  35. Fixed errors reported in crash logs.
  36. Updated documentation.

The update is available through the LiveUpdate system.

 


MetaTrader 5 Client Terminal build 756

  1. Terminal: Chart scale is now multiple of the symbol's tick size for the trading symbols having fixed tick size (futures and CFDs).




  2. Terminal: Fixed display of the client's deposit currency in Exposure tab.
  3. Terminal: Added support of the trading symbols accurate to 8 decimal places.
  4. Terminal: Fixed trading dialog behavior when selecting a symbol, for which trading is disabled.
  5. Terminal: Added display of allowed order types, execution and expiration modes to the information about a trading symbol.




  6. Terminal: Fixed an error leading to the ability to use a mouse for moving the graphical objects invisible to the current time frame.
  7. Signals: Added visualization of signal's trading history on the terminal's charts:




    After clicking "Visualize", the client terminal automatically downloads the signal's trading history, opens appropriate charts and displays signal's deals as graphical objects in the same way as it is done for the trading account's history of the client terminal.

  8. Signals: Fixed and improved display of charts in the information about the signal. Charts now have the look similar to the one on MQL5.com. The trend line has also been added.



  9. Signals: Changed the algorithm for calculation of the copied deal's volume in case a Signal Source and a Subscriber have different leverages:

    Current algorithm: A deal volume is changed in direct ratio to the correlation of a Signal Source's leverage with a Subscriber's one. It means that if a Signal Source having a leverage of 1:100 opens a deal of 1 lot, a Subscriber having a leverage of 1:500 will open a deal of 5 lots in case of 100% copying and a deposit matching by size and currency. A subscriber having a leverage of 1:10 will open a deal of 0.1 lots in similar conditions.

    New algorithm: If subscriber's leverage exceeds the one of the Signal Source, it does not affect a volume of a copied deal. Otherwise, the deal volume is changed in direct ratio to the correlation of a Signal Source's leverage with a Subscriber's one.
    It means that if a Signal Source having a leverage of 1:100 opens a deal of 1 lot, a Subscriber having a leverage of 1:500 will open a deal of 1 lot in case of 100% copying and a deposit matching by size and currency. A subscriber having a leverage of 1:10 will open a deal of 0.1 lots in similar conditions.

  10. Signals: Fixed sorting of the signal list by the average profit. 
  11. Signals: Fixed information about a signal when working under Wine (Linux and Mac).
  12. Signals: Fixed deposit currency conversion when subscribing to the signal with a deposit currency different from the Subscriber's one.
  13. Market: Fixed errors in shortcuts of MQL5 Market applications and screenshots.
  14. MQL5: Added TextOut, TextSetFont and TextGetSize functions:

    TextOut function transfers the text to the custom array (buffer) and returns the operation result. This array is designed for creation of a graphical resource.
    bool  TextOut(
       const string       text,          // displayed text
       int                x,             // X coordinate 
       int                y,             // Y coordinate 
       uint               anchor,        // anchor type
       uint               &data[],       // output buffer
       uint               width,         // buffer width in pixels
       uint               height,        // buffer height in pixels
       uint               color,         // text color
       ENUM_COLOR_FORMAT  color_format   // color format for output
       );

    TextSetFont function sets the font for displaying the text using drawing methods and returns the operation result.
    bool  TextSetFont(
       const string  name,            // font name or path to font file on the disk
       uint          size,            // font size
       uint          flags,           // combination of flags
       int           orientation=0    // text slope angle
       );
    TextGetSize function returns the line width and height at the current font settings.
    bool  TextGetSize(
       const string       text,          // text string
       uint&               width,        // buffer width in pixels
       uint&               height        // buffer height in pixels
       );

  15. MQL5: Fixed loading the libraries using OpenCL.
  16. MQL5: Fixed operation of CopyRates function when requesting the data exceeding the limitation of the terminal settings - the error is returned instantly instead of waiting for server call results.
  17. MQL5: Fixed analysis of indicator_color property of a custom indicator.
  18. MQL5: Standard Library. Added methods for working with text and fonts in CCanvas class.
  19. MQL5: Standard Library. Added methods for working with CHART_IS_OBJECT and CHART_MOUSE_SCROLL chart properties in CCanvas.CChart class.
  20. MetaTester: Fixed defining the number of optimization steps which led to untimely optimization stop.
  21. MetaTester: Fixed support of hot keys when working with a chart in test visualization mode.
  22. MetaTester: Improved processing of test errors, increased the number of error messages saved in the tester log.
  23. MetaTester: Fixed order list update in test visualization mode.
  24. MetaEditor: Fixed display of special characters in file names in open document tab headings.
  25. Fixed errors reported in crash logs.
  26. Updated documentation.

The update is available through the LiveUpdate system.

 

MetaTrader 5 Client Terminal build 773

  1. Terminal: Added one click trading panel:



    To show/hide one click trading panel, use the icon in the upper left corner or a context menu command.

  2. Terminal: Added automatic display of trading transactions on charts:






  3. Terminal: Fixed calculation of statistics in trading and tester reports.
  4. Terminal: Added translation of the user interface into Romanian.
  5. Signals: Added command for refreshing the list of available signals in the signals showcase:



  6. Signals: Optimized download of available trading signals' database.
  7. Signals: Improved matching of Forex symbols like EURUSDx when using a signal - transformations of the form EURUSDx => EURUSDy are now supported.
  8. Signals: Fixed drawing minicharts in the showcase of signals.
  9. MQL5: Fixed text binding by anchor parameter in TextOut function.
  10. MQL5: Fixed calling virtual functions during recursion.
  11. MQL5: Added CHART_DRAG_TRADE_LEVELS chart property (available via ChartGetInteger and ChartSetInteger functions) - enabling/disabling modification of orders by dragging trading levels with the mouse.
  12. MQL5: Fixed a compiler error in case a class does not have a constructor body. 
  13. MQL5: Changed TextSetFont function behavior - now, size parameter specifies the number of deciles of a font size. For example, if the value of 12 has been previously used as a size, it will be necessary to specify 120 now. Improved fonts display.
  14. MQL5: Standard Library. Fixed setting default order expiration type in CTrade class when trading futures.
  15. MQL5: Standard Library. Added TextSize method to CCanvas class - receiving the size of a specified string in pixels.
  16. MQL5: Standard Library. Parametrized CreateBitmap and CreateBitmapLabel methods are added to CCanvas class - creating Bitmap and BitmapLabel graphical objects.
  17. MQL5: Standard Library. Fixed errors in closing the panel in CAppDialog class.
  18. MetaTester: Added processing OnTimer event when handling optimization result frames. Added MQL5_FRAME_MODE value to ENUM_MQL5_INFO_INTEGER enumeration in order to define the period when an Expert Advisor operates in the mode of gathering optimization result frames. This is necessary for the proper operation of OnChartEvent and OnTimer event handlers' functions.
  19. MetaTester: Added prohibition for using testing agents working on virtual OS in MQL5.Cloud.
  20. MetaEditor: Fixed MetaAssist freezing when working with large source files.
  21. Fixed errors reported in crash logs.
  22. Updated documentation.

The update is available through the LiveUpdate system.

 

MetaTrader 5 Client Terminal build 778: New MQL5 Profiler

  1. Terminal: Fixed drawing One-Click Trading panel on a chart when working in Wine (for Linux, Mac).
  2. Terminal: Fixed freezing when saving a chart screenshot during debugging of MQL5 applications.
  3. Terminal: Fixed calculation of the distance to the lines for indicators with Zigzag drawing style.
  4. Terminal: Fixed an error causing the inability to launch external scripts for the terminal events:




  5. Signals: Fixed behavior when synchronizing trading positions of a Signals Provider and a Subscriber in case a Subscriber has no active trading session for a symbol of one of the positions. Now, such a situation does not interrupt further synchronization, while the position in question is not synchronized till the next synchronization attempt.
  6. Signals: Fixed drawing labels on the charts used in the information about a signal.
  7. MQL5: Added publication of CHARTEVENT_CHART_CHANGE event when changing the chart type (CHART_MODE property of ChartGetInteger function).
  8. MQL5: Fixed drawing Bitmap Label graphical object when installing the object from MQL5 application.
  9. MQL5: Fixed OpenCL download error messages in case OpenCL is not supported.
  10. MQL5: Fixed conversion of a string array element to the built-in enumeration.
  11. MQL5: Fixed template typification using enumeration.
  12. MQL5: Optimized working with fonts in MQL5 applications.
  13. MQL5: Fixed an error in IndicatorRelease function leading to a memory leak when releasing the indicators inherited from the built-in ones.
  14. MQL5: Standard Library. Added new control element class - CDatePickerCtrl (MQL5\Include\Controls\DatePicker.mqh) - control element for entering the date.
  15. MQL5: Standard Library. Fixed filling order execution types in CTrade class (MQL5\Include\Trade\Trade.mqh) when working with symbols.
  16. MetaTester: Fixed display of the agent management dialog when using large system fonts.
  17. MetaTester: Fixed IndicatorRelease function call leading to a memory leak.
  18. MetaEditor: Improved visualization of the profiler's operation. Now, profiling data is displayed right in the source code.



  19. MetaEditor: Fixed an error in the profiler's operation leading to deterioration of profiling results.
  20. MetaEditor: Fixed an error when reverting changes in binary files when working with MQL5.Storage.
  21. Fixed errors reported in crash logs.
  22. Updated documentation.

The update is available through the LiveUpdate system.

 

MetaTrader 5 Client Terminal build 787: Added Ability to Receive Milliseconds in Trade Operations

  1. Terminal: One click trading panel is not displayed for non-trading symbols and when an investor account is used.
  2. Terminal: Fixed one click trading panel on a chart when working in Wine (for Linux, Mac).
  3. Terminal: Fixed drawing indicators having DRAW_FILLING drawing style.
  4. Signals: Added detailed warning of different trading symbol settings at Signal Source and Subscriber's sides to the signal subscription dialog. This reduces the probability of subscribing to a signal, which is incompatible with Subscriber's trading account.




  5. MQL5: Expanded ENUM_ORDER_STATE enumeration - states of trading orders. Added ORDER_STATE_REQUEST_ADD, ORDER_STATE_REQUEST_MODIFY and ORDER_STATE_REQUEST_CANCEL values.
  6. MQL5: Added new position properties (ENUM_POSITION_PROPERTY_INTEGER enumeration):

    • POSITION_TIME_MSC - position placing time in milliseconds since 00:00:00 01.01.1970
    • POSITION_TIME_UPDATE - position changing time in seconds since 00:00:00 01.01.1970
    • POSITION_TIME_UPDATE_MSC - position changing time in milliseconds since 00:00:00 01.01.1970

    Added CPositionInfo::TimeMsc, CPositionInfo::TimeUpdate and CPositionInfo::TimeUpdateMsc properties to Standard Library.

  7. MQL5: Added new order properties (ENUM_ORDER_PROPERTY_INTEGER enumeration):

    • ORDER_TIME_SETUP_MSC - order placing time in milliseconds since 00:00:00 01.01.1970
    • ORDER_TIME_DONE_MSC - order execution time in milliseconds since 00:00:00 01.01.1970

    Added COrderInfo::TimeSetupMsc, COrderInfo::TimeDoneMsc, CHistoryOrderInfo::TimeSetupMsc and CHistoryOrderInfo::TimeDoneMsc properties to Standard Library.

  8. MQL5: Added a new deal property (ENUM_DEAL_PROPERTY_INTEGER enumeration):

    • DEAL_TIME_MSC - the time of a deal execution in milliseconds since 00:00:00 01.01.1970

    Added CDealInfo::TimeMsc property to Standard Library.

  9. MQL5: Fixed placing market trade requests from MQL5 applications for symbols having Instant Execution type and an exceeded threshold, after which the execution type changes to Request Execution.
  10. MQL5: Fixed an error preventing OnTradeTransaction event from being called at custom indicators.
  11. MQL5: Standard Library. Fixed looping when using methods of working with directories in CFile class.
  12. MQL5: Standard Library. Fixed errors in Resize and Reserve methods for CArray* dynamic array classes.
  13. MQL5: Standard Library. Fixed behavior of scrollbars and drop-down lists when using them in control elements (MQL5\Include\Controls).
  14. MQL5: Standard Library. Fixed specifying pending order expiration time when using CTrade::OrderOpen method.
  15. MetaTester: Added free disk space control when a testing agent works with MQL5.Cloud Network - if at least 500 MB of free disk space is absent, connection to MQL5.Cloud Network is not performed.
  16. MetaTester: Fixed unnecessary reexecution of tasks when calculating genetic optimization for purely mathematical tasks.
  17. MetaEditor: Added Navigate Forward/Navigate Backward commands to the tool bar and menu.




  18. MetaEditor: Added MQL5.Storage automatic activation - activation command is displayed in Navigator's context menu in case MQL5 account login and password are absent and MQL5.Storage base is empty:



  19. Fixed errors reported in crash logs.
  20. Updated documentation.

The update is available through the LiveUpdate system.

 

MetaTrader 5 Client Terminal build 794: Scalper Depth of Market and New Tools for One-Click Trading

  1. Terminal: Revised one-click trading system:

    • When One-Click Trading mode is enabled, the trading dialog is closed right after a successful operation. In case of an error, the dialog displays its cause.


    • When One-Click Trading mode is enabled, Close Position command in the position's context menu results in an immediate closing of the position without showing the trading dialog. Added ability to remove SL-TP in one click in the list of open orders and positions.


    • Added the context menu for trading levels on the chart. The menu allows managing the level right from the chart.


    • When One-Click Trading mode is enabled, dragging trading levels of orders and positions results in an immediate modification of the appropriate order or stop level without showing the trading dialog.

    • A double click on the trading level displays order or position modification dialog.

    • Revised the context menu of trading from the chart, limit orders are now set in the main menu, added ability to set alerts right from the chart.


    • Removed Trading tab from Market Watch window. Now, any trade operations can be performed right on the chart.

  2. Terminal: Replaced conventional Depth of Market with the scalper one focused on the minimum time for performing a trade operation. When One-Click Trading mode is enabled, all trade operations are executed immediately without showing a trading dialog:


    • SL and TP levels are specified in points.
    • Close button closes the current position.
    • A limit order is placed by pressing the market entry button at the appropriate level.
    • A limit or stop order is removed by pressing the appropriate button while holding Shift key.
    • Order or stop price can be changed by simply dragging an order to a new level.
    • When dragging a pending order via the level of best prices, the order automatically changes its type from Limit to Stop and vice versa.
    • Market order is placed by pressing Buy or Sell buttons.

  3. Terminal: Fixed an error when changing a vertical scale for symbols with a specified tick size on a chart.

  4. Terminal: Added a tab displaying brokerage company's technical support web site.


  5. Terminal: Changed scaling algorithm in trading dialog's tick chart - now, the scale is chosen so that the levels of a trading order and stops are displayed on the chart.

  6. Terminal: Fixed Navigator window's multiple update when compiling the directory in MetaEditor.

  7. Terminal: Fixed an error leading to changing of the value in the order price field when switching between different modes of modification and setting a new order in the trading dialog.

  8. Signals: Added insufficient funds warning message when trying to subscribe to paid signals.


  9. Market: Added ability to download free applications from MQL5 Market without registering on MQL5.

  10. MQL5: Added new return codes when performing trading operations:

    • TRADE_RETCODE_INVALID_ORDER - placed order has forbidden or incorrect type.
    • TRADE_RETCODE_POSITION_CLOSED - operation with the position is impossible, as the position is absent.


    Implemented changes to CTrade class of the Standard Library.

  11. MQL5: Added new values to ENUM_BOOK_TYPE enumeration: BOOK_TYPE_SELL_MARKET and BOOK_TYPE_BUY_MARKET - requests to sell and buy at market price, respectively.
  12. MQL5: SendFTP function operation now does not depend on the fact if publication of FTP reports in the terminal settings is allowed.
  13. MQL5: Fixed an error when working with alpha channel for images from the resources that led to the loss of transparency.
  14. MQL5: Fixed an error leading to the crashes of MQL5 applications when working in 64-bit Wine (for Linux, Mac).
  15. MQL5: Fixed passing the cause of deinitialization in OnDeinit entry point parameter for custom indicators.
  16. MQL5: Fixed debugging point's operation when exiting the function.
  17. MQL5: Standard Library. Added drawing Ellipse, Arc and Pie graphical primitives and their versions with filling to CCanvas class.
  18. MQL5: Standard Library. Fixed display of the calendar in Date Picker control element (MQL5\Include\Controls\DatePicker.mqh).
  19. MQL5: Standard Library. Fixed display of a drop-down list in Date Picker and Combo Box control elements.
  20. MQL5: Standard Library. Added diagram classes:

    • CPieChart (MQL5\Include\Canvas\Charts\PieChart.mqh) - pie chart.
    • CHistogramChart (MQL5\Include\Canvas\Charts\HistogramChart.mqh) - histogram.
    • CLineChart (MQL5\Include\Canvas\Charts\LineChart.mqh) - line chart.


    Examples of using the classes are added to MQL5\Scripts\Examples\Canvas\Charts.

  21. MetaTester: Fixed crashes when working with charts in visual testing mode in case multicurrency Expert Advisors are tested.
  22. MetaTester: Fixed display of a basic chart during the visual testing of multicurrency Expert Advisors.
  23. MetaTester: Fixed the launch of visual testing when working in 64-bit Wine (for Linux, Mac).
  24. MetaTester: Fixed generation of ticks and trading exchange symbols.
  25. MetaEditor: Fixed errors occurred when working with joint projects via MQL5 Storage.
  26. MetaEditor: Fixed debugging and profiling of files from projects directory.
  27. Fixed errors reported in crash logs.
  28. Updated documentation.

The update is available via the LiveUpdate system.

 

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

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



  2. Terminal: Fixed an error that sometimes occurred in trailing stop operation.
  3. Terminal: SL-TP levels for the order are automatically shifted when moving the order in the Depth of Market using drag'n'drop.
  4. Terminal: Fixed display of Templates in the chart's context menu.
  5. Terminal: 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.




  6. Terminal: Restored Trading tab in Market Watch window.
  7. Terminal: Fixed deletion of an account in Navigator window in case of large login values.
  8. Terminal: Fixed reset of the current bar in price history when working with exchange tools.
  9. Terminal: Added logging of deals with trailing stops.
  10. Signals: Fixed an error in handling position closing signals when renaming trading symbols (EURUSD <=> EURUSD!).
  11. MQL5: Fixed making chart screenshots using ChartScreenShot function from custom indicators at OnCalculate entry point.
  12. Added ability to present binary data using b prefix:

    int val=B'101010'; // 42

  13. MQL5: 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.

  14. MQL5: Standard Library. Updated CPieChart and CChartCanvas classes for creating diagrams.
  15. MetaTester: Fixed history synchronization error during repeated optimization passes that sometimes led to mismatches in optimization results.
  16. MetaTester: Fixed an error that in some cases could lead to "freezing" of forward testing after optimization.
  17. MetaTester: 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.
  18. MetaTester: 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.
  19. MetaEditor: Added ability to format the output of integers in the debugger: in binary form - using "b" modifier, in hexadecimal form - using "x" modifier.




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



  21. Fixed errors reported in crash logs.
  22. Updated documentation.
The update is available via the LiveUpdate system.
 

Preliminary Announcement of the MetaTrader 5 Updates: Updated Signals Window and Fast Signal Registration

Over the next few days, we will release the MetaTrader 5 update build 816. After the release of the update, we will publish an additional news containing the full list of changes and the build number.

  1. Terminal: 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.




  2. Terminal: 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. Terminal: 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. Terminal: 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.




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




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



  20. Signals: 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.




  21. Signals: 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.
  22. MQL5: Now, CHARTEVENT_CHART_CHANGE event is generated when the chart's vertical scale is changed.
  23. MQL5: 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.
  24. MQL5: 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.
  25. MQL5: Fixed compilation of an application having a large number of resource files (more than 256).
  26. MQL5: Standard Library. Added diagram generation mode - "with accumulation" - CChartCanvas::Accumulative() property.
  27. MQL5: Standard Library. Added control of the allowed order and order expiration types before placing trading orders in CTrade class.
  28. Market: 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.




  29. MetaTester: Fixed an error in caching trading history that could sometimes lead to receiving incorrect deal properties.
  30. MetaTester: In the visual testing mode, fixed indicator chart display in a separate subwindow in case this indicator has been generated based on another one.
  31. MetaTester: Added permission for placing SL and TP from MQL5 applications in Exchange and Market Execution modes during testing and optimization.
  32. MetaTester: Fixed an error during re-optimization in All symbols optimization mode.
  33. MetaTester: Fixed handling expiration of pending orders with Specified day mode.
  34. MetaTester: All properties (ChartGetDouble, ChartGetInteger functions) of the main chart are now displayed during the visual testing, except Window Handle value.
  35. MetaTester: 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.
  36. MetaEditor: Added ability to change window size in the debugger.




  37. MetaEditor: 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.


  38. MetaEditor: Added prohibition against adding files larger than 64 megabytes to MQL5.Storage.
  39. Fixed errors reported in crash logs.
  40. Updated documentation.
Reason: