We evaluate the n-period momentum which is simply the difference between today's closing price and the close price n periods ago, for all periods for which sufficient historical data is given.
A double array where the first term is the momentum for the most recent trading period, the second term is the momentum for the previous trading period and so on.
Remark: Extended values and/or turning points of the momentum are good indicators of oversold or over brought conditions (respectively).
| Exception Type | Condition |
|---|---|
| ArgumentException | Thrown if either parameter is strictly negative. |
Momentum Class | WebCab.COM.Finance.Trading.Indicators Namespace