We evaluate the n-day momentum which is simply the difference between today's closing price and the close price n days ago, for all days for which sufficient historical data is given.
Syntax
Parameters
- sc
- A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
- noOfDays
- The number of days before to which the closing price is compared.
Return Value
A series 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.
Exceptions
Exception |
Description |
ArgumentException |
Thrown if either parameter is strictly negative. |
Remarks
See Also