ex to mq4

I don't know why you change ex4 to mq4 🙂. But traders do that to get a source code (mq4) of some expert advisor or indicator from the compiled file (ex4). To add their own changes or to remove a licensing protection.

To do that you need an ex4 decompiler.