MomentumOscillator


Summary

The calculation of a momentum oscillator

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 PropertyThe resulting series of the momentum oscillator 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];
}