Table of Contents

Class KasePeakOscillator

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

Kase Peak Oscillator indicator.

[Display(ResourceType = typeof(LocalizedStrings), Name = "KPO", Description = "KasePeakOscillator")]
[IndicatorIn(typeof(CandleIndicatorValue))]
public class KasePeakOscillator : BaseComplexIndicator, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
KasePeakOscillator
Implements
IPersistable
ICloneable<IIndicator>
Derived
Inherited Members
Extension Methods

Constructors

KasePeakOscillator()

Initializes a new instance of the KasePeakOscillator.

public KasePeakOscillator()

Properties

LongPeriod

Long period.

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

Property Value

int

LongTerm

Long-term oscillator.

[Browsable(false)]
public KasePeakOscillatorPart LongTerm { get; }

Property Value

KasePeakOscillatorPart

Measure

public override IndicatorMeasures Measure { get; }

Property Value

IndicatorMeasures

ShortPeriod

Short period.

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

Property Value

int

ShortTerm

Short-term oscillator.

[Browsable(false)]
public KasePeakOscillatorPart ShortTerm { get; }

Property Value

KasePeakOscillatorPart

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