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))]
[Doc("topics/api/indicators/list_of_indicators/klinger_volume_oscillator.html")]
[IndicatorOut(typeof(KlingerVolumeOscillatorValue))]
public class KlingerVolumeOscillator : BaseComplexIndicator<KlingerVolumeOscillatorValue>, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
KlingerVolumeOscillator
Implements
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

LongEma

Long EMA.

[Browsable(false)]
public ExponentialMovingAverage LongEma { get; }

Property Value

ExponentialMovingAverage

LongPeriod

Long period.

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

Property Value

int

ShortEma

Short EMA.

[Browsable(false)]
public ExponentialMovingAverage ShortEma { get; }

Property Value

ExponentialMovingAverage

ShortPeriod

Short period.

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

Property Value

int

Methods

CreateValue(DateTimeOffset)

protected override KlingerVolumeOscillatorValue CreateValue(DateTimeOffset time)

Parameters

time DateTimeOffset

Time

Returns

KlingerVolumeOscillatorValue

KlingerVolumeOscillatorValue

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