Example #1
0
File: ADX.cs Project: heber/FreeOQ
    protected override void Init()
    {
			this.Name = "ADX" + (object) this.fLength;
			this.Title = "ADX";
      this.Clear();
      this.fCalculate = true;
      if (this.fInput == null)
        return;
			if (TimeSeries.fNameOption == ENameOption.Long)
        this.Name = this.fInput.Name + this.Name;
      this.Disconnect();
      if (this.fDX != null)
        this.fDX.Detach();
      this.fDX = new DX(this.fInput, this.fLength, this.fStyle);
      this.fDX.DrawEnabled = false;
      this.Connect();
    }