GpuWmaParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU WMA calculation.

Implementa: IGpuIndicatorParams

Construtores

GpuWmaParams
public GpuWmaParams(int length, byte priceType)
gpuWmaParams = GpuWmaParams(length, priceType)

Parameter set for GPU WMA calculation.

length
WMA length.
priceType
Price type.

Métodos

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

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

indicator
IIndicator

Campos

Length
public int Length
value = gpuWmaParams.Length

WMA window length.

PriceType
public byte PriceType
value = gpuWmaParams.PriceType

Price type to extract from candles.