Number of symbols belonging to category

Watchlists, groups and market listings contain the number of issues contained. That number is visible when list is left clicked.

Example: NASDAQ (4) (3244 symbols) ---- Is this number accessible via AFL?


Please start new topic. Your question got nothing to do with current topic of identifying when analysis is being finished.

Anyway, use StrCount and Categorygetsymbols()


listnum = 0;
category = categoryWatchlist;
symlist = CategoryGetSymbols( category, listnum );
num_symbols = StrCount( symlist , "," ) + 1;

printf( "Number of symbols in Watchlist(%g) -> %s: %g", listnum, CategoryGetName(category, listnum), num_symbols );