[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Metastockusers] TRUE RANGE



PureBytes Links

Trading Reference Links

Hi again,

I am looking at coding true range,TRUE HIGH AND TRUE LOW into a formula.

Basically true range is whichever is the greatest of:

1.Current high - Current low 

2.Current high - Previous close

2.Current low - Previous close

So we will call True range "x"

True high is whichever is the greatest of:


1.Current high

2.Previous close

So we will call True High "y"


True low is whichever is the least of:


1.Current low

2.Previous close

So we will call True Low "z"




So my formula goes along the lines of:

1.H > x*1.618 + ref(h,-1) AND H > ref(y,-3) and H >ref(y,-3)


2.L < x*1.618 - ref(h,-1) AND L < ref(z,-3) and L >ref(z,-3)

My dilemma is coding x,y and z

Any clues?

Cheers

Norman


 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Metastockusers/

<*> To unsubscribe from this group, send an email to:
    Metastockusers-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/