Inheritance: Indicator
示例#1
0
 public EWV(ISeries input, double length, double initValue = 0) : base(input)
 {
     Length                = length;
     InitValue             = initValue;
     this.ewm_0            = new EWM(input, length);
     this.ewm_0.AutoUpdate = false;
     this.timeSeries_0     = new TimeSeries();
     this.ewm_1            = new EWM(this.timeSeries_0, length);
 }
示例#2
0
 public EWV(ISeries input, double length, double initValue = 0) : base(input)
 {
     Length = length;
     InitValue = initValue;
     this.ewm_0 = new EWM(input, length);
     this.ewm_0.AutoUpdate = false;
     this.timeSeries_0 = new TimeSeries();
     this.ewm_1 = new EWM(this.timeSeries_0, length);
 }