MetaTrader 5 Platform Beta Build 6360: Over 40 New AI Tools

The beta version of the updated MetaTrader 5 platform will be released on Thursday, November 26, 2026.

The main highlight of this release is a significant expansion of the AI Assistant's capabilities. We have added over 40 new MCP tools that enable AI agents to perform even more actions directly within the trading platform. Now the Assistant can manage MQL5 services, customize charts and graphical objects, analyze the market depth, check trading operations, and work with alerts and financial news. This allows users to delegate more complex tasks to artificial intelligence, including market analysis, trading environment customization, and trading decision making.

To start using AI features, simply sign in to the platform using your MQL5.community account. All users automatically receive access to the free MQL5 Lite plan.

MetaTrader 5 Platform Beta Build 6360: Over 40 New AI Tools

For developers, we have expanded the capabilities of MQL5, including the introduction of new functions for working with complex numbers and files, expanding support for complex matrices, and optimizing mathematical calculations. A large number of fixes have also been made to the strategy tester: trade calculations, tick modeling, historical data processing, and task distribution among optimization agents have been improved.

We invite traders to join the testing of the new platform version, to evaluate its features and to help developers fix errors. To update to the new MetaTrader 5 beta build, navigate to Help \ Check Desktop Updates \ Latest Beta Version:

Update to beta and join testing


The final build of the new MetaTrader 5 platform will be released after the public beta test.


MetaTrader 5 Client Terminal

  1. Terminal: Significantly expanded AI Assistant's capabilities for interacting with the trading platform via MCP.

    Over 40 new tools have been added that allow AI agents to manage MQL5 services, customize charts, work with graphical objects, retrieve market depth data, verify trading operations, and perform other actions directly in the terminal.

    Managing MQL5 Services
    AI agents can receive a list of registered services and information about their status, start and stop services, register new instances and delete existing ones. It is also possible to obtain input parameters of services, which allows taking their settings into account when executing tasks.

    Setting up charts and working with templates
    Added tools for changing the symbol and timeframe, managing display properties, navigating through history, and creating chart snapshots. AI agents can also save current chart settings to a template and delete unnecessary templates.

    Handling graphical objects
    AI agents can retrieve a list of objects on the chart, create new ones, change their properties, and delete existing ones. This allows users to automatically apply trend lines, levels and other elements of technical analysis to charts.

    Access to the market depth
    New tools allow users to subscribe to market depth updates and receive current Bid and Ask levels with prices and volumes. This data can be used to analyze market liquidity and order distribution.

    Checking trading operations and calculating margins
    AI agents can calculate required margin and potential profit or loss, as well as pre-screen market and pending orders based on available funds and trading limits. All calculations and checks are performed without sending real trade requests.

    Managing chart profiles
    Added the ability to view saved profiles, create new ones, switch between them, and delete unnecessary ones. This allows AI agents to manage the terminal workspace, including the set of open charts and their settings.

    Handling alerts
    AI agents can create, view, edit, enable, disable, and delete alerts. For example, users can ask the Assistant to set up a notification when a certain price is reached or a set time arrives.

    Terminal info and financial news
    Added tools for obtaining information about the terminal status, connection to the trading server, and system resource usage. AI agents can also receive a list of available financial news and read its contents for subsequent analysis.

    Managing test results windows
    AI agents can receive information about open windows of testing results and strategy optimization, and close completed windows. This makes it easier to work with the results when testing multiple strategies sequentially.

    With new tools, AI Assistant can perform more complex, multi-step tasks, combining market data analysis, workspace customization, and trading decision preparation. For example, users can ask the Assistant to open a chart of the desired instrument, customize its display, add technical analysis levels, check the parameters of the proposed trade, and create an alert when a specified price is reached.

    Expanded the AI Assistant's capabilities


  2. Terminal: Fixed MCP tools operation. Now the AI assistant works correctly with the orders having the Immediate or Cancel fill policy, and also saves the expiration date of pending orders when changing Stop Loss and Take Profit levels. Checking of trading command parameters, obtaining information about trading operations by tickets, and filtering economic calendar events by time have also been fixed.
  3. Terminal: Fixed the operation of the trailing stop after activating a pending order: further processing uses the ID of the created position. The rounding of stop levels, which was erroneously limited to four digits, has also been fixed.
  4. Terminal: Fixed updating and storing custom symbol history:

    • Fixed issues with updating bars and deleting individual ranges of historical data, including using the CustomRatesUpdate function.
    • Fixed the loss of the last bar when rebuilding the cache.
    • Improved processing of history deletion requests and optimization of bar and tick data storage.
    • Fixed an issue where the profit currency for Forex symbols could be incorrectly determined based on part of the symbol name.
    • Fixed handling of time in 12-hour format (AM/PM) when importing tick data.

  5. Terminal: Fixed errors in calculating financial results in trading report. They could arise for reversal and close operations on netting accounts.
  6. Terminal: Improved payments processing.

    • Updated the main page design. The deposit and withdrawal sections have become more compact.
    • Updated the design of the cryptocurrency deposit page making the process more user-friendly.
    • Added the ability to download invoices for completed bank transfers.
    • Fixed payment status update.


    Improved payments processing

  7. Terminal: Fixed pasting login and password from the clipboard into the account connection window.
  8. Terminal: Improved the dark theme of the interface, in particular the display of the drop-down calendar, fields for managing the date and time, as well as the labels and borders of some other controls. Corresponding improvements have also been applied to the MetaEditor and Strategy Tester.
  9. Terminal: Fixed work with charts: dragging tabs, closing EA properties and selecting the desired chart by ID from MQL5 programs.
  10. Terminal: Fixed saving existing global variables when adding new ones.
  11. Terminal: Updated ONNX components for GPU. If you use ONNX, upgrading the platform will install the CUDA 13 and TensorRT 11 packages, and remove the legacy TensorRT 10 DLLs.
  12. Terminal: Improved work with MQL5.community services:

    • Improved hints for login and password fields in the authorization window.
    • Fixed display of descriptions for Market products.
    • Fixed chat cache synchronization.

  13. Terminal: Increased the minimum required Wine version for running Terminal on macOS and Linux. Now you will need Wine 11 or higher.
  14. MQL5: Added new functions for writing complex numbers to files: FileWriteComplexDouble, FileWriteComplexFloat, FileReadComplexDouble and FileReadComplexFloat.
  15. MQL5: Optimized ClassificationMetric, ClassificationScore, PrecisionRecall and ReceiverOperatingCharacteristic method calculations.
  16. MQL5: Changed FileWrite function operation logic. Now it can work not only with text and CSV files, but also with binary ones - data is written to them without conversion. In addition, support for complex numbers has been added to the function, and the maximum number of parameters has been increased to 256.
  17. MQL5: Added a universal version of the FileRead function to read multiple values from CSV, TXT and BIN files. It mirrors the FileWrite function. Parameters are passed by reference, the function returns the number of values read. Reading strings from binary files is not supported because their length is not known in advance.
  18. MQL5: Added functions for converting complex numbers to strings and back: ComplexToString and StringToComplex. Also fixed formatting complex numbers.
  19. MQL5: Added support for complex matrices for the following matrix and vector methods:


  20. MQL5: Changed the logic for calculating the matrix spectrum using the Spectrum method. Previously, for all matrices, eigenvalues were calculated from the product AT * A. Now the calculations depend on the matrix type. For square symmetric and Hermitian matrices, the eigenvalues are calculated using the OpenBLAS SYEV and HEEV methods, respectively; for other square matrices, GEEV is used. For rectangular matrices, singular values are calculated using GESVD.
  21. MQL5: Changed the calculation logic for the spectral norm of a matrix: it is now equal to the maximum modulus of complex spectrum values (spectral radius). In some cases it coincides with the matrix 2-norm (MATRIX_NORM_P2).
  22. MQL5: Improved numerical stability of matrix calculations: quadratic norms, Softmax activation function, and pseudoinverse matrix. Also fixed the handling of invalid numbers when calculating quantiles and percentiles.
  23. MQL5: Fixed errors in matrix and vector operations. Unified checks for dimensions, indices, band storage, permutations, sparse COO matrices, and SSA input parameters; handling of BLAS errors and MatrixPower boundary values. Also fixed ArrayArgSort, Tri, Row, Col and ConfusionMatrix.
  24. MQL5: Changed alignment of inherited structures with pack(N). This is a change in data presentation compatibility.

    In the example below, sizeof(B) changes from 17 to 24, sizeof(C) - from 18 to 32, and the offset of C::b - from 1 to 8.
    struct A pack(8)
      {
       double d;
       char c;
      };
    
    struct B pack(8) : A
      {
       char e;
      };
    
    struct C pack(8)
      {
       char x;
       B b;
      };
    
    int OnStart(void)
      {
       B arr_b[10];
    
       ::Print("sizeof(A) = ",sizeof(A));
       ::Print("sizeof(B) = ",sizeof(B));
       ::Print("sizeof(C) = ",sizeof(C));
       ::Print("sizeof(B[10]) = ",sizeof(arr_b));
       return(0);
      }
    Result before the fix:
    sizeof(A) = 16
    sizeof(B) = 17
    sizeof(C) = 18
    sizeof(B[10]) = 170
    Results after the fix:
    sizeof(A) = 16
    sizeof(B) = 24
    sizeof(C) = 32
    sizeof(B[10]) = 240
    When using such structures for binary files and data exchange, format checking is required.
  25. MQL5: Fixed initialization of structures, unions and arrays, including pack(N).
  26. MQL5: Fixed type compatibility in the matrix multiplication operator @.
  27. MQL5: Fixed processing of strings and constants: escape sequences \x, unsigned subtraction and unary minus when collapsing constants. Also fixed the behavior of ArrayCopy when copying a string array to itself, memory allocation errors, and string formatting. The string constant limit has been increased from 64,000. up to 1 million characters.
  28. MQL5: Fixed writing of ANSI/CSV files: calculation of buffers in encoding bytes, accounting for actually converted characters and conversion results.
  29. MQL5: Fixed handling databases:

    • DatabasePrepare string parameters are saved for the duration of the request.
    • Blocked access outside the sandbox via SQLite URI/VFS.
    • Enabled the exact path file file::memory: for a private memory database.

  30. MQL5: Fixed handling resources, DirectX and OpenCL, in particular, working with image and buffer sizes, static arrays and kernel names. Also fixed the release of graphical objects.
  31. MQL5: Fixed operation of built-in indicators at extreme parameters and unusual price ranges. In particular, fixed the calculation of initial values, periods and shifts, as well as overflow and buffer out-of-bounds errors. The changes affected TRIX, Stochastic, OsMA, DEMA/TEMA, FRAMA, VIDYA/CMO, AMA, LWMA, RSI, Gator, Williams %R and SAR indicators.
  32. MQL5: Fixed the availability of previously loaded M1 bars via CopyRates after changing the chart using the ChartSetSymbolPeriod function.
  33. MetaEditor: Improved MCP tools for the built-in AI Assistant:

    • Improved search for MQL5.com materials.
    • Improved processing diagrams and command results.
    • Fixed the check of allowed directories for reading, writing and running files.

  34. MetaEditor: Added support for the /utf8 key for compiling MQL5 programs from the command line. When using it, the log is written in UTF-8 without BOM, without it - in UTF-16 with BOM.
  35. MetaEditor: Fixed working with Git, in particular, synchronizing changes in the project from the repository and updating file status icons after rolling back changes with the Git Revert command.
  36. MetaEditor: Fixed display of local variables when debugging.
  37. MetaEditor: Added warning output for errors occurring when importing functions from .NET libraries. Added validation of imported CLR metadata, including date/color literals, template definitions and nested array types.
  38. Tester: Fixed trade calculations and operation simulation:

    • Daily commission calculation for the first day
    • Commission calculation for Close By operations
    • Closing positions by Stop Out
    • Position rollovers
    • Calculation of profit for all open positions
    • Calculating swap in points in the absence of a conversion rate
    • OrderCheck function operation

  39. Tester: Fixed tick generation:

    • Price sequence in OHLC mode on M1
    • Volume calculation when filling gaps in price history
    • Calculating the custom spread for the first minute of the day
    • Tracking missed ticks with millisecond accuracy.

  40. Tester: Fixed transmission of the real volume value on additional (non-main) timeframes and of the SYMBOL_TIME_MSC value for non-core testing tools.
  41. Tester: Fixed trading history selections:

    • Access to orders and trades after calling HistorySelectByPosition.
    • Calling HistorySelect when multiple trades or orders appear within one second.

  42. Tester: Fixed pausing the visual testing.
  43. Tester: Fixed errors in the operation of the chart, data windows, indicators, and objects when the interface and the testing thread were running simultaneously.
  44. Tester: Fixed a number of errors related to graphical objects and chart events in the visual tester regarding the operation of levels, timeframes, deleting objects, working with nested charts, scaling and applying templates. The fixes also affected the operation of the ObjectGet*, ObjectsDeleteAll, and ChartSet* functions in the tester.
  45. Tester: Fixed copying and pasting test settings from the clipboard by pressing Ctrl+C/Ctrl+V in the corresponding window.
  46. Tester: Fixed saving custom forward test date.
  47. Tester: Fixed issues with trading environment settings: loading non-trading intervals, applying a symbol price change threshold, saving commission modes and loading a SET file version.
  48. Tester: Fixed distribution of optimization passes between agents. Errors occurred during genetic and forward testing with a large number of passes. Also fixed agent reuse and detection of slow agents.
  49. Tester: Fixed installation, launch and shutdown of agents, handling of connection errors and waiting for history synchronization.
  50. Tester: Eliminated unnecessary loading of the market environment in math mode.
  51. Tester: Improved performance of historical databases and tester caches: reading and packing price data, rebuilding timeframes, freeing the cache between passes, and detecting incomplete data.
  52. Tester: Enhanced data checks on remote agents: task sizes, parameter strings, buffer synchronization upon stop.
  53. Tester: Fixed memory leaks when working with menus, highlighting log lines, and displaying a list of operations in the order and deal display mode.
  54. Tester: Improved detection of available physical memory for agents. Now several sources are used for this, from which the minimum value is selected.


MetaTrader 5 Web Terminal

  1. Fixed scaling of charts after changing the number of decimal places for a symbol.
  2. Fixed and optimized updating price history. Eliminated leaks, while tick synchronization no longer causes unnecessary bar rebuilding.
  3. Fixed checks for password change rights for an account.


The update will be available through the Live Update system.