I doubt anyone knows precisely what the issue is, or how to fix it. (but I could be wrong).
you might want to just find the orignal formula for ADX and code it up yourself. There is a lot to say for only trading with your own code. :|
you might want to just find the orignal formula for ADX and code it up yourself. There is a lot to say for only trading with your own code. :|
It seems that MT4 ADX is calculated as an exponential moving average of DX whereas the original formula deals with a Wilder average. Does anyone know how to calculate it ?
wow, way to go digging up an old post and finding the answer. sweet.
This is the default code that I already have. I may be wrong but it doesn't respect Wilder's formula (see my previous posts)
Hi guys,
On metastock software they use ADX wilder but this is different than the ADX on metatrader 4. Can anyone explain me where the difference is in the formula and does anyone have the full code of the ADX, also codes of the +DI and -DI?
On metastock software they use ADX wilder but this is different than the ADX on metatrader 4. Can anyone explain me where the difference is in the formula and does anyone have the full code of the ADX, also codes of the +DI and -DI?
@Loicverbinnen #: On metastock software they use ADX wilder but this is different than the ADX on metatrader 4. Can anyone explain me where the difference is in the formula and does anyone have the full code of the ADX, also codes of the +DI and -DI?
Both are available on MetaTrader 5:
@Loicverbinnen #: Yes, I have seen this but on the Average Directional Movement Index there is no code for the +DI and -DI. Where can I find this code?
You asked for an explanation of the difference between their calculations. That is what I provided, links to tell you how they are calculated.
You did not request code for them. They are built-in Indicators, not custom indicators.
If you want alternative custom indicators for them, then search the CodeBase ...
Average Directional Movement Index (ADX)
MetaQuotes, 2010.01.06 17:21
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.Average Directional Movement Index Wilder
MetaQuotes, 2010.01.08 12:02
The Average Directional Movement Index by Wilder (ADX Wilder) helps to determine the presence of the price trend.
![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
Does anybody could tell me where the problem comes from, and provide me wth instruction on modifying the indicators ...
Thank you