Table of Contents

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
IPersistable
ICloneable<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 ExponentialMovingAverage

The short-term EMA.

longEma ExponentialMovingAverage

The long-term EMA.

Properties

LongPeriod

Long period.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Long", Description = "LongPeriod", GroupName = "General")]
public int LongPeriod { get; set; }

Property Value

int

ShortPeriod

Short period.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Short", Description = "ShortPeriod", GroupName = "General")]
public int ShortPeriod { get; set; }

Property Value

int

Methods

OnProcess(IIndicatorValue)

To handle the input value.

protected override IIndicatorValue OnProcess(IIndicatorValue input)

Parameters

input IIndicatorValue

The 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()

Returns

string