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

[EquisMetaStock Group] Re: Cycle tops and bottoms



PureBytes Links

Trading Reference Links

Cool beans! I figured it out myself by looking at some other formulas 
w/input. Here's the code which allows you to input the period. The 
default is 10:
________

PERIOD:=Input("PERIOD FOR DBL STO",1,1000,10);
denom1:= If(HHV(H,PERIOD)-LLV(L,PERIOD)>0, HHV(H,PERIOD)-LLV
(L,PERIOD), 1);
P1:= Mov(((C-LLV(L,10))/ denom1)*100,3,E);
denom2 := If(HHV(P1,PERIOD)-LLV(P1,PERIOD)>0, HHV(P1,PERIOD)-LLV
(P1,PERIOD), 1);
Mov(((P1-LLV(P1,PERIOD))/denom2)*100,3,E)
________

Harold


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Special Sale: 50% off ReplayTV
Easily record your favorite shows!
CNet Ranked #1 over Tivo!
http://us.click.yahoo.com/WUMW7B/85qGAA/ySSFAA/BefplB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

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