/*X_CategoryAddSymbols v1*/ /*Assigns tickers to Industries, according to Watchlist membership, on a one to one basis i.e. tickers in Watchlist 0 are assigned to Industry 0 etc. Adds auto Watch list count to /*X_CategoryAddSymbols v0 */ //tested OK on AB v4.9 Filter = 1; Count = 0; for(i = 0; i < 63; i++)//"W", the Watchlist number, is limited to 63 for v4.9 and below. if(StrLeft(CategoryGetName(categoryWatchlist,i),4) != "List") Count = Count + 1; for(W = 0; W < Count; W++) if(InWatchList(W)) { CategoryAddSymbol("",categoryIndustry,W); } AddColumn(Close,"Close",1.2);