Пример #1
0
 protected override void OnInitializing()
 {
     movingAverage = EffectiveIndicators.MovingAverage(Template.MovingAverageType, Template.Periods); // Must be before base.Initializing
     base.OnInitializing();
 }
Пример #2
0
        protected override void OnInitialized()
        {
            base.OnInitialized();

            sma = EffectiveIndicators.MovingAverage(MovingAverageType.Simple, periods, Template.IndicatorBarComponent, this.DataSeries);
        }