PureBytes Links
Trading Reference Links
|
Hi,
You could try breaking it down further and displaying the results to isolate
where the strange behavior is creeping in:
y = c > ref( c, -1 );
z = v > ref( v, -1 );
x = y and z;
five=Sum(x,5);
addcolumn( y, "y" 1.0);
addcolumn( z, "z" 1.0);
addcolumn( x, "x" 1.0);
AddColumn(five,"5days",1);
AddColumn((five/5)*100,"%five",1.2,IIf((five/5)*100 >=50,
colorGreen,colorRed));
Steve
----- Original Message -----
From: "dom1_1998" <Dom2000@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, April 08, 2004 11:25 PM
Subject: [amibroker] Re: Sometimes
> I forgot to add, this happens when using the symbol DIA and !COMP.
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "dom1_1998" <Dom2000@xxxx> wrote:
> > This is strange. I have this formula:
> >
> > x=C >Ref(C,-1)AND V > Ref(V,-1);
> > five=Sum(x,5);
> > AddColumn(five,"5days",1);
> > AddColumn((five/5)*100,"%five",1.2,IIf((five/5)*100 >=50,
> > colorGreen,colorRed));
> > Apply to current stock
> > n=1
> >
> > It normally works fine but every so often the columns are blank. It
> > won't calculate the numbers. I even tried n=7 and it gave me the
> > numbers up to April 7th but won't calculate it for the 8th.
> >
> > Any ideas other than it may be haunted?
> >
> > TIA,
> >
> > Dominick
>
>
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|