GpuDemandIndexParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Demand Index calculation.

实现: IGpuIndicatorParams

构造函数

GpuDemandIndexParams
public GpuDemandIndexParams(int length)
gpuDemandIndexParams = GpuDemandIndexParams(length)

Parameter set for GPU Demand Index calculation.

length
Demand Index moving average length.

方法

FromIndicator
public void FromIndicator(IIndicator indicator)
gpuDemandIndexParams.FromIndicator(indicator)

Copy parameters from the given indicator instance into this params struct.

indicator
IIndicator

字段

Length
public int Length
value = gpuDemandIndexParams.Length

Demand Index moving average window length.