PureBytes Links
Trading Reference Links
|
Stephane,
Thanks for the AFL code. It is very helpful.
But, I still dont know why I could not display the "I" field using
AddColumn in explore window.
Charles
--- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset"
<nenapacwanfr@xxxx> wrote:
> hi, you can use
> list = GetCategorySymbols( categoryWatchlist, 0);
> f=0;//initialize
> Count=0;
> for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ )
> {
> f = Foreign( sym, "C" );
> Count++;
> }
>
> Plot( Count, "str", colorGreen ); // plot dernier ticker
>
>
>
> <firstview2000_1999@xxxx> wrote:
> > Dear Experts,
> >
> > I tried to count the stock number in a watch list in AA-explore
> > window using the following AFL.
> >
> > AddToComposite( 1, "~CompN", "I", atcFlagResetValues |
> > atcFlagEnableInExplore);
> >
> > Buy = 0;
> > Filter = 1;
> >
> > AddColumn(OpenInt, "Count",1.0);
> >
> > But the Count field always displays 0.
> >
> > Can you tell me what's wrong with it ???
> >
> > Thanks,
> > Charles
------------------------ 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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|