MomentumOscillator


Summary

The Momentum Oscillator measures the momentum of the price.

Syntax

public MomentumOscillator MomentumOscillator(DataSeries source, int periods)

Parameters

NameDescription

Example 1

private MomentumOscillator _momentum;
protected override void OnStart()
{
    _momentum = Indicators.MomentumOscillator(MarketSeries.Close, 14);
}
protected override void OnTick()
{
    double momentum = _momentum.Result[index];
}