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.