GpuShiftParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Shift calculation.

Implementa: IGpuIndicatorParams

Construtores

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

Parameter set for GPU Shift calculation.

length
Shift length.
priceType
Price type.

Métodos

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

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

indicator
IIndicator

Campos

Length
public int Length
value = gpuShiftParams.Length

Shift length.

PriceType
public byte PriceType
value = gpuShiftParams.PriceType

Price type to extract from candles.