MetaTrader 5 Platform Update Build 6090: General Improvements - page 6

 

Andriy Moraru #:
Same result:

void OnInit(

"OnInit() function of void type always means successful initialization and is not recommended for use" (https://www.mql5.com/en/docs/event_handlers/oninit).

Dadas #:
So, it's advisable to first sign in to the new account symbol:

int OnInit()

Using an int, at least you get a meaningful return value for diagnostics.

 
Dadas #:
Isn't the purpose of a forum to help each other?
So, if one person has the time and shares a chat with AI, why is that prohibited?
You could allow only Meta Editor AI Assistant, if you don't want other AIs, here, for example. 

BTW, None of us know everything, or are able to think of everything.
So, useful hints can be provided by AI.
I don't see the logic behind prohibiting AI messages, here.

We don't care which AI is used.

Don't you understand where we are going if there is no restrictions on posting AI answer here (most of the time silently) ? The AI system will "eat" all of that on his next iterations, feeding himself with their own answers.

And these answers are far from being correct. And I (or any human) can't start to argue about all what you posted from an AI and which is either wrong, incomplete or misleading.

You can't not understand the logic, but it's not negotiable. 

 
Alain Verleyen #:

We don't care which AI is used.

Don't you understand where we are going if there is no restrictions on posting AI answer here (most of the time silently) ? The AI system will "eat" all of that on his next iterations, feeding himself with their own answers.

And these answers are far from being correct. And I (or any human) can't start to argue about all what you posted from an AI and which is either wrong, incomplete or misleading.

You can't not understand the logic, but it's not negotiable. 

OK, ok...
Anyways, my indicators, without the EA, have been running half a day yesterday and all day today, and no errors appeared, and I didn't notice any issues.
So, now it looks like the EA causes the indicators to run slow??? 
 
Dadas #:
OK, ok...
Anyways, my indicators, without the EA, have been running half a day yesterday and all day today, and no errors appeared, and I didn't notice any issues.
So, now it looks like the EA causes the indicators to run slow??? 
And when I add the EA, I don't need to wait very long.
The chart freezes, even if there are no error prints in the log...
 
Dadas #:
And when I add the EA, I don't need to wait very long.
The chart freezes, even if there are no error prints in the log...

If you don't mind disclosing your EA code, one of us might be able to diagnose it.

In my experience, some of the usual culprits are repeated calls to the same form of current time within OnTick(), for example.

 
MetaQuotes:

The MetaTrader 5 platform update will be released on Friday, July 31, 2026.

We have conducted a comprehensive analysis and audit of the platform's code, resolved any identified issues, and implemented numerous internal improvements aimed at enhancing the stability, reliability, and performance of MetaTrader 5.

In addition, we have made several improvements to the platform components:

  1. Terminal: Expanded the set of MCP methods that AI Assistant is able to use. In particular, it can now add indicators to the chart, as well as get a list of available indicators with their parameters.
  2. Terminal: Fixed bugs and improved built-in AI Assistant functionality.
  3. Terminal: Disabled AI Assistant in Windows 7. This OS version is outdated and does not support all the necessary functions.
  4. Terminal: Fixed support for Windows 7. If you are unable to launch the previous version of the platform, do not uninstall it, just reinstall the new version on top. All settings will be saved.
  5. Terminal: Fixed signal showcase rendering.
  6. Updated Python integration package. To install the update, run the command:
  7. Updated interface translations.

MetaTrader 5 Web Terminal

  • Fixed display of the Depth of Market changes.


The update will be delivered through the Live Update system.

That thing with the new AI Assistant in build 6090 is a blessing and a curse.


Just like @Toh4iem9 mentioned, it sometimes just goes wild, opens up the Strategy Tester, or messes around with the code if you aren't careful—almost like an overly eager intern. You really have to set explicit boundaries for the assistant and forbid it from touching files on its own when you just want an analysis.

On the flip side, when working on EA developments (like my ClankV3), you notice that the expanded MCP methods, allowing it to drop indicators directly onto the chart, are super handy once you properly control the workflow. But you definitely have to get used to this high level of autonomy first.