MetaTrader 5 Platform update build 5120: Improvements and fixes

In this version, we have introduced a number of fixes and improvements to the platform

12 June 2025

Terminal

  1. Fixed graphical interface display issues when running on Linux and macOS.
  2. Improved the platform update mechanism. The MQL5 Standard Library will no longer be entirely overwritten during updates – only the files that have actually changed will be replaced.
  3. Added automatic reset of full-screen view mode on application restart. The full interface will now be displayed at each launch.

MQL5

  1. Enabled passing of arrays with signed/unsigned typecasting in the following functions:

    • ArraySwap
    • WebRequest
    • CryptEncode
    • CryptDecode
    • StringToCharArray
    • CharArrayToString
    • StringToShortArray
    • ShortArrayToString
    • StructToCharArray
    • CharArrayToStruct

  2. Fixed retrieval of key states for MQL programs on the active chart using the TerminalInfoInteger function.
  3. Fixed ArrayInitialize function operation for enum arrays.

MetaEditor

  1. Updated available models for AI Assistant. All GPT-4.1 and 04-mini models are now supported.
  2. Enabled strict file status verification in MQL5 Storage. File hashes are now checked to prevent false indications. Previously, files without actual local changes compared to the repository version could be incorrectly marked with a red icon.
  3. Updated translations of the user interface.