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

[Metastockusers] Re: TRUE RANGE



PureBytes Links

Trading Reference Links

Thanks for that jose

Cheers

Norman


--- In Metastockusers@xxxxxxxxxxxxxxx, "Jose Silva" <josesilva22@xxxx>
wrote:
> x:=ATR(1);
> y:=Max(H,Ref(C,-1));
> z:=Min(L,Ref(C,-1));
> 
> Logic for conditions 1 & 2 is flawed.
> 
> 
> jose '-)
> http://www.metastocktools.com
> 
> 
> 
> --- In Metastockusers@xxxxxxxxxxxxxxx, "ruagoodp" <almutwinter@xxxx> 
> wrote:
> > 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 --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/