MetaTrader 5 Platform Build 1240: Faster operation and embedded videos

What's new in MetaTrader 5

17 December 2015

Virtual Hosting

  1. Added a link to the tutorial video "How to Rent A Virtual Platform" into the Virtual Hosting Wizard dialog. Watch this two-minute video to learn how to easily launch a trading robot or copy signals 24/7.


    This video as well as many others is available on the official MetaQuotes Software Corp. YouTube channel.
  2. Fixed migration for hosting when a custom indicator is called or an EX5 library within a custom indicator is called from an Expert Advisor.

Terminal

  1. Accelerated update of the list of open orders and positions during high-frequency trading (50 and more operations per second).
  2. Optimized and greatly accelerated initial synchronization of the terminal with a trade server in case of a large amount of symbols (tens of thousands). Now, you can start working much faster after connection is established.
  3. Optimized and significantly reduced memory consumption by the terminal.
  4. Added saving and restoring the depth of market settings when closing/opening the terminal.
  5. Fixed artifacts that occurred in Windows 10 when dragging the terminal windows.
  6. Fixed the context help for a number of commands and dialogs. For activating help concerning a certain element, move the cursor on it and press F1.
  7. The works on adapting the interface for high resolution screens (4K) are underway.

MQL5

  1. Added the new properties for the OrderGetString, HistoryOrderGetString, and HistoryDealGetString functions responsible for receiving data on orders and deals:

    • ORDER_EXTERNAL_ID - order ID in an external trading system (on the exchange).
    • DEAL_EXTERNAL_ID - deal ID in an external trading system.

  2. Fixed the ZeroMemory function operation when working with structures and classes. Memory clearing was not performed in some cases.
  3. Added the error codes during the SendFTP function operation. The function sends the file to the address specified on the FTP tab of the Options window.

    • ERR_FTP_NOSERVER - FTP server is not specified in the settings
    • ERR_FTP_NOLOGIN - FTP login is not specified in the settings
    • ERR_FTP_FILE_ERROR - file does not exist
    • ERR_FTP_CONNECT_FAILED - failed to connect to the FTP server
    • ERR_FTP_CHANGEDIR - file upload directory not found on the FTP server
    • ERR_FTP_CLOSED - connection to the FTP server closed

  4. Fixed type casting access by inheritance between child class objects and their parents.
  5. Fixed a few errors in the class templates.
  6. Fixed requesting ticks using the CopyTicks function. When specifying the COPY_TICKS_TRADE parameter (copy only trade ticks) for consecutive identical trade ticks (identical volume and last price), only the first tick was passed.
  7. Fixed defining a size of a custom type variable.
  8. Fixed an error when using ZLib in the CryptDecode function that led to an infinite unzip loop.

Tester

  1. Fixed synchronization of the price history for a symbol different from the main test one.
  2. Fixed doubling of the TRADE_TRANSACTION_DEAL_ADD transaction (adding a trade to history) in the OnTradeTransaction event handler.
  3. Changed forward test behavior during genetic optimization. Now, all unique results obtained after genetic optimization participate in forward passes. Previously, only 1/4 of the results were used.

MetaEditor

  1. MetaEditor: Added a link to the tutorial video "How to Create a Trading Robot in the MQL5 Wizard" to the MQL5 Wizard. Watch this three-minute video and develop a trading robot without writing a single line of code.


    This video as well as many others is available on the official MetaQuotes Software Corp. YouTube channel.
  2. Fixed window arrangement commands if one of the windows is fully expanded. The Window menu allows you to arrange open files as tiles, vertically, horizontally and as a cascade.
  3. The works on adapting the interface for high resolution screens (4K) are underway.
Updated documentation.