![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Ahhh, we obviously misunderstood you... it's a stolen indicator not a stolen EA... that's OK then.
On that basis, lets take a look. Oh wait... no buffers, no drawing, Ordersend(). There's your problem right there, it's a decompiled EA.
No buffers and no drawing because that I have deleted since i did not need them.
I wanted to use the calculation of the indicator to make an EA
and thats why the Ordersend() function that I have written by myself.
The decompiled version of the indicator works fine and gives sound and email alerts for trade
I just wanted to automize the process so that whenever it gives alerts, it should trade instead
If you people can help, It would be great, otherwise I will try to figure a way out
Thanks!
I will also add that protected code is usually protected for a reason. Using a decompiler to hack it is plain wrong. If you rocked up here having decompiled one of my EA's, I would be furious and furious at anyone who tried to help you. And I just do this for fun. Can you imagine how those here who do this for a living would feel about their code being decomplied.
I would strongly urge you to start a fresh. A bit of study and perseverance and this language is not that difficult to pick up... after all, if I can do it...
Click on the Book, read through the code base and ask questions here. The resource is all here, although its free, its value is limitless. All it demands is a little respect.
V
Jay, I grant you, by a country mile I'm not the most experienced person on here, but that code, for me at least, is unintelligable. I have no clue what it is attempting to do. One of the things I've learned over the months is that good code is clear and well defined. That is especially helpful when it comes to de bugging. I'm fairly sure that presenting unintelligable code will not do anything to encourage commitment of the very valuable time from the outstanding people that can be found here.
I will also add that protected code is usually protected for a reason. Using a decompiler to hack it is plain wrong. If you rocked up here having decompiled one of my EA's, I would be furious and furious at anyone who tried to help you. And I just do this for fun. Can you imagine how those here who do this for a living would feel about their code being decomplied.
I would strongly urge you to start a fresh. A bit of study and perseverance and this language is not that difficult to pick up... after all, if I can do it...
Click on the Book, read through the code base and ask questions here. The resource is all here, although its free, its value is limitless. All it demands is a little respect.
V
I clear agree with you Viffer, and thats what I am trying to do, learn the language and one of the task that I kept infront of me is to study the codes that are freely available, but this indicator although given freely through some site is property of some other person, I just wanted to learn how to use the data created by the indicator to use it in an EA.Anyways thanks for the advice, If I come up with something interesting, will surely put up
https://book.mql4.com/trading/index
https://book.mql4.com/samples/expert
https://book.mql4.com/samples/shared
A starting point
https://book.mql4.com/trading/index
https://book.mql4.com/samples/expert
https://book.mql4.com/samples/shared
Ok tell me one thing, is it possible to use arrays in Expert Advisors?I recommend reading through those articles, going through the example code given and then having a go at it. If you get stuck, then there are people here that you can draw on. I have yet to see a topic that has the community stumped.
Also worth mentioning that contributors here respond better to people who show they have tried to help themselves. It avoids something like this...
http://lmgtfy.com/?q=array+mq4
V