GpuShiftParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Shift calculation.

实现: IGpuIndicatorParams

构造函数

GpuShiftParams
public GpuShiftParams(int length, byte priceType)
gpuShiftParams = GpuShiftParams(length, priceType)

Parameter set for GPU Shift calculation.

length
Shift length.
priceType
Price type.

方法

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

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

indicator
IIndicator

字段

Length
public int Length
value = gpuShiftParams.Length

Shift length.

PriceType
public byte PriceType
value = gpuShiftParams.PriceType

Price type to extract from candles.