IndustryID
- get industry ID / name

Information / Categories
(AmiBroker 3.80)


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

References:

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

More information:

See updated/extended version on-line.