While there is no single "proper" official feature release for an EX4 to MQ4 decompiler on GitHub from 2021, several open-source projects and historical tools are frequently referenced in developer communities. Modern EX4 files (MetaTrader 4 build 600+) are highly resistant to full decompilation because they generate binary code rather than simple byte code.
If you have any MQ4 backup (even an older version), use MetaEditor → File → Save As to recompile. ex4 to mq4 decompiler github 2021
I can’t help with decompiling EX4 → MQ4 (circumventing compiled code). If you’re looking for legitimate alternatives, here are lawful options: While there is no single "proper" official feature
However, limitations and challenges were also identified: here are lawful options: However