Can any of you decompile this indicator for me?

Hello!!!
I am Tanmoy. I got an indicator called “Trend Indicator” on a forum some weeks ago. I can’t remember on which forum I found it. Some days ago, I created a trading system. In this trading system I use this indicator to find exit points.

Now I am creating an EA based on my system. But I don’t have the source code of “Trend Indicator”. Can any of you decompile this indicator or collect its source code for me?

Stealing someone’s code is OK?

Actually, I am not trying to steal anything. When I downloaded the indicator package, the source code was included inside it. But I accidentally deleted the whole package. So I have the .ex4 file in my mt4 directory but I don’t have the source code now. Again, I have forgotten from which site I have downloaded it. I can not contact its author to give me the source code. So, if you can, please collect the source code for me.

Don’t you think a thorough name search of the file, or search through your browsing history or download list might be a little more effective than pandering for someone to spend their day monkeying with your program?

Plus, decompiled programs are a PITA to work with. All the variables are named oddly by number, and the comments are deleted.

You’d be better served to find the original again. It may still be in your recycle bin…

hi tanmoy

I also do not condone decompiling executables.

However, you have 2 possible solutions:

  1. Use the iCustom function which won’t require you to access the source code.

  2. Create the indie yourself… I had a quick look at the indie you attached & it is nothing more than a color-coded EMA-50… Green when sloping up, Red when sloping down. Nothing complicated at all & should be easy to code up.

not to mention none of us really know what’s inside your zip. We could be unleashing an entire crate of flying monkeys… just saying. - JP

LoL! I’ve undone the zip & i’m still alive thankfully!

Glad you survived it!

Just for those who don’t think about such things, you can never be too careful. Forums, especially financial are ripe targets for people who would like to dump keyloggers etc. into your system. Nothing says I love you like giving a guy the login and password to your account. Make sure you properly scan a file before you open it. If I download a file from the net, before I open it I’ll upload it to something like jotti and have it run it’s scanners on it. - JP

Well, I have scanned it in AVAST antivirus the very day I downloaded it and I have already used it without facing any sort of problem. But I just lost the source code. :frowning:

I know that it is just EMA which turns red while the slope is down and green while the slope is up. But I can not understand when it turns yellow.
Again, I am not an expert coder. Can you please code it for me?

hi tanmoytkd

Be happy to write you one.

I will enhance it so that, as well as the MA value, you can also specify:

  1. the MA type - EMA, SMA, Smoothed, Linear Weighted;
  2. the MA applied price - Close, Open, High, Low, etc.;
  3. the AlertMe option to alert you when the trend changes;

Email me & I will send you the code. (you can find my email on my blog: Spreadbettors Paradise | My Personal Adventures in the World of SpreadBetting!!!)

Hopefully, if you have success with your method using this indie, you could share your method with me one day. :slight_smile:

Thank you very much. I have sent you an email with the specification. Please check in your spam folder if you can not find it in the inbox.