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
-
IPersistableICloneable<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
LongTerm
Long-term oscillator.
[Browsable(false)]
public KasePeakOscillatorPart LongTerm { get; }
Property Value
Measure
public override IndicatorMeasures Measure { get; }
Property Value
ShortPeriod
Short period.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Short", Description = "ShortPeriod", GroupName = "General")]
public int ShortPeriod { get; set; }
Property Value
ShortTerm
Short-term oscillator.
[Browsable(false)]
public KasePeakOscillatorPart ShortTerm { get; }
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()