GpuRateOfChangeParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Rate of Change calculation.

Implementa: IGpuIndicatorParams

Construtores

GpuRateOfChangeParams
public GpuRateOfChangeParams(int length, byte priceType)
gpuRateOfChangeParams = GpuRateOfChangeParams(length, priceType)

Parameter set for GPU Rate of Change calculation.

length
Rate of Change length.
priceType
Price type.

Métodos

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

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

indicator
IIndicator

Campos

Length
public int Length
value = gpuRateOfChangeParams.Length

Rate of Change period length.

PriceType
public byte PriceType
value = gpuRateOfChangeParams.PriceType

Price type to extract from candles.