WebCab Technical Analysis Web Services for Delphi v1.1

Momentum.MomentumIndicator Method 

We evaluate the n-period momentum which is simply the difference between todays closing price and the close price n periods ago.

public double MomentumIndicator(
   double close,
   double nperiodPrice
);

Parameters

close
The last closing price of the asset considered.
nperiodPrice
The closing price of the asset considered n periods ago.

Return Value

The double value of the n-period momentum for todays closing price.

Remarks

The momentum indicator as the name suggests is the velocity with which the price is rising or falling, and hence will reflect how aggressively the asset is being purchased or sold.

Extended values and/or turning points of the momentum are good indicators of oversold or over brought conditions (respectively).

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if either parameter is strictly negative.

See Also

Momentum Class | Indicators Namespace