GpuMacdSignalParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU MACD with signal calculation.

実装: IGpuIndicatorParams

コンストラクター

GpuMacdSignalParams
public GpuMacdSignalParams(int longLength, int shortLength, int signalLength, byte priceType)
gpuMacdSignalParams = GpuMacdSignalParams(longLength, shortLength, signalLength, priceType)

Parameter set for GPU MACD with signal calculation.

longLength
Length for the long EMA.
shortLength
Length for the short EMA.
signalLength
Length for the signal EMA.
priceType
Price type.

メソッド

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

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

indicator
IIndicator

フィールド

LongLength
public int LongLength
value = gpuMacdSignalParams.LongLength

Length for the long EMA.

PriceType
public byte PriceType
value = gpuMacdSignalParams.PriceType

Price type to extract from candles.

ShortLength
public int ShortLength
value = gpuMacdSignalParams.ShortLength

Length for the short EMA.

SignalLength
public int SignalLength
value = gpuMacdSignalParams.SignalLength

Length for the signal EMA.