How do I convert Mq4 files into Ex4 files so I can run the Ex4 file as an EA?
Probable $617 Billion Trading Error in Japan. Ouch
One of the biggest trading errors of all time could have occurred today, as stock orders amounting to more than the size of Sweden’s economy were canceled in Japan.
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.
Is done - look in your MetaTrader\experts folder if it was an EA
Look in MetaTrader\experts\indicators folder if it was an indicator
Please tell us EXACTLY what you have done, step by step.
What you've typed in as the content of the .mq4 file.
What you've done subsequently.
Where you've looked for the .ex4 file.
Go to your Meta Trader terminal and open Meta Editor (the yellow diamond with exclamation mark). When meta editor opens click file -- new. Select Expert advisor --- next --- give it a name and then finish. Some text will appear in meta editor. You have now created an MQ4 file. This page is where you type text. Before adding anything, press compile. You have now converted the mq4 to an ex4. Go back to terminal and you will see your new file in Navigator under experts. You can edit in the editor as much as you like now and by pressing compile, if there are no compile errors, you will update the ex4 file. So just copy paste your entire code into this fille overwtitting what is there and press compile. You can also search your PC to find the directory path that holds your new file. All EA's will need to make it into this folder for terminal to see them.
To add comments, please log in or register