You type text into an MQ4 source code file.
You offer that source code to the Compiler.
The compiler strips out everything it considers irrelevant, sometimes rearranges the logic a little,
it creates a file that can be executed by MT4 with the same name a the source file and puts the extension EX4 on it.