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.  Yesterday's
high and low were 6.251904 and 6.240276 and today's were 6.224558 and
6.2065.  Yesterday's low was greater than today, so it qualified for rule
one, Hi - Li {if Li-1 >= Li}, and today's high was lower than yesterday's 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

 


--



7:54 AM



	[[alternative HTML version deleted]]

