GpuMacdSignalParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU MACD with signal calculation.
Implementa: IGpuIndicatorParams
Construtores
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.
Métodos
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuMacdSignalParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Campos
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.