Conversation
Marinski
force-pushed
the
feat/mql4-compile
branch
from
October 2, 2026 08:54
d94501f to
2356cf1
Compare
A filename ending in .mq4 selects the MT4 MetaEditor (COMPILE_MT4_TERMINAL_DIR, default compile-mt4/ beside terminals/) and returns ex4_base64; everything else is MQL5 exactly as before. Compile-only: no MT4 terminal, account or tester. The MT4 toolchain gets its own local mirror under <cache>/mt4, and MT4 responses carry no include_hash. scripts/install-mt4-compiler.bat is a one-time, never-fatal boot step, called from start.bat, that installs MT4 from compile-mt4/mt4setup.exe (the installer ignores /path:, so it copies out of %APPDATA%) and runs terminal.exe /portable once so MQL4\Include exists. Its boot path was verified live only up to the manual steps; the rewritten script itself was not re-run end to end.
Marinski
force-pushed
the
feat/mql4-compile
branch
from
October 2, 2026 09:01
2356cf1 to
ff57766
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
POST /compilegains MQL4: afilenameending in.mq4selects the MT4 MetaEditor (COMPILE_MT4_TERMINAL_DIR) and returnsex4_base64; everything else is MQL5 exactly as before. Compile-only — no MT4 terminal, account or tester. The MT4 toolchain gets its own local mirror under<cache>/mt4, and MT4 responses carry noinclude_hash.scripts/install-mt4-compiler.batinstalls MT4 once on boot fromcompile-mt4/mt4setup.exe; it is never fatal.Tests:
tests/test_compile.pyMQL4 cases.