New MetaTrader 5 Platform Build 2450: "Subscriptions" service, UI improvements and revised features in MetaEditor

To add comments, please log in or register
MetaQuotes
Moderator
218618
MetaQuotes  

The MetaTrader 5 platform update will be released on Friday, May the 22nd, 2020.


The update only includes 64-bit platform components

We have previously announced the upcoming end-of-support for 32-bit components. From the current update and onward, new versions will only be released for the 64-bit platform. The latest available 32-bit terminal version is build 2360.

If you are still using 32-bit solutions, we recommend switching to 64-bit versions as soon as possible.


The new version features the following changes:


  1. Terminal: We have released the all-new Subscriptions service. Subscriptions offer additional services which can assist you in trading. For example, you can subscribe to high-quality market data from well-known providers, analyze received data and develop new trading strategies. Optionally, you can request personal manager services to help you in learning trading basics or in mastering your platform usage skills.

    The service is currently under development and will become available for use in the next versions.

    How it works
    A new Subscriptions section has been added in the Navigator. All available services are displayed under this section. The list of services is configured on the broker side and thus it depends on the server to which you are connected. Subscriptions are divided into categories for easy browsing.



    Select a service to view its detailed description. Next, click Subscribe. All your active subscriptions are displayed under a separate section.




    When you subscribe to market data, appropriate trading instruments become available for selection in Market Watch. They can be used as regular symbols: view quotes in Market Watch, open charts and analyze them using objects and indicators, as well as run Expert Advisors in the strategy tester. Trading operations for these symbols are not supported.

    How to pay for subscriptions
    You can pay for the services using your trading account funds. There is no need to visit other websites, as the payment can be performed directly from the platform.


    Soon, we will add the possibility to purchase market data subscriptions by connecting to MetaQuotes-Demo
    We plan to set up subscriptions to market data from various exchanges around the world. In just a few clicks, you will be able to receive real-time quotes from Nasdaq, CME, NYSE, BOVESPA and other exchanges. You will be able to pay for subscriptions using an MQL5.community account, similarly to Market, Signals and Hosting purchases.

  2. Terminal: Added new "Show ticker" option in chart settings. The option shows/hides the line containing the trading symbol name, the timeframe and a custom comment.




  3. Terminal: Added option "Show trading history" in terminal settings and in chart settings. The ability to display market entries and exits on charts was available in previous versions but it was managed from the "Toolbox \ History" section. The new option enables a more comfortable setting of history display. You can configure it for all charts at a time or set separately for desired charts.




    Furthermore, you can quickly enable the display of trading history and trading levels using the chart context menu:





  4. Terminal: Added new "Color on White" scheme in chart settings.



  5. Terminal: New commands have been added to position and order context menus, enabling quick opening of the relevant symbol's Market Depth and chart:





  6. Terminal: Added chart frame highlighting. This will help you to find the desired symbol chart when multiple charts are open in the terminal. Select a symbol in the Market Watch, an order or position line in the trading or history section, or an alert, and the frame of the appropriate symbol chart will blink three times.



  7. Terminal: Improved display of trading levels on the chart.

    • Tickets are no longer displayed for positions, orders and levels, in order to keep the chart clean
    • Captions appear in uppercase for better readability
    • Volumes are displayed without the fractional part if it is zero
    • Levels are hidden if the chart height is less than 80 pixels



  8. Added display of symbol description (if it is available) in the upper left chart corner, in addition to symbol name.






  9. New columns have been added in the list of open orders and positions:

    • Change — operation profitability percentage
    • Value — the market value of the position
    • Magic — the identifier of orders and positions opened by the Expert Advisor (magic number)

    The new columns can be shown/hidden using the context menu.


    Position value and magic columns have also been added to the trading history section.

    Furthermore, the profit field in the open positions and history sections is highlighted depending on the operation result.

  10. Terminal: Added support for negative prices. This enables proper platform operation in situations similar to the recent drop of oil prices below zero. This includes:

    • Display of quotes in Market Watch
    • Display of charts and Market Depth
    • Execution of trading operations
    • Calculation of profits and collateral

  11. Terminal: The maximum number of symbols which can be simultaneously enabled in Market Watch has been increased to 5000.
  12. Terminal: Fixed sorting in chats by the last update date.
  13. Terminal: Optimized and accelerated operation with a large number of trading symbols (50,000 and more).
  14. Terminal: Fixed a bug due to which it was impossible to close a position if its current volume did not correspond to the symbol's volume change step.
  15. MQL5: Optimized and accelerated operations with the tick history.
  16. MQL5: Added new functions for working with databases:

    • DatabaseReset — resets the request to the initial state, similar to DatabasePrepare call. The function is intended for multiple execution of a request with different parameter values. For example, when adding data to the table in bulk using the INSERT command, a custom set of field values should be formed for each entry.
    • DatabaseBind — sets a parameter value in a request. The function is used in case an SQL request contains "?" or "?N" parameterizable values where N means the parameter index (starting from one).
    • DatabaseBindArray — sets an array as a parameter value.

  17. MQL5: Added FSD_FILE_MUST_EXIST flag for the FileSelectDialog function. It indicates that the selected files must exist.
  18. MQL5: Values for describing options have been added to the ENUM_SYMBOL_INFO_DOUBLE enumeration:

    • SYMBOL_PRICE_CHANGE — change of the current price relative to the end of the previous trading day in %.
    • SYMBOL_PRICE_VOLATILITY — price volatility in %.
    • SYMBOL_PRICE_THEORETICAL — theoretical option price.
    • SYMBOL_PRICE_DELTA — option/warrant delta. Shows the value the option price changes by, when the underlying asset price changes by 1.
    • SYMBOL_PRICE_THETA — option/warrant theta. Number of points the option price is to lose every day due to a temporary breakup, i.e. when the expiration date approaches.
    • SYMBOL_PRICE_GAMMA — option/warrant gamma. Shows the change rate of delta — how quickly or slowly the option premium changes.
    • SYMBOL_PRICE_VEGA — option/warrant vega. Shows the number of points the option price changes by when the volatility changes by 1%.
    • SYMBOL_PRICE_RHO — option/warrant rho. Reflects the sensitivity of the theoretical option price to the interest rate changing by 1%.
    • SYMBOL_PRICE_OMEGA — option/warrant omega. Option elasticity — a relative percentage change of the option price by the percentage change of the underlying asset price.
    • SYMBOL_PRICE_SENSITIVITY — option/warrant sensitivity. Shows by how many points the price of the option's underlying asset should change so that the price of the option changes by one point.

  19. MQL5: Added export of BLOB fields in HEX format in the DatabaseExport function.
  20. MQL5: New CHART_SHOW_TICKER property has been added to ENUM_CHART_PROPERTY_INTEGER — showing a symbol ticker in the upper left corner. If CHART_SHOW_TICKER is set to false, CHART_SHOW_OHLC is also set to false and thus OHLC is hidden.   
  21. MQL5: The quality of code generated by the compiler has been improved. This enabled the increase of its execution speed.
  22. MQL5: Fixed errors related to the compilation and execution of template functions and classes. These are:

    • Priority mismatch error for overloaded template function calls
    • Template method/class generation error
    • Error caused by an attempt to access an internal class for a template parameter of a template function
    • Template class code generation error caused by the use of an internal class.
    • Error using the B<int> template object before B<void*>
    • Errors in the creation of complex objects having the internal type C and wrapped multiple times
    • Error transferring function pointer argument as const ref template
    • Error passing internal struct to a template function
    • Priority mismatch error for the execution of template functions
    • Incorrect parenthesis count in for and do-while loops
    • Incorrect parenthesis count in class structure description
    • Slowdown when adding one element at a time using ArrayResize
    • Error choosing a matching overloaded function

  23. MQL5: Fixed occasional errors in the CustomTicksReplace function.
  24. MQL5: Fixed selection of the display period for the history of trade orders. Now, the range is based on the order execution date instead of the previously used creation date.
  25. Python: The path parameter has been added to the initialize method — path to metatrader.exe or metatrader64.exe. If the path is not specified, the module attempts to find the executable file on its own.
  26. Python: The following new methods have been added:

    • symbols_get — receives all financial symbols from the MetaTrader 5 terminal.
    • symbols_total — obtains the number of all financial symbols in the MetaTrader 5 terminal.

  27. Python: Added filtering by symbol groups for the following functions: orders_get, positions_get, history_orders_get and history_deals_get. Use call forms with the "group" parameter.
  28. Python: The return value of order_send and order_check is now passed with the 'request' field containing the full description of the original request. For example:
    ...
    comment=Request executed
    request_id=55
    retcode_external=0
    request=TradeRequest(action=1, magic=234000, order=0, symbol='USDJPY', volume=0.1, price=108.018, stoplimit=0.0, ...
        traderequest: action=1
        traderequest: magic=234000
        traderequest: order=0
        traderequest: symbol=USDJPY
        traderequest: volume=0.1
        traderequest: price=108.018
        traderequest: stoplimit=0.0
    ...
  29. Python: When launched on a chart, Python scripts now receive the chart symbol and period (in minutes) as arguments.
    import sys
    
    chart_symbol='unknown'
    chart_tf=1
    
    if len(sys.argv) == 3:
        chart_symbol, chart_tf = sys.argv[1:3];
    
    print("Hello world from", chart_symbol, chart_tf)
    
    >> Hello world from T.NYSE 15
  30. MetaEditor: Added command "Add an existing folder". It enables a batch addition of all supported files from the selected directory into the project.



  31. MetaEditor: Expanded search and replace options.

    Added extended search features with partial regular expression support. Use \r, \n, \t to specify line feed and tab characters in search requests. Search and replace dialogs have been combined into a single multi-tab dialog.




    Added a separate tab for searching in programmer communities. These include MQL5.community, as well as GitHub, MSDN and Stack Overflow.


    Search results from external resources appear in the MetaEditor toolbox window:




    Furthermore, you can immediately download source files from GitHub. Files are downloaded into a separate subdirectory of the Projects folder, named in accordance with the GitHub project name.

    Search results can be additionally sorted by date.

  32. MetaEditor: Added possibility to quickly change font size in the code editing window. To change the font size, press Ctrl and scroll the mouse wheel.
  33. MetaEditor: Added possibility to import tables from CSV files to database tables. The following parameters can be set during import:

    • Table name in the database
    • Automatic or manual file encoding detection
    • Data separator type
    • Skipping of the specified number of lines at the beginning
    • Comment prefix
    • If the file has column names
    • How line breaks will be determined
    • Whether data should be added to a new table or to an existing one
    • What quotes to use for strings




  34. MetaEditor: Added quick commands for inserting time and color into the program source code. Select the desired values from the interactive calendar and the palette, and the editor will insert them in the appropriate format.





  35. MetaEditor: MQL4 support has been disabled, since only 64-bit code is generated now.
  36. MetaEditor: Fixed Class snippet operation.
  37. MetaEditor: Fixed support for absolute paths in projects.
  38. Updated documentation.


The new version will be available through the LiveUpdate system.

Arifin Arifin
13
Arifin Arifin  
Sergey Golubev:

good 👍😎
Daniel Weckhuyzen
202
Daniel Weckhuyzen  

Hi,

I don't see any new implementations and improvements of the backtester and optimiser.

I hope comissions and swaps will be implemented also.

Also optimising of parameters over all symbols in the market-watch should be a great thing to implement. 

I've seen in the backtester that there is a section where you can set the comissions, but until now it does not seem to work.

Thx for your reply,


Danny

Daniel Weckhuyzen
202
Daniel Weckhuyzen  

Hi,


I've downloaded beta build 2433 and now again I'm seeing " out of memory " problems. The previous beta version did not gave me this error.


Also the beta build 2434 gives me "critical runtime error 505 in OnTick function.

Keith Watford
Moderator
23291
Keith Watford  
Comments that do not relate to this topic, have been moved to "Off Topic Posts".
Jefferson Metha
3171
Jefferson Metha  
I am trying to subscribe to the Free services but noting is happening I dont even Have the My Subscription Option pop up
The Journal Tab returns no errors 


in the Terminal Tab showing Trade when I select ID it doesnt show it disapears instantly. 

could you please set up that in upcoming upgrades have option for removal of the Remaining 
Symbol Type, Volume, Price, SL TP Price 
that user has full option to Select what they want to See
Jean-Sebastien Laurent
4330
Jean-Sebastien Laurent  

Hi,

When the buttons of data subscription will be enabled ? 


thank you

Timothy Smith
10
Timothy Smith  

Hi,

Like the changes. 

When will TP and SL be added as fixed values in points or pips? 

This would be a big help.


Thanks,

Daniel Weckhuyzen
202
Daniel Weckhuyzen  

Hi, 

I've downloaded build 2450. Again I'm seeing memory problems.

I saw it allready appearing in the beta-versions, but these problems are remaining.

The only way to resolve the problems is doing a complete restart of my PC

Files:
William Roeder
21724
William Roeder  
Timothy Smith: When will TP and SL be added as fixed values in points or pips?
Neither, TP/SL are both prices.
12
To add comments, please log in or register