New MetaTrader 5 Platform Version Build 5640: Dark Theme Improvements and Markdown Support in MetaEditor

Improved dark theme across all components: the trading terminal, MetaEditor, and the Strategy Tester

20 February 2026

Terminal

  1. Improved dark theme across all components: the trading terminal, MetaEditor, and the Strategy Tester. The overall background color, as well as tab and scrollbar colors, have been updated to improve usability and visual comfort.


    Improved dark theme


  2. Terminal: Fixed an issue that could interrupt the download and synchronization of tick history under certain conditions.
  3. Terminal: Updated fundamental data for trading instruments. The list of supported symbols has been expanded and missing data has been added.


    Updated fundamental data


  4. Added Kurdish interface translation.
  5. Fixed rendering of the "Edit Field" graphical object.
  6. Fixed rendering of the "Trend Line" object. In some cases, the object was not displayed if its anchor point was located outside the visible range of chart bars.
  7. Fixed deletion of custom symbol groups.

MQL5

  1. Added the Color2PRGB function. It converts the color type to uint to obtain the PRGB color representation. The PRGB format is used when creating graphical resources, outputting text, and in the CCanvas class of the Standard Library.
  2. Added the NormalizeDouble method for vectors and matrices. It works similarly to the standard method for double values. For complex numbers, the real and imaginary parts are normalized separately. This method is useful when price data is supposed to be stored in vectors and matrices.
  3. Compiler improvements:

    • Fixed a call via a function pointer returning an object.
    • Added warnings for large or negative shift constants.
    • Fixed an issue in the matrix<T>::Swap(array<T>&) method.
    • Fixed parsing of code using implicit class objects.

MetaEditor

  1. Added support for viewing and editing Markdown files. Markdown is widely used for creating documentation and descriptions across many platforms, including GitHub and AlgoForge.

    By default, .md files open in preview mode with basic styling applied for convenience. To switch to edit mode, use the context menu.


    Added support for viewing and editing Markdown files


  2. Fixed handling of project files *.mqproj encoded in UTF-8 with BOM.
  3. Fixed automatic display of local variables. Their values can no longer be deleted from the Watch list.

Strategy Tester

  1. Fixed historical data synchronization issues that occurred when testing instruments with a margin currency different from the account deposit currency. For example, when testing CHFJPY with a USD or EUR deposit currency. The tester now correctly downloads the required cross rates from the broker's server.