Package-level declarations
Types
Directional movement lines: +DI, -DI, and the ADX trend-strength reading.
The realized return since the open of the current fixed-size time bucket — a sub-bar, grid-anchored move that a finer stream can read while a coarser bar is still forming.
Rolling beta of a dependent series against an independent ("market") series over the last period aligned pairs: how much the first series moves per unit move of the second.
Bollinger Bands: a moving average with two "rails" above and below that widen when prices get jumpy and narrow when prices get quiet.
Three-band Bollinger reading — middle is the running average, upper/lower are the rails above and below.
Cross-symbol confirmation ratio: the fraction of peer series whose return over the last period bars is the same sign as the signal series' return over the same window, in [0, 1].
Rolling Pearson correlation between two series over the last period aligned pairs.
Kaufman Efficiency Ratio over the last period bars — how much of the price's total travel actually went somewhere, in [0, 1].
Hull Moving Average — a low-lag, smooth moving average built from weighted MAs: raw = 2·WMA(period/2) − WMA(period), then HMA = WMA(raw) over √period bars.
The three Keltner Channel lines: an EMA midline and ATR-width bands around it.
The value of the input series as it stood n bars ago — a pure time offset.
Three values from a MACD reading: the line, its smoothed signal line, and the histogram (line − signal).
Rolling ordinary-least-squares residual of a dependent series on one or more regressor series over the last period aligned observations.
Rolling percentile rank: the fraction of the trailing period-bar window strictly below the current value, in [0, 1).
Classic floor-trader pivot levels derived from the prior completed UTC day's high/low/close, held constant through the current day until the next day completes.
Slope of the least-squares regression line through the last period values, fit against their position in the window (x = 0, 1, … period-1, oldest to newest).
Rolling-window maximum over the last period input values.
Rolling-window minimum over the last period input values.
Relative Strength Index — a momentum gauge from 0 to 100. Compares the size of recent up-moves to recent down-moves: 50 is neutral, above 50 means up-moves are dominating, below 50 means down-moves are.
The signed length of the current run of same-direction changes in a series — a streak counter.
Consecutive-bar dwell counter for a boolean state.
The trailing mean realized range (high - low) of the bars that share the current bar's UTC hour-of-day — a per-hour volatility baseline that detrends the intraday "vol clock".
The trailing sample standard deviation of realized range (high - low) across the bars that share the current bar's UTC hour-of-day — the dispersion companion to SeasonalRange's mean.
Session-anchored range: the high and low of the most recent completed instance of a fixed daily UTC window [startHour:startMinute, endHour:endMinute), held constant as price levels until the next instance completes.
Session-anchored Volume-Weighted Average Price and its volume-weighted standard deviation, both reset each day at anchorHour UTC.
Rolling realized skewness of bar-to-bar returns over the last period returns — the third standardized moment, a measure of how lopsided the recent return distribution is.
A running average of the last period values you feed it. Every value counts equally; the oldest one drops out each time a new one arrives.
Rolling sample standard deviation over the last period input values.
Fast Stochastic oscillator — where the close sits within the high/low range of the last kPeriod candles (%K), and a dPeriod-bar moving average of that (%D), both in 0, 100.
The two Stochastic lines: fast %K and its Stochastic.dPeriod-bar SMA, %D.
Lo-MacKinlay variance ratio over the last lookback bar-to-bar returns — a regime statistic that separates mean-reversion from trending on the series' own path.
A moving average where the newest value counts most and the oldest counts least, on a straight line.
Rolling z-score of the latest input over the last period values: how many sample standard deviations the newest value sits from the window mean.