예제 #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);
        }
예제 #3
0
 public IndicatorBase()
 {
     _effectiveIndicators = new EffectiveIndicators(this);
 }
예제 #4
0
 protected override void OnInitializing()
 {
     kDonc = EffectiveIndicators.DonchianChannel(Template.KPeriods);
     base.OnInitializing();
 }