Need a Programming Question Answered

I acquired an indicator that is very good detecting a trend early. It’s great for manual trading. Unfortunately, it’s best on one hour charts. Unfortunate because I need to sleep on occasion.

My Question: Can you take an indicator with just the .ex4 file and write an EA?

Hi,
Yes it is possible. You’d use the iCustom function in mql. Do you know how to program?

Id there is a .dll also, doesn’t the .dll work with the .ex4 file?
If so, changing just the .ex4 might break that link.

note: you should also be able to change the .ex4 with notepad.
Right click and open with notepad, make the change and then save it.
It might be wise to make a copy of the .ex4 first and experiment with the copy, that way you still have your original.

An .ex4 file is a compiled version of an .mq4 file…an .mq4 file you can edit in notepad, but not an .ex4 file.

You’d have to make/code your own EA and use the “iCustom” function in mql to get the returned values from the .ex4 indicator for your purposes.

Thx for the explanation Sweet.
Been awhile since I’ve ran windows and don’t recall ever seeing an .ex4 in Windows when I did.

I know nothing about programming.

If you’re interested, my email is <[email protected]>

I’ll send you the indicator and the one filter I use

.ex4 files are in binary, notepad will do you no good. there are .ex4 decompilers and services on the web for sale but I have never tried them.

Yes you can, you will need to learn to program in mql4 though.