symbolIsIndex property
Whether the currently-charted symbol ITSELF is a spot index (e.g. NIFTY, BANKNIFTY) — as opposed to isEffectiveUnderlyingIndex, which asks about the underlying. Indices have no traded volume, so indicators that read it (e.g. Volume) should be unavailable rather than showing a flat zero; an option/future ON an index still has real volume and must stay unaffected.
Implementation
bool get symbolIsIndex =>
indexSymbolsContain(parseIndexSymbols, parseSymInfo.id);