GpuPercentageVolumeOscillatorParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Percentage Volume Oscillator (PVO) calculation.
Implementiert: IGpuIndicatorParams
Konstruktoren
GpuPercentageVolumeOscillatorParams
public GpuPercentageVolumeOscillatorParams(int shortLength, int longLength)
gpuPercentageVolumeOscillatorParams = GpuPercentageVolumeOscillatorParams(shortLength, longLength)
Parameter set for GPU Percentage Volume Oscillator (PVO) calculation.
- shortLength
- Short EMA length.
- longLength
- Long EMA length.
Methoden
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuPercentageVolumeOscillatorParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Felder
LongLength
public int LongLength
value = gpuPercentageVolumeOscillatorParams.LongLength
Long EMA period length.
ShortLength
public int ShortLength
value = gpuPercentageVolumeOscillatorParams.ShortLength
Short EMA period length.