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.