PureBytes Links
Trading Reference Links
|
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@xxxxxxxxxxxxx>
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 --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/
|