How does IsIndex() and IsFavorite() determine whether a symbol is an index or favourite?

How does the AFL function IsIndex() and IsFavorite() decide whether a symbol is an index or not? When I import a new symbol, the ASCII file does not specify whether the symbol is index or not. Same goes for favourite. How does Amibroker know?

https://www.amibroker.com/guide/afl/isindex.html
https://www.amibroker.com/guide/afl/isfavorite.html

I guess by the options you can set in each of the symbol in the Information window:
is%20Index%20Favorite

2 Likes

Object model and "Types" for information fields can be found at:
http://www.amibroker.com/guide/objects.html