/// <summary> /// Deserialization callback. /// </summary> public override void OnDeserialization(object sender) { base.OnDeserialization(sender); // Needs immediate initialization since it will be added to chart. _chartSeries.Initialize(this); }
/// <summary> /// Constructor. /// </summary> public PlatformIndicator(string name, bool?isTradeable, bool?isScaledToQuotes, string[] resultSetNames) : base(name, isTradeable, isScaledToQuotes, resultSetNames) { TracerHelper.Trace(this.Name); _chartSeries = CreateChartSeries(); // Needs immediate initialization since it will be added to chart. _chartSeries.Initialize(this); }
/// <summary> /// Constructor. /// </summary> public PlatformIndicator(string name, bool? isTradeable, bool? isScaledToQuotes, string[] resultSetNames) : base(name, isTradeable, isScaledToQuotes, resultSetNames) { TracerHelper.Trace(this.Name); _chartSeries = CreateChartSeries(); // Needs immediate initialization since it will be added to chart. _chartSeries.Initialize(this); }