GpuKlingerVolumeOscillatorParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Klinger Volume Oscillator calculation.
Implements: IGpuIndicatorParams
Constructors
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.
Methods
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuKlingerVolumeOscillatorParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Fields
LongLength
public int LongLength
value = gpuKlingerVolumeOscillatorParams.LongLength
Length for the long EMA.
ShortLength
public int ShortLength
value = gpuKlingerVolumeOscillatorParams.ShortLength
Length for the short EMA.