MetaTrader 5 Platform Update Build 5320: Services in CodeBase and improved input operations in MQL5

What's new in MetaTrader 5

25 September 2025

Build 5320 is the last update to support Windows 7, Windows 8, Windows 8.1, and Windows Server 2008. Starting with the next version, desktop platforms running on these operating systems will no longer receive updates. The only exception is platforms running under Wine.

Terminal

  1. Added support for MQL5 Service programs in the CodeBase.

    Unlike Expert Advisors, indicators and scripts, services are not attached to a specific chart. They run in the background and start automatically when the terminal launches. With services, you can implement custom price data feeds for the platform, as well as perform a wide range of auxiliary tasks.

    These programs now have a dedicated category. Developers can share their codes in the CodeBase:


    Added support for MQL5 Service programs in the CodeBase


    Users can easily download them directly from the platform or MetaEditor. Once downloaded, the program is placed in the correct folder, compiled automatically, and ready to run:


    Download codes directly from the platform


  2. Fixed an issue where files from closed (removed) charts were moved to the wrong directory. Because of this, users could not restore such charts via the 'File \ Open Deleted' menu.
  3. Updated user interface translations.

MQL5

  1. Added support for new syntax for input parameters. You can now explicitly set a visible name to be displayed in the program properties. Previously, this was only possible through comments.

    Instead of the outdated syntax:
    input int InpVar;  /*visible name*/ // some comment
    Use the new format:
    input(name="visible name") int InpVar;  // some comment
    The visible variable name is defined in the 'name' parameter, which accepts string literals only.

    When the new input syntax is used, all comments following the variable declaration are ignored. The older syntax remains supported and is not deprecated. You may continue using it, and the compiler will not generate warnings.

  2. Fixed an error where the compiler could incorrectly produce the message "function must have a body".

MetaEditor

  • Fixed tooltips displayed when hovering over the value of a watched expression in the debugger.

Tester

  • Fixed an error when testing indicators. The process could fail to start if the indicator name matched a chart template name.

Web Terminal

  1. Added Romanian and Hebrew translations for the user interface; improved translations in the account connection window.
  2. Fixed the display of the objects menu in the mobile version.
  3. Fixed the display of minimum volume and volume step in contract specifications.