GpuMacdParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU MACD calculation.

Implementa: IGpuIndicatorParams

Construtores

GpuMacdParams
public GpuMacdParams(int longLength, int shortLength, byte priceType)
gpuMacdParams = GpuMacdParams(longLength, shortLength, priceType)

Parameter set for GPU MACD calculation.

longLength
Long EMA length.
shortLength
Short EMA length.
priceType
Price type to extract from candles.

Métodos

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

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

indicator
IIndicator

Campos

LongLength
public int LongLength
value = gpuMacdParams.LongLength

Long EMA length.

PriceType
public byte PriceType
value = gpuMacdParams.PriceType

Price type to extract from candles.

ShortLength
public int ShortLength
value = gpuMacdParams.ShortLength

Short EMA length.