[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Modified symbol



PureBytes Links

Trading Reference Links

This should be something that is very elementary....you should not have to create a composite ticker...
 
we just want to run an explore and put those tickers that meet certain criteria into a watchlist and mark those tickers that meet a 2nd  criteria with a ~ in front of the name...
 
Maybe Tomasz can look at it.
 
Anthony
----- Original Message -----
From: vlanschot
Sent: Tuesday, April 17, 2007 7:35 AM
Subject: [amibroker] Re: Modified symbol

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
> >
>




avast! Antivirus: Inbound message clean.

Virus Database (VPS): 000734-0, 04/16/2007
Tested on: 4/17/2007 7:39:14 AM
avast! - copyright (c) 1988-2007 ALWIL Software.


__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___