Hi

 

I’m trying to work our adx..

 

I have this from Technical Market Indicators by Bauer & Dahlquist:

 

+DMi= Hi – Hi-1 {if Hi Hi-1}

-DMi = Li-1 – Li {if Li < Li-1}

 

TR = Hi – Li {if Li-1 >= Li}, 

        Hi – Hi-1 {if Li-1 < Li},

Li – 1 – Li {if (Hi < Hi-1}

 

I’ll go on with the formula if I get another problem, but when I started to
apply this, the very first case satisfied two of the TR rules, viz:

 


 

 

 

 

true range

 

 


log high

log low

dmp

dmm

L - 1 >= L

l - 1 < L

H < H -1


6.251904

6.240276

 

 

 

 

 


6.224558

6.206576

0

0.0337

0.017983

0

0.0337

 

Yesterday’ low was greater than today, so it qualified for rule one, Hi – Li
{if Li-1 >= Li}, and today’s high was lower than yesterdays so it also
qualified for rule three Li – 1 – Li {if (Hi < Hi-1}.  

 

Have I got that right, or is my formula wrong?  If it is right which TR do
you prefer?

 

Stephen Choularton

02 9999 2226

0413 545 182

 


-- 

Checked by AVG Free Edition.

7:54 AM
 

	[[alternative HTML version deleted]]

