GroupID
- get group ID/name

Information / Categories
(AmiBroker 3.80)


SYNTAX GroupID( mode = 0 )
RETURNS NUMBER/STRING
FUNCTION Retrieves current stock group ID/name When mode = 0 (the default value ) this function returns numerical group ID (consecutive group number)
When mode = 1 this function returns name of the group.
EXAMPLE Filter = GroupID() == 7 OR GroupID() == 9;
AddTextColumn( GroupID( 1 ), "Group name" );
SEE ALSO  

References:

The GroupID function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.