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
- 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.
- The number of days before to which the closing price is compared.
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.
|ArgumentException||Thrown if either parameter is strictly negative.