If you have any MQ4 backup (even an older version), use MetaEditor → File → Save As to recompile.
Most GitHub tools are binary extractors, not true decompilers. They produce: ex4 to mq4 decompiler github 2021
Basic usage (example from ex4_to_mq4.exe): If you have any MQ4 backup (even an
ex4_to_mq4.exe input.ex4 output.mq4
Or drag-and-drop EX4 onto the .exe.
Starting MT4 Build 1090 (2020), MetaQuotes introduced a multi-stage obfuscation layer. Variable names are replaced with var_1, var_2, etc. All comments, original function names, and logical structures are stripped. Basic usage (example from ex4_to_mq4