PureBytes Links
Trading Reference Links
|
Safdar,
It means that the variable is not properly written. Should be
something like:
today:=C<ref(C,-1);
If the colon or semicolon is missing you will get the message you
got. All variables must be in this form.
Should be:
today:=C<ref(C,-1);
onedb:=ref(c,-1)<ref(c,-2);
twodb:=ref(c,-2)<ref(c,-3);
thredb:=ref(c,-3)<ref(c,-4);
fourdb:=ref(c,-4)<ref(c,-5);
fivedb:=ref(c,-5)<ref(c,-6);
sixdb:=ref(c,-6)<ref(c,-7);
TOTAL:=today+onedb+twodb+thredb+fourdb+fivedb+sixdb;
Total;{end}
The plot will yield the number of days out of seven that the close
was less than the day before. This is not the most eloquent way but
should work.
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, Safdar Ali Bagasrawala
<safdar19@xxxx> wrote:
> hi paul
> it does not work
> "This is not a recognized name, constant or operator.
> is flashed"
> ----- Original Message -----
> From: Paul Lerno
> To: equismetastock@xxxxxxxxxxxxxxx
> Sent: Saturday, February 12, 2005 12:56 AM
> Subject: Re: [EquisMetaStock Group] how to find maximum down days
>
>
> Safdar,
> Try this: 1db=1dayback
> today:=C<ref(C,-1);
> 1db:=ref(c,-1)<ref(c,-2);
> etc
> today+1db+.....
> Greetings
> Paul
> ----- Original Message -----
> From: Safdar Ali Bagasrawala
> To: equismetastock@xxxxxxxxxxxxxxx
> Sent: Friday, February 11, 2005 6:54 PM
> Subject: [EquisMetaStock Group] how to find maximum down days
>
>
> The following formula in the filter finds stocks which have
fallen for 5 straight days:
> CLOSE<Ref(CLOSE,-1) AND Ref(CLOSE,-2)>Ref(CLOSE,-1) AND
> Ref(CLOSE,-3)>Ref(CLOSE,-2) AND
> Ref(CLOSE,-4)>Ref(CLOSE,-3)AND
> Ref(CLOSE,-5)>Ref(CLOSE,-4)
>
> Can anybody suggest formula which finds stock which have fallen
5 out of 7 days or 4 out of 6 days etc.
>
------------------------ 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/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/
|