New MetaTrader 5 Platform Build 6180: More AI Features

What's new in MetaTrader 5

3 September 2026

Terminal

  • Expanded the set of tools available to the AI Assistant. The agent can now perform more actions directly in the trading platform and Strategy Tester, making it easier to analyze, test, and optimize trading robots.

    The following capabilities have been added:

    • Retrieving Strategy Tester reports — the AI Assistant can independently retrieve testing and optimization results for further analysis. For example, you can ask it to evaluate the performance of an Expert Advisor, compare the results of different optimization passes, or identify potential issues in a strategy.
    • Launching optimization — the assistant can help configure Expert Advisor optimization criteria in the Strategy Tester.
    • Retrieving the current tester settings — the assistant can check the selected Expert Advisor, symbol, period, and other testing parameters before executing a task.
    • Retrieving the tester log — this allows the AI Assistant to analyze tester messages, identify errors, and help determine the causes of problems encountered during testing and optimization.
    • Adding indicators to a chart — the assistant can add the required technical indicators and configure their parameters. For example, you can ask it to add two moving averages with periods of 20 and 50 to the current chart.
    • Getting terminal and Expert Advisor logs — the AI Assistant can analyze system messages and logs generated by running MQL5 programs, helping identify errors and determine their causes.

    Expanded the set of tools available to the AI Assistant

MQL5

  1. Added support for the HasNan and ReplaceNan methods for complex matrices and vectors (matrixc, matrixcf, vectorc, vectorcf).
  2. Added support for the Split, HSplit, VSplit, SwapRows, and SwapCols methods for complex matrices (matrixc, matrixcf).
  3. Added support for the Fill, Flat, and Reshape methods for complex float matrices (matrixcf).
  4. Added support for the Assign and Swap methods for complex matrices and vectors (matrixcf, vectorcf).
  5. Added support for the Free method for complex matrices and all vector types (matrixc, matrixcf, vector, vectorf, vectorc, vectorcf).

Tester

  • Fixed chart event handling during visual testing. Pressing keys during testing could previously result in a runtime error.

Web Terminal

  1. Improved setting of stop levels when opening positions on accounts using the netting system. If a trade operation is executed for a symbol, for which there is a position, the current Stop Loss and Take Profit of the open position are automatically inserted in the order placing window. This prevents the current stop levels from being accidentally removed.
  2. Fixed repeated loading of trading instrument data.
  3. Fixed an issue where quotes might not appear after adding an instrument to Market Watch.