GpuMomentumParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Momentum calculation.

Implementa: IGpuIndicatorParams

Constructores

GpuMomentumParams
public GpuMomentumParams(int length, byte priceType)
gpuMomentumParams = GpuMomentumParams(length, priceType)

Parameter set for GPU Momentum calculation.

length
Momentum length.
priceType
Price type.

Métodos

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

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

indicator
IIndicator

Campos

Length
public int Length
value = gpuMomentumParams.Length

Momentum period length.

PriceType
public byte PriceType
value = gpuMomentumParams.PriceType

Price type to extract from candles.