GpuKlingerVolumeOscillatorParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Klinger Volume Oscillator calculation.

实现: IGpuIndicatorParams

构造函数

GpuKlingerVolumeOscillatorParams
public GpuKlingerVolumeOscillatorParams(int shortLength, int longLength)
gpuKlingerVolumeOscillatorParams = GpuKlingerVolumeOscillatorParams(shortLength, longLength)

Parameter set for GPU Klinger Volume Oscillator calculation.

shortLength
Short EMA length.
longLength
Long EMA length.

方法

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

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

indicator
IIndicator

字段

LongLength
public int LongLength
value = gpuKlingerVolumeOscillatorParams.LongLength

Length for the long EMA.

ShortLength
public int ShortLength
value = gpuKlingerVolumeOscillatorParams.ShortLength

Length for the short EMA.