PureBytes Links
Trading Reference Links
|
Hi Jim
Try this.
BarsSince(Ref(P,-1)>P);
Kind regards
Roy
www.metastocktips.co.nz
----- Original Message -----
From: "James Cooley" <laptop4u@xxxxxxxx>
To: <Metastockusers@xxxxxxxxxxxxxxx>
Sent: Thursday, May 26, 2005 4:35 PM
Subject: [Metastockusers] 8 days in a row: check my syntax
> Sum(Ref(P,-1)<=(P),8)=8
>
> If I plot that on the close, it should give me a +1 reading when each of the
> closes for the last 8 days is higher than the last, correct?
>
> If I've done this right, the last time we had 8 days of higher highs on the
> COMPX was on 12/27/1999.
>
>
>
> So how could I make an indicator which would display a +8 when it's been 8
> days of higher highs; a +9 for 9 days, etc. & etc.?
>
> I want to play with such a result as an exercise in elementary statistics.
> e.g.: odds are .0002 ?? that the ninth day will be higher.
>
> Regards,
>
> Jim
> Day late and a dollar short...
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --------------------------------------------------------------------------------
> 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/
|