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

Re: [Metastockusers] # of consecutive negagive 1 day roc



PureBytes Links

Trading Reference Links


thanks a lot roy,
 
working fine
 Roy Larsen <rlarsen@xxxxxxxxxxxxxx> wrote:
Trend2trader> does anyone know how to programm an indicator which counts the # of > consecutive down days?> > thanks in advanceTry this  {Signal Counter} a:=C<Ref(C,-1); {signal}b:=C>=Ref(C,-1) AND Alert((C>=Ref(C,-1))=0,2); {reset}i:=Cum(a+b>-1)=1;f:=BarsSince(i OR a)<BarsSince(i OR b);g:=Cum(a OR Cross(a,0.5))-ValueWhen(1,i OR (f AND Alert(f=0,2)) OR (f=0 AND Alert(f,2)),Cum(a OR Cross(a,0.5)));If(f,g+1,g);RoyTo unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxYour use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now






Yahoo! Groups Sponsor


<font face=arial
size=-2>ADVERTISEMENT<img src="http://ad.doubleclick.net/ad/N879.ameritrade.yahoo/B1054521.11;sz=300x250;adc=ZHS;ord=1039211628?"; alt="" width="300" height="250"
border="0">









To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.