GpuJmaParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Jurik Moving Average (JMA) calculation.

Implementa: IGpuIndicatorParams

Constructores

GpuJmaParams
public GpuJmaParams(int length, int phase, byte priceType)
gpuJmaParams = GpuJmaParams(length, phase, priceType)

Parameter set for GPU Jurik Moving Average (JMA) calculation.

length
JMA length.
phase
JMA phase.
priceType
Price type.

Métodos

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

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

indicator
IIndicator

Campos

Length
public int Length
value = gpuJmaParams.Length

JMA window length.

Phase
public int Phase
value = gpuJmaParams.Phase

JMA phase value (-100..100).

PriceType
public byte PriceType
value = gpuJmaParams.PriceType

Price type to extract from candles.