PureBytes Links
Trading Reference Links
|
Anthony,
Very interesting code. Thanks a lot for sharing and helping!
Regards,
Heyaaha
--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso"
<ajf1111@xxxx> wrote:
> Heyaaha,
>
> Here is an example for use in IB...
>
> Watchlist=Param("Watchlist",0,0,63,1);
>
> list = GetCategorySymbols( categoryWatchlist, Watchlist);
>
> f=0;//initialize
>
> Count1=0;
>
> for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ )
>
> {
>
> f = Foreign( sym, "C" );
>
> Count1++;
>
> }
>
> //Plot( Count1, "Count", colorGreen ); // plot dernier ticker
>
> MyName=WriteIf(watchlist==0,"NDX and
> components",WriteIf(watchlist==1,"Test1",WriteIf
(watchlist==2,"Test2","")));
>
> Title= WriteVal(Count1,1) + " tickers in Watchlist #
> "+WriteVal(watchlist,1)+".."+myname;
>
>
>
> Anthony
>
> ----- Original Message -----
> From: "heyaaha" <heyaaha@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, February 10, 2004 11:59 PM
> Subject: [amibroker] Re: Watchlist names
>
>
> > Bill, can you refer your watch list in your code? If possible,
how
> > do you do that?
> >
> > Thanks
> > Heyaaha
> >
> > > -----Original Message-----
> > > From: wavemechanic [mailto:wd78@x...]
> > > Sent: Sunday, February 08, 2004 6:59 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Watchlist names
> > >
> > >
> > > I suspect the answer is no, but I'll ask anyway. Is it
possible
> > to give
> > > watchlists a name in addition to retaining its number? The name
> > would help
> > > identify the list and the number provides an easier way to
refer to
> > the list
> > > in AFL.
> > >
> > > Thanks.
> > >
> > > Bill
> > >
> > >
> >
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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
> >
> >
> >
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Send the freshest Valentine's flowers with a FREE vase from only $29.99!
Shipped direct from the grower with a 7 day freshness guarantee and prices so low you save 30-55% off retail!
http://us.click.yahoo.com/_iAw9B/xdlHAA/3jkFAA/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/
|