GpuKamaParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Kaufman Adaptive Moving Average (KAMA) calculation.

Implementa: IGpuIndicatorParams

Construtores

GpuKamaParams
public GpuKamaParams(int length, int fastPeriod, int slowPeriod, byte priceType)
gpuKamaParams = GpuKamaParams(length, fastPeriod, slowPeriod, priceType)

Parameter set for GPU Kaufman Adaptive Moving Average (KAMA) calculation.

length
KAMA efficiency ratio window length.
fastPeriod
Fast smoothing constant period.
slowPeriod
Slow smoothing constant period.
priceType
Price type.

Métodos

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

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

indicator
IIndicator

Campos

FastPeriod
public int FastPeriod
value = gpuKamaParams.FastPeriod

Fast smoothing constant period.

Length
public int Length
value = gpuKamaParams.Length

KAMA efficiency ratio window length.

PriceType
public byte PriceType
value = gpuKamaParams.PriceType

Price type to extract from candles.

SlowPeriod
public int SlowPeriod
value = gpuKamaParams.SlowPeriod

Slow smoothing constant period.