Esempio n. 1
0
 protected override void Init()
 {
     base.name        = "D";
     base.description = "KDJ.D";
     base.Clear();
     base.calculate = true;
     base.Detach();
     if (this.kdj_k != null)
     {
         this.kdj_k.Detach();
     }
     this.kdj_k = new KDJ.K(base.input, this.length);
     base.Attach();
 }
Esempio n. 2
0
 protected override void Init()
 {
     base.name        = "KDJ(" + length + ")";
     base.description = "Stochastic Oscillator";
     base.Clear();
     base.calculate = true;
     base.Detach();
     if (this.kdj_k != null)
     {
         this.kdj_k.Detach();
     }
     if (this.kdj_d != null)
     {
         this.kdj_d.Detach();
     }
     this.kdj_k = new KDJ.K(base.input, this.length);
     this.kdj_d = new KDJ.D(base.input, this.length);
     base.Attach();
 }