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

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



PureBytes Links

Trading Reference Links

Instead of using PREV you should use SUM - much more efficient.

 

Ind:=Mov(C,20,E); { Indicator Example }
DaysAbove = SUM(Ind > Ref(Ind,-1);

DaysEqual = SUM(Ind = Ref(Ind,-1);

DaysBelow = SUM(Ind < Ref(Ind,-1);

 

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 7:56 AM
To: mmbbrr79
Subject: [EquisMetaStock Group] Count # of Days Indicator Has Risen/Fallen

 

mmbbrr79,
As Indicator it is:

Ind:=Mov(C,20,E); { Indicator Example }
DaysAbove:=If(Ind>Ref(Ind,-1),1+ PREV,0);
DaysBelow:=If(Ind <Ref(Ind,-1),1+ PREV,0);
DaysEqual:=If(Ind =Ref(Ind,-1),1+ PREV,0);
DaysAbove;
DaysBelow;
DaysEqual;

.

 



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



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/