You can use addtocomposite then read that as foreign
addtocomposite(1,"~count","V");
count = foreign("V","~count");
and the one yu mentioned which requires you to input the watchlist number
// retrive comma-separated list of symbols in watch list
list = CategoryGetSymbols( categoryWatchlist, 1);
Count = 0; // just in case there are no watch list members
for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ )
{ Count = Count++; }
if you are using another list like industry then you could just use the industryid()
On 3/12/06, Paul Ho <paultsho@xxxxxxxxxxxx> wrote:
Hi Tomasz or others
Is there a way to programmatically retrieve the count of symbols to be analysed by AA either through OLE or otherwise?
we have Stocks.Count for the whole stock collection or CategoryGetSymbols to retrieve a comma separated lists but I'm not aware of anything else.
cheers
Paul.
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 other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
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 other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
|