I’m trying to automate the process of compiling scripts in VSCode and refreshing the running program in MT5. In MT4, I managed to achieve this by sending a WM_COMMAND message to refresh the Navigator list, which worked perfectly — it automatically reloaded the running program. However, in MT5, refreshing the Navigator list doesn’t seem to reload the currently running program. I’m wondering if there’s a way to achieve this in MT5, perhaps using some undocumented command-line parameters for metaeditor64.exe .
Potential Undocumented Parameters:
While scanning the executable with strings , I found references to the following parameters that might be functional, though they are not documented:
/restart
/stop
/language:<code>
/packed
/subsystem:<name>
/flg
/time:<value>
I’m not sure what these do or if they are active, but they might relate to certain internal functions of the editor. If anyone knows how to use these parameters or has another idea for automating the refresh process in MT5 after recompilation, I’d really appreciate the help. Thanks in advance!
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi everyone,
I’m trying to automate the process of compiling scripts in VSCode and refreshing the running program in MT5. In MT4, I managed to achieve this by sending a WM_COMMAND message to refresh the Navigator list, which worked perfectly — it automatically reloaded the running program. However, in MT5, refreshing the Navigator list doesn’t seem to reload the currently running program. I’m wondering if there’s a way to achieve this in MT5, perhaps using some undocumented command-line parameters for metaeditor64.exe .
Potential Undocumented Parameters:While scanning the executable with strings , I found references to the following parameters that might be functional, though they are not documented:
I’m not sure what these do or if they are active, but they might relate to certain internal functions of the editor. If anyone knows how to use these parameters or has another idea for automating the refresh process in MT5 after recompilation, I’d really appreciate the help. Thanks in advance!