MarketID
- market ID / name

Information / Categories
(AmiBroker 3.80)


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

References:

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

More information:

See updated/extended version on-line.