Ooops,.... should of course
be:
AddToComposite(C,"~"+Name()+" * ","C");
--- In amibroker@xxxxxxxxxps.com,
"vlanschot" <vlanschot@x..> wrote:
>
> What if you
created a new symbol with AddToComposite in Anthony's
> code
below?
>
> So:
>
> . . . .
>
> if(
LastValue( Cond==1) )
>
> {
>
AddToComposite(Name(),"~"+Name()+" * ","C");// Scan first, or
use
> settings to allow in explore, etc.
>
CategoryAddSymbol(Foreign("~"+Name()+" *
","C"),categoryWatchlist,
> 13 );
>
> }
>
> PS
>
> --- In amibroker@xxxxxxxxxps.com,
"Anthony Faragasso" <ajf1111@>
> wrote:
> >
> >
Bill ,
> >
> > You were correct..I was thinking about AA
window....
> >
> > I tried several versions of the
following...using explore and
> Scan...but can not seem to get it
to work...maybe someone can look
at
> it..or Tomasz...and see if it
is possible..
> > Cond=C > Ref(C,-1);
> >
> >
if( LastValue( Cond==1) )
> >
> > {
> >
>
> CategoryAddSymbol("~"+ Name(), categoryWatchlist, 13 );
>
>
> > }
> >
> > Filter=Cond > 0;
>
>
> > AddColumn(Cond,"");
> >
> >
//Buy=0;
> >
> > Anthony
> >
> > -----
Original Message -----
> > From: wavemechanic
> > To: amibroker@xxxxxxxxxps.com
> > Sent: Sunday, April 15, 2007 3:48 PM
> > Subject: Re:
[amibroker] Modified symbol
> >
> >
> >
>
> Anthony:
> >
> > Color could work but are you thinking
of AA window cells as
> watchlists don't have cells? I don't know how
the symbol in a
> watchlist can be colored. Did you have something in
mind?
> >
> > Bill
> > ----- Original Message
-----
> > From: Anthony Faragasso
> > To: amibroker@xxxxxxxxxps.com
> > Sent: Sunday, April 15, 2007 2:34 PM
> > Subject: Re:
[amibroker] Modified symbol
> >
> >
> >
Bill,
> >
> > How about coloring the cell that holds the
name..
> >
> > Anthony
> >
> >
>
> ----- Original Message -----
> > From: wavemechanic
>
> To: AmiBroker, User
> > Sent: Sunday, April 15, 2007 1:27
PM
> > Subject: [amibroker] Modified symbol
> >
>
>
> >
> > I place symbols in a watchlist that
satisfying a certain
> condition with CategoryAddSymbol(Name(),
watchlist, 1). However, I
> would like to "highlight" the symbol name
by, for example, adding
an
> asterisk ( * ) to the name if a second
(or more) condition is also
> met. So far, I have not found a way to
get around using only Name
()
> for the symbol in
CategoryAddSymbol(). Modifications such as Name
()
> + " * ",
etc. don't work, producing " " (empty string) for the
> symbol. Any
suggestions as to how to produce a modified symbol
> without reworking
CategoryAddSymbol() or Name()?
> >
> > Bill
>
>
> >
> >
> >
----------------------------------------------------------
--
>
--------
> >
> >
> > No virus found in this
incoming message.
> > Checked by AVG Free Edition.
> >
Version: 7.5.446 / Virus Database: 269.0.0/754 - Release
Date:
>
4/9/2007 10:59 PM
> >
>