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
Hi, I wonder if anyone can help me. I'm new to MQL4 and don't really understand it. But, what I have found is that the ADX (and DI's) calculations appear to be very different from Wilders original formula and the results are also very different from other trading platforms. I've looked at the code for the indicator and don't understand some of the workings - I don't really understand much of it but can make an educated guess at some of it. I'm familiar with VB and .net etc.
It appears that the EMA (incidentally, how is the EMA calculated within this context) is only added to the final bars and not consecutively added, but I'm not sure. The indicators respond much quicker and have shorter peaks and troughs than what I am used to working with.
Is anybody able to translate the code into something I can understand or an explanation of how the calculation is constructed.
Any help would be much appreciated.