Page 27 of 56

Re: ADX DMI Indicators for MT4

Posted: Thu Jul 16, 2020 8:52 pm
by moey_dw
mrtools wrote: Sat Jun 20, 2020 2:55 am Just testing it and the price options are working for me top version using default price, bottom using close. Not much of a difference but there is a difference.
mrtool u are coding superstar.............. i would like help can u plz make the blue section of mt4 adx a filled plzz?? it will looks so much easy 2 see the adx mountain

Re: ADX DMI Indicators for MT4

Posted: Thu Jul 16, 2020 8:58 pm
by Jimmy
moey_dw wrote: Thu Jul 16, 2020 8:52 pm

mrtool u are coding superstar.............. i would like help can u plz make the blue section of mt4 adx a filled plzz?? it will looks so much easy 2 see the adx mountain
Hey Moz,

I think Mrtools is pretty busy at the moment but here you go :thumbup:

Re: ADX DMI Indicators for MT4

Posted: Thu Jul 16, 2020 9:01 pm
by moey_dw
Jimmy wrote: Thu Jul 16, 2020 8:58 pm

Hey Moz,

I think Mrtools is pretty busy at the moment but here you go :thumbup:
OH DUDDDE.......... U SO QUICK & HOW U KNOW HOW TO DO THATS :In Love: :In Love: :In Love:

Re: ADX DMI Indicators for MT4

Posted: Thu Jul 16, 2020 9:07 pm
by Jimmy
moey_dw wrote: Thu Jul 16, 2020 9:01 pm
OH DUDDDE.......... U SO QUICK & HOW U KNOW HOW TO DO THATS :In Love: :In Love: :In Love:
Mladen taught me how to add color filling to indicators.

Once upon a time I actually had the exact, same idea as you, and he was talking me through the process and then he sent me that ADX as a starting point on how to learn how to add color fill! So I've posted it in source code here as well so it can act as a starting point for you (and others) who are learning how to do some simple coding tasks :thumbup:

Re: ADX DMI Indicators for MT4

Posted: Sat Jul 18, 2020 2:37 am
by Intrest 1
mrtools wrote: Sat Jun 20, 2020 2:55 am

Just testing it and the price options are working for me top version using default price, bottom using close. Not much of a difference but there is a difference.
Hi mrtools.
Can you do adx extremum?
In order to reach its maximum values ​​on the current bar, it does not change them in the same way as a zigzag.
This will eliminate the flashing signal on the current bar.

Re: ADX DMI Indicators for MT4

Posted: Sun Jul 19, 2020 10:10 am
by Intrest 1
mrtools, can you do this?

in the formula
+ DMI = EMA (+ DM / TR, Period)
-DMI = EMA (-DM / TR, Period) .High - Low - value of the current bar
High - Close [i-1], where Close [i-1] is the closing price of the previous bar
Low [i} - Close [i-1]
the value of the current bar for DI + must be high minus open, for DI - open minus low

true range for DI +: High-Open.
true range for DI-: Open-Low

Re: ADX DMI Indicators for MT4

Posted: Sun Jul 19, 2020 1:06 pm
by mrtools
Intrest 1 wrote: Sun Jul 19, 2020 10:10 am mrtools, can you do this?

in the formula
+ DMI = EMA (+ DM / TR, Period)
-DMI = EMA (-DM / TR, Period) .High - Low - value of the current bar
High - Close [i-1], where Close [i-1] is the closing price of the previous bar
Low [i} - Close [i-1]
the value of the current bar for DI + must be high minus open, for DI - open minus low

true range for DI +: High-Open.
true range for DI-: Open-Low


Isn't that the formula for Wilder's dmi version?

Re: ADX DMI Indicators for MT4

Posted: Sun Jul 19, 2020 4:08 pm
by Intrest 1
mrtools wrote: Sun Jul 19, 2020 1:06 pm

Isn't that the formula for Wilder's dmi version?
it must be changed

Re: ADX DMI Indicators for MT4

Posted: Sun Jul 19, 2020 5:50 pm
by Intrest 1
version, probably for the Wilder type.
check if are correct pls.
you also need the same for the built option

this modified option removes the signal blinking on the current bar

Re: ADX DMI Indicators for MT4

Posted: Mon Jul 20, 2020 1:30 am
by Intrest 1
simple adx with a new formula.
it would probably be nice to do instead of the MA level, just like in Waddah Attar.
and the Waddah Attar itself can be made non-blinking on the current bar like any other indicator whose formula contains a true range high-low