PureBytes Links
Trading Reference Links
|
Roy -
Works like a charm. Thanks a million. Would never have figured it out.
Regards,
Ron
--- In Metastockusers@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx>
wrote:
> Hi Ron
>
>
> Try this.
>
> BarsSince(Bottom)+ValueWhen(1,Bottom,1+Ref(BarsSince(Bottom),-1));
>
>
> Kind regards
>
> Roy
> www.metastocktips.co.nz
>
>
>
>
>
> ----- Original Message -----
> From: "rsb_44" <ronber@xxxx>
> To: <Metastockusers@xxxxxxxxxxxxxxx>
> Sent: Thursday, May 26, 2005 8:14 AM
> Subject: [Metastockusers] Barssince event
>
>
> > Bottom:= ref(L,-1)<L and ref(L,-1)< ref(L,-2);
> >
> > P2:=ValueWhen(2, BOTTOM, Ref(L,-1));
> >
> > Gives me the low of the 2nd most reent bottom.
> >
> > I want to know how many bars passed since the 2nd most recent
bottom.
> >
> > I've tried various flavors of Barssince, but without success.
> >
> > Neither below worked.
> > Barssince(P2=P2);
> > Barssince(ref(L,-1)=P2);
> >
> > Any help is appreciated.
> >
> > TIA
> > Ron
> >
> >
> >
> >
> > ------------------------------------------------------------------
--------------
> > Yahoo! Groups Links
> >
> > a.. To visit your group on the web, go to:
> > http://groups.yahoo.com/group/Metastockusers/
> >
> > b.. To unsubscribe from this group, send an email to:
> > Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
> >
> > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> >
> >
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/zMEolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
<*> To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|