public int GetMasterBarStart(MasterBar bar) { if (!MasterBarLookup.ContainsKey(bar.Index)) { return 0; } return MasterBarLookup[bar.Index].Start; }