This is driving me crazy. I'm still learning the AFL language. I just
don't find it as flexible as VBA. Please help me write some AFL code
to scoop up all the symbols in my data base which have zero bars
(BarCount = 0) or perhaps Volume less then a certain amount and add
them to a specific group. My end goal is to use the AFL code to do the
grunt work for me so I can then use the "Organize Assignments" window
to delete the little ba$tards. I've spent more then 2 hours trying to
figure this out and my best result will only affect the active symbol.
I need some section of code that will scan the entire database.

Code:
_SECTION_BEGIN("Empty_Tickers") ;
// the code removes symbols to group number 255 
if( IsNull(BarCount) )// sets all symbols with no data to Group 255
{ 
CategoryAddSymbol("", categoryGroup, 255 ) ;
} 
Buy = 0 ;
Sell = 0 ;
_SECTION_END() ;

Reply via email to