HappyRe: MT5 Adx indicators

11
mrtools wrote: Thu Aug 14, 2025 6:05 am Hello, changed to lines,
Hey mrtools! question: do you happen to have a version of the indicator that also plots the DX line, and maybe the ADXR too?
The one I downloaded is awesome, but I kinda need the full setup for my strategy. No worries if not just thought I'd ask.
Thanks a million! ))


Re: MT5 Adx indicators

12
NikaFX wrote: Sun Aug 31, 2025 9:23 pm Hey mrtools! question: do you happen to have a version of the indicator that also plots the DX line, and maybe the ADXR too?
The one I downloaded is awesome, but I kinda need the full setup for my strategy. No worries if not just thought I'd ask.
Thanks a million! ))
Hello, did you try this one the green solid line is the Adx and the Yellow solid line is the Adxr.
These users thanked the author mrtools for the post:
NikaFX
Shalom Shalom! :hug:

Re: MT5 Adx indicators

13
NikaFX wrote: Sun Aug 31, 2025 9:23 pm Hey mrtools! question: do you happen to have a version of the indicator that also plots the DX line, and maybe the ADXR too?
The one I downloaded is awesome, but I kinda need the full setup for my strategy. No worries if not just thought I'd ask.
Thanks a million! ))
I apologize, didn't realize at first what you were asking so now made a version with an option to use the DX. There is a lot of lines, if you prefer can make the di+ and di- area filled.

For those not familiar the DX is the unsmoothed ADX.
These users thanked the author mrtools for the post (total 4):
macd & rsi, Krunal Gajjar, doolfrews, Ricstar_8
Shalom Shalom! :hug:

Re: MT5 Adx indicators

14
mrtools wrote: Mon Sep 01, 2025 12:58 am I apologize, didn't realize at first what you were asking so now made a version with an option to use the DX. There is a lot of lines, if you prefer can make the di+ and di- area filled.

For those not familiar the DX is the unsmoothed ADX.
Omg it's perfect mrtools, thank you!! 💖
I was literally just about to message you asking about the DX line — that's total telepathy! ✨
If there's any interest here I will be be happy to gather some examples or maybe even a quick guide on how I use ADX in my own trading?
These users thanked the author NikaFX for the post (total 2):
mrtools, boytoy


Re: MT5 Adx indicators

17
AI conversion mq4 -> mq5

Please convert this indicator from mq4 to mq5

I've converted the indicator to advanced_adx.mq5. I haven't compiled or tested it, so please compile it and send me any errors.

Inputs and plots: TimeFrame, ADXPeriod and Interpolate are unchanged, and so are the five plots with their colours and widths.
Colour logic: the colour rules are the same as in the MQ4 version.
When +DI is above -DI: strong up if the ADX is rising, weak up if it is falling.
Otherwise: weak down if the ADX is falling, strong down if it is rising.
Oldest bar: the oldest bar is "strong up".
ADX source: the values come from MT5's built-in ADX. Its smoothing differs slightly from the MT4 iADX, so the numbers are close to the MQ4 version but not identical.
Higher timeframe:
Method: the MQ4 version made 6 iCustom calls plus iBarShift for every bar. The MQ5 version runs a hidden copy of the indicator on the higher timeframe and reads its buffers once per call.
Normal ticks: only the last 3 higher-timeframe bars are re-read.
Interpolation: Interpolate gives the same linear ramp across each higher-timeframe bar as before.
Missing data: if the higher-timeframe data isn't ready, a 1-second timer retries.
Warm-up: the first 2 × ADXPeriod bars, where the ADX isn't formed yet, are no longer drawn.

The file is in /mnt/user-data/outputs:

advanced_adx.mq5