/// <summary> /// Called on each bar update event (incoming tick) /// </summary> protected override void OnBarUpdate() { if (CurrentBar < momo) { return; } Difference.Set(mom[0] - dexp[0]); }