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.