Download MetaTrader 5

Conveting Mq4 files to Ex4 Files

To add comments, please log in or register
Edward A Werts
19
Edward A Werts  

How do I convert Mq4 files into Ex4 files so I can run the Ex4 file as an EA?

Viffer
614
Viffer  

Click compile

V

Edward A Werts
19
Edward A Werts  
Viffer:

Click compile

V


I am new at this so I need it explained a little bit more. I did hit compile and it came up with 0 errors but I don't know how to then convert it to and EX4 file.
Ray
2649
Ray  

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.

Brian Dee - Random Trader
1760
Brian Dee - Random Trader  
ewerts:

I am new at this so I need it explained a little bit more. I did hit compile and it came up with 0 errors but I don't know how to then convert it to and EX4 file.


Is done - look in your MetaTrader\experts folder if it was an EA

Look in MetaTrader\experts\indicators folder if it was an indicator

-BB-

Edward A Werts
19
Edward A Werts  
phy:

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.


where do you type (text) in Mq4 file?
Edward A Werts
19
Edward A Werts  
BarrowBoy:


Is done - look in your MetaTrader\experts folder if it was an EA

Look in MetaTrader\experts\indicators folder if it was an indicator

-BB-


It did not convert it to an Ex4 file.
cloudbreaker
1577
cloudbreaker  

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.

CB

Viffer
614
Viffer  

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.

V

V

Ankit Kumar Bhagat
310
Ankit Kumar Bhagat  
Viffer:

Click compile

V

what and how i can convert mq4 to ex4 file ? steps please
honest_knave
Moderator
2318
honest_knave  

Both WHRoeder and I have already told you on other threads this is called decompiling and is equivalent to stealing.

You will get no help on doing this here.

This is like asking on the BMW website how to break into their cars. 

 

Once you have your system with your locked indicators and changed names, how would you like it if someone decompiled it all and gave it away to everyone for free, or started selling it themselves?

To add comments, please log in or register