Rolling Average True Range (ATR).
Previous closes.
Highs.
Lows.
Central model for ATR averaging.
Window size for ATR.
ATR per window (length L - period + 1).
Positivity Indicator and its signal line.
Definition:
Opening prices.
Previous closing prices.
Period used for the signal line.
Model for the signal line (SMA, EMA, etc.).
Array of [pi, signal] aligned to window ends (length L - signalPeriod + 1).
Rolling return on investment and percent return.
For each consecutive pair (prices[i-1], prices[i]):
Prices (length >= 2).
Initial investment amount.
Array of [finalValue, percentReturn] per step (length L - 1).
Bulk/rolling "other" indicators.
General: