GpuMacdParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU MACD calculation.

Реализует: IGpuIndicatorParams

Конструкторы

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.

Методы

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

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

indicator
IIndicator

Поля

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.