RelativeMomentumIndex
StockSharp.Algo.Indicators
Relative Momentum Index (RMI)
Erbt von: DecimalLengthIndicator
Konstruktoren
RelativeMomentumIndex
public RelativeMomentumIndex()
relativeMomentumIndex = RelativeMomentumIndex()
Initialisiert eine neue Instanz von RelativeMomentumIndex.
Eigenschaften
Measure
public override IndicatorMeasures Measure { get; }
value = relativeMomentumIndex.Measure
IndicatorMeasures.
MomentumPeriod
public int MomentumPeriod { get; set; }
value = relativeMomentumIndex.MomentumPeriod
relativeMomentumIndex.MomentumPeriod = value
Momentum-Zeitraum.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = relativeMomentumIndex.NumValuesToInitialize
Anzahl der Werte, die verarbeitet werden müssen, damit der Indikator initialisiert werden kann (be IsFormed @ = ).
Methoden
CalcIsFormed
protected override bool CalcIsFormed()
result = relativeMomentumIndex.CalcIsFormed()
Calc IsFormed.
Rückgabe: IsFormed
Load
public override void Load(SettingsStorage storage)
relativeMomentumIndex.Load(storage)
Lasteinstellungen.
- storage
- Einstellungen Lagerung.
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = relativeMomentumIndex.OnProcessDecimal(input)
Um den Eingabewert zu verarbeiten.
- input
- Der Eingangswert.
Rückgabe: Der neue Wert des Indikators.
Save
public override void Save(SettingsStorage storage)
relativeMomentumIndex.Save(storage)
Einstellungen speichern.
- storage
- Einstellungen Lagerung.
ToString
public override string ToString()
result = relativeMomentumIndex.ToString()
Konvertieren Sie in eine Liniendarstellung.
Rückgabe: String-Leistung.