MomentumOscillator


Summary

The calculation of the Momentum Oscillator indicator.

Remarks

Momentum measures the rate of price change over time and provides a leading indicator of changes in trend. It gives signals before price action happens. The momentum oscillator is unbounded i.e. there is no maximum or minimum value. It is calculated as the closing price now minus the closing price n periods ago.

Syntax

public interface MomentumOscillator

Members

NameTypeSummary
Result PropertyGets the resulting series of the Momentum Oscillator indicator calculation.

Example 1

private MomentumOscillator _momentum;
protected override void Initialize()
{
    _momentum = Indicators.MomentumOscillator(MarketSeries.Close, 14);
}
public override void Calculate(int index)
{
    double momentum = _momentum.Result[index];
}
Reference