- MetaTrader 5 build 6140 - MCP internal server returns 401 Unauthorized with generated API key
- MT5 Build 6182 closes immediately when starting Debug
- New MetaTrader 5 Build 1730: Projects in MetaEditor and Synthetic financial instruments
A few things to check: (1) MQL5 Services can be configured to start with the terminal — even if you believe they are disabled, verify in Tools > Options > Expert Advisors that 'Allow automated trading' and service auto-start are off, and check the terminal's log for 'service started' entries. (2) The AI Assistant / Copilot integration can spawn MetaEditor for code suggestions; disable it under Tools > Options > Community. (3) A script or indicator with OnInit that calls ShellExecute or ExpertRemove can trigger editor launch. (4) Check if there is a .bat or scheduled task launching MetaEditor. The 3.34s delay suggests a service or scheduled component rather than a direct user action. The terminal log (Experts tab) usually records the trigger.
Is there an official launch argument, API or configuration method to suppress optional MetaEditor startup?
Not an "official launch argument" but there is an official "Launch" Help page:
If the platform/MetaEditor has previously worked in the main mode, no files from the user directory are transferred to the installation one after launching in the Portable mode. Only new data are saved in the installation directory.
MetaEditor launch in an incorrect mode may cause the absence of files in the Navigator window. When you start in normal mode, the data is requested from the folder where the executable file is stored, and in the guest mode, they are requested from the user's system folder. (emphasis added).
As the Navigator window appears to call MetaEditor, I'd be interested to know what happens if you close the Navigator window and save that configuration as the Default Profile in MT5. This a reverse engineered hack of sorts.
- www.metatrader5.com
One of the reasons for the terminal to decide to recompile example source codes (which are installed along with the terminal) is some changes in MQL5 compiler, which should produce altered ex5 binary codes. I'm not from MQ, so I can't tell you at which moment such recompilation may become required for your custom source codes. Usually, older ex5 binaries are handled normally for quite some time (successive release builds) but eventually the platform requires their recompilation.
Since you said you found in the log 131 records about files recompilation, then you can deduce what kind of the files that was.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use