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

NumValuesToInitialize

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals true). null if undefined.

public override int NumValuesToInitialize { get; }

Property Value

int

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