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

RE: Re[2]: [EquisMetaStock Group] Count # of Days Indicator Has Risen/Fallen



PureBytes Links

Trading Reference Links

Oops I think I meant CUM instead of SUM - sorry about that.

 

Best regards,
Richard Dale.
Norgate Investor Services
- Premium quality Stock, Futures and Foreign Exchange Data for
  markets in Australia, Asia, Canada, Europe, UK & USA -
www.premiumdata.net 

From: Paolo [mailto:italoarg76@xxxxxxxx] 
Sent: Monday, 26 June 2006 11:40 AM
To: Richard Dale
Subject: Re[2]: [EquisMetaStock Group] Count # of Days Indicator Has
Risen/Fallen

 

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);

 



[Non-text portions of this message have been removed]



------------------------ 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/