Skip to main content

Module indicators

Module indicators 

Source
Expand description

The verified no-alloc indicator subset.

Each indicator here reproduces the exact floating-point recurrence of its wickra-core counterpart — same operation order, same reseed cadence, same division points — so its output is byte-for-byte identical, verified by the parity tests. The window length is a const generic N; there is no runtime buffer and no allocation.

Structs§

Atr
Average True Range over a Wilder period N.
Ema
Exponential Moving Average with smoothing factor alpha = 2 / (period + 1).
Roc
Rate of Change as a percentage: (close - close[N ago]) / close[N ago] · 100, where N is the lookback period.
Rsi
Relative Strength Index over a Wilder period N.
Sma
Simple Moving Average over a fixed window of N prices.

Constants§

CATALOGUE
The verified subset by name, in the order the C ABI and the docs list it.