GpuMacdHistogramParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU MACD histogram calculation.

Implementiert: IGpuIndicatorParams

Konstruktoren

GpuMacdHistogramParams
public GpuMacdHistogramParams(int longLength, int shortLength, int signalLength, byte priceType)
gpuMacdHistogramParams = GpuMacdHistogramParams(longLength, shortLength, signalLength, priceType)

Parameter set for GPU MACD histogram calculation.

longLength
Long EMA length.
shortLength
Short EMA length.
signalLength
Signal EMA length.
priceType
Price type.

Methoden

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

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

indicator
IIndicator

Felder

LongLength
public int LongLength
value = gpuMacdHistogramParams.LongLength

Long EMA length.

PriceType
public byte PriceType
value = gpuMacdHistogramParams.PriceType

Price type to extract from candles.

ShortLength
public int ShortLength
value = gpuMacdHistogramParams.ShortLength

Short EMA length.

SignalLength
public int SignalLength
value = gpuMacdHistogramParams.SignalLength

Signal EMA length.