PureBytes Links
Trading Reference Links
|
Richard,
I was sure about this suggestion!!! ha!
Anyway, thank you in advance :)
If I do you told me the result is diferent.
Your code DO NOT STOP the counting :|
CUM(Ind > Ref(Ind,-1) <> If(Ind >Ref(Ind,-1),1+ PREV,0)
CUM(Ind > Ref(Ind,-1) == If(Ind >Ref(Ind,-1),1+ PREV, PREV)
Look the diference (!)
"DaysAbobe" should be == If(Ind >Ref(Ind,-1),1+ PREV,0)
Best regards,
Pablo
RD> Instead of using PREV you should use SUM - much more efficient.
RD> Ind:=Mov(C,20,E); { Indicator Example }
RD> DaysAbove = SUM(Ind > Ref(Ind,-1);
RD> DaysEqual = SUM(Ind = Ref(Ind,-1);
RD> DaysBelow = SUM(Ind < Ref(Ind,-1);
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> 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/
|