GpuShiftParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Shift calculation.

Implementiert: IGpuIndicatorParams

Konstruktoren

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

Parameter set for GPU Shift calculation.

length
Shift length.
priceType
Price type.

Methoden

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

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

indicator
IIndicator

Felder

Length
public int Length
value = gpuShiftParams.Length

Shift length.

PriceType
public byte PriceType
value = gpuShiftParams.PriceType

Price type to extract from candles.