I have the source code for an MT4 indicator that I acquired as part of a 'paid for' trading method that I purchased some
years ago, as I was starting out on my trading career. I have long since abandoned the said method but I have retained the indicator as part of my own trading method, which I have developed over a number of years.
The indicator in question has an alert coded in, but the alert does not work and has never worked, even prior to MT4 Build 600.
Now I am not a coder, but I did have some experience many years ago of writing simple code in the BASIC programming language, so I have a rudimentary understanding of programming logic, and with the help of Hanover's 'DIY Alerts' post, and studying how alerts have been coded into other indicators, after much trial and error, I have been able to successfully add an alert to another indicator that I use. Even so, I have spent hours studying the code of the offending indicator, but I just cannot see what is wrong with the code or preventing the alert from working.
Furthermore, the indicator repaints, which does not concern me because of the way I implement it, but I have to force it to repaint at the open of each new candle by temporarily changing the time frame,or re-loading the chart template, which is very irritating and time consuming when monitoring 12 pairs. Clearly, the code is not checking the indicator's parameters at the open of each new candle to see if a repaint is necessary or not. It is probably a simple matter to correct for an experienced coder, but try as I may, I have been unable to solve the problem.
I have been in email correspondence with the indicator's author, who confirms that the core code is his, but it has been tampered with and now contains errors. As he is no longer involved in MT4 programming, he is not willing to revise the code for me, even as a 'one-off'. However, he has given me permission to have the code revised by a third party, on my behalf, on condition that I DO NOT distribute the code, either in it's present form or it's amended form. Obviously, this means that I cannot post the MQ4 file here. Is there a coder out there who would be willing to help please, to whom I could email the MQ4 file? I know this flies in the face of FF's ethos of sharing, but I am strongly opposed to software piracy in any form and I do want to honour the author's request. However, I am more than willing to post the revised EX4 file here, in due course.
Is there is a coder out there willing to help out on this basis please?
Kind regards to all.
PS - I know it would be tough challenge, but I would very much like to learn how to code in MQL (MT4 Build 600+). Is there a definitive reference work available?
years ago, as I was starting out on my trading career. I have long since abandoned the said method but I have retained the indicator as part of my own trading method, which I have developed over a number of years.
The indicator in question has an alert coded in, but the alert does not work and has never worked, even prior to MT4 Build 600.
Now I am not a coder, but I did have some experience many years ago of writing simple code in the BASIC programming language, so I have a rudimentary understanding of programming logic, and with the help of Hanover's 'DIY Alerts' post, and studying how alerts have been coded into other indicators, after much trial and error, I have been able to successfully add an alert to another indicator that I use. Even so, I have spent hours studying the code of the offending indicator, but I just cannot see what is wrong with the code or preventing the alert from working.
Furthermore, the indicator repaints, which does not concern me because of the way I implement it, but I have to force it to repaint at the open of each new candle by temporarily changing the time frame,or re-loading the chart template, which is very irritating and time consuming when monitoring 12 pairs. Clearly, the code is not checking the indicator's parameters at the open of each new candle to see if a repaint is necessary or not. It is probably a simple matter to correct for an experienced coder, but try as I may, I have been unable to solve the problem.
I have been in email correspondence with the indicator's author, who confirms that the core code is his, but it has been tampered with and now contains errors. As he is no longer involved in MT4 programming, he is not willing to revise the code for me, even as a 'one-off'. However, he has given me permission to have the code revised by a third party, on my behalf, on condition that I DO NOT distribute the code, either in it's present form or it's amended form. Obviously, this means that I cannot post the MQ4 file here. Is there a coder out there who would be willing to help please, to whom I could email the MQ4 file? I know this flies in the face of FF's ethos of sharing, but I am strongly opposed to software piracy in any form and I do want to honour the author's request. However, I am more than willing to post the revised EX4 file here, in due course.
Is there is a coder out there willing to help out on this basis please?
Kind regards to all.
PS - I know it would be tough challenge, but I would very much like to learn how to code in MQL (MT4 Build 600+). Is there a definitive reference work available?
It matters not how slow we are to learn, as long as we do not stop.