[]
Searches for the specified bar type and returns the zero-based index of the first occurrence.
public int IndexOf(BarType barType)