I'm looking for an ADX with smoothing factor that behaves like VT Trader's ADX which is the standard original ADX. I will attach formula;
ADX = modify moving average of DX
DX = 100 x ( (+DI - -DI)/( +DI + -DI) )
+DI = +DMn / TRn, -DI = -DM / TRn
+DM = Ht - Ht-1, -DM = Lt - Lt-1
CL = Ct - Ct-1
TR = largest of +DM,-DM,and CL where:
+DI = current positive directional index
-DI = current negative directional index
+DMn = current modified moving average of +DM
+DM = current positive directional movement value
Ht = current high
Ht-1 = previous high
Lt = current low
Lt-1 = previous low
-DMn = current modified moving average of -DM
-DM = current negative directional movement value
TRn = current modified modified moving average of the
true range
TR = true range
n = number of periods
DX = current DX
Reference from : J. Welles Wilder
I want the source code and I will want to see that it corresponds to the VT indicator.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I'm looking for an ADX with smoothing factor that behaves like VT Trader's ADX which is the standard original ADX. I will attach formula;
ADX = modify moving average of DXDX = 100 x ( (+DI - -DI)/( +DI + -DI) )
+DI = +DMn / TRn, -DI = -DM / TRn
+DM = Ht - Ht-1, -DM = Lt - Lt-1
CL = Ct - Ct-1
TR = largest of +DM,-DM,and CL where:
+DI = current positive directional index
-DI = current negative directional index
+DMn = current modified moving average of +DM
+DM = current positive directional movement value
Ht = current high
Ht-1 = previous high
Lt = current low
Lt-1 = previous low
-DMn = current modified moving average of -DM
-DM = current negative directional movement value
TRn = current modified modified moving average of the true range
TR = true range
n = number of periods
DX = current DX
Reference from : J. Welles Wilder
I want the source code and I will want to see that it corresponds to the VT indicator.
Please send estimates to: dave_brazell@yahoo.com.
Thanks....