예제 #1
0
        /// <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);
        }
예제 #2
0
        /// <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);
        }