Class KlingerVolumeOscillator
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Klinger Volume Oscillator.
[Display(ResourceType = typeof(LocalizedStrings), Name = "KVO", Description = "KlingerVolumeOscillator")]
[IndicatorIn(typeof(CandleIndicatorValue))]
public class KlingerVolumeOscillator : BaseComplexIndicator, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
KlingerVolumeOscillator
- Implements
-
IPersistableICloneable<IIndicator>
- Derived
- Inherited Members
- Extension Methods
Constructors
KlingerVolumeOscillator()
Initializes a new instance of the KlingerVolumeOscillator.
public KlingerVolumeOscillator()
KlingerVolumeOscillator(ExponentialMovingAverage, ExponentialMovingAverage)
Initializes a new instance of the KlingerVolumeOscillator.
public KlingerVolumeOscillator(ExponentialMovingAverage shortEma, ExponentialMovingAverage longEma)
Parameters
shortEma
ExponentialMovingAverageThe short-term EMA.
longEma
ExponentialMovingAverageThe long-term EMA.
Properties
LongPeriod
Long period.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Long", Description = "LongPeriod", GroupName = "General")]
public int LongPeriod { get; set; }
Property Value
ShortPeriod
Short period.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Short", Description = "ShortPeriod", GroupName = "General")]
public int ShortPeriod { get; set; }
Property Value
Methods
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
Reset()
To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).
public override void Reset()
ToString()
public override string ToString()