PDA

View Full Version : I have source code for an EA. How do I use it in MT4?



sespin66
12-04-2012 23:31, 11:31 PM
Can someone help me to learn everything to do with Source Code
to make it operate in MT4?

It's an EA

The author ran it and backtested it.
It's Complimentary

However they supplied Sotce Code only

No EX4 document

What do I do with all the source code?

Thanks very much https://www.nigeriaforextrading.com/attachments/1527237391.png

sespin66
12-23-2021 17:55, 05:55 PM
YYou guessed right. I'm back to say an enormous Thank You

Others who see and use the above EX4 and NQ4 files please note:

I didn't author the source code to those in rhose documents. Name appears only since they were compiled
for a favor for me.

Of course, the original source code will look when you open the mq4 in the taeditor.

Sokay
12-23-2021 19:16, 07:16 PM
Copy the file into your MT4/Experts folder
Open it with Metaeditor
Press F5 to compile it.
It will now be there as an .ex4 file
Click the expert advisors button in Metatrader to enable EA.s
Drag the file from Navigator/expert advisors on the chart that you would like it on

HTH

M.

sespin66
12-23-2021 20:37, 08:37 PM
Thanks for the help.

I neglected to explain fully about how the source code looks...

It is not an EX4 nor document.

Iy was submitted on a website an looked the same as a text document.

I copy it and pasted it from the Editor in 4. Nothing occurred although I clicked compile. I couldn't loe an EX4 file after that.

Sokay
12-23-2021 21:58, 09:58 PM
In the event you clicked compile something must have happened!
Either it is a good record and compiled ok or it compiled with errors that would have been shown in Metaeditor

M.

sespin66
12-23-2021 23:19, 11:19 PM
I see///

Then the document is someplace but a challenge for me to loe it.

I think I will creat a folder to get it and try again. I didn't have a folder designated the first time to get the compiled file to be set in.

Silly mistake. But this the 1st time I have completed this task.

Thanks considerably

Sokay
12-24-2021 00:39, 12:39 AM
See # 2 is posted by Xaphod

sespin66
12-24-2021 02:00, 02:00 AM
Well, I copied the source code in to my clipboard and
I opened the taeditor,

I couldn't find a blank webpage to paste the code .

When I clicked on the icon for New the Wizard began,
That requires choosing a bunch of things I don't know.

I've attached the link to the EA Source Code if anybody cares to see precisely
what's been supplid from the author.

I don't have any idea on what to do with it to find the EX4 file.

Thanks for the advice that has been given up till today

http://www.lifesdream.org/mt4/free/ichimoku/Ichimoku EA.mq4

Sokay
12-24-2021 03:21, 03:21 AM
Metaeditor
Click on New
Give it a name
Publish ALL text to the page
Duplie your text on page
compile.

Sokay
12-24-2021 04:42, 04:42 AM
'cos I just know you are going to come back!

Here you go, put these in your experts folder

I haven't checked what the EA does and am not interested.

M.
https://www.nigeriaforextrading.com/attachments/1527237396541793503.ex4
https://www.nigeriaforextrading.com/attachments/1527237399491538562.mq4

albempkmlg
12-24-2021 06:02, 06:02 AM
Can somebody help me to know everything to do with Source Code
to allow it to run in MT4?
It is an EA. The writer ran it and backtested it. It is Free
However they provided Source Code only no EX4 file
What do I do with all the source code? If you're running windows 7/Vista you should install mt4 outside your'c:/Program Files/' folder for set up indiors and EAs to operate without problems.

http://bit.ly/Ue4Umm