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
Fernando,
Thank you for you advice. That is much appreciated.
@whroeder1 Thank you for the advice.
There was a programmer kind enough to PM me and help me fix the minor issue. I try to learn on the go an I was asking for advice on where to look to change the code as the links whoreder1 sent me did not look at all like the source code that I have.
No you don't, because if you did, you would have known that the EA you posted is riddled with bugs. It is in fact, very badly coded (but one cannot expect much quality for just $20, so you get what you pay for)! Not to mention the fact, that if you did truly understand, you would have coded it yourself.
For me it's the best way to learn. Beside that if you place the cursor upon a MQL-function press F1 and you can read almost everything you have to know about it and in many cases you'll find examples too!
BTW I just saw this: res=(double)DoubleToString(res,digits);
I hope this is only a typo!? What do you expect will come out?
Beside that I promise you will benefit a lot from the debugger (in the editor F5)!
No you don't, because if you did, you would have known that the EA you posted is riddled with bugs. It is in fact, very badly coded (but one cannot expect much quality for just $20, so you get what you pay for)! Not to mention the fact, that if you did truly understand, you would have coded it yourself.
I saw one that called a function to count open orders more than 10 times in one tick. Also why do so many coders use functions with 1 line of code?
I've also seen functions like this
double GetPrice()
{
double i;
i=Open[0];
return(i);
}
So many of the jobs that I have seen done in freelance are badly coded. I have modified a few of them in my time, but many I just refuse as it is easier to re-write the whole thing.
I saw one that called a function to count open orders more than 10 times in one tick. Also why do so many coders use functions with 1 line of code?
I've also seen functions like this
double GetPrice()
{
double i;
i=Open[0];
return(i);
}