GpuSumParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Sum calculation.

实现: IGpuIndicatorParams

构造函数

GpuSumParams
public GpuSumParams(int length, byte priceType)
gpuSumParams = GpuSumParams(length, priceType)

Parameter set for GPU Sum calculation.

length
Sum window length.
priceType
Price type.

方法

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

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

indicator
IIndicator

字段

Length
public int Length
value = gpuSumParams.Length

Sum window length.

PriceType
public byte PriceType
value = gpuSumParams.PriceType

Price type to extract from candles.