vike
Indicators

Statistics indicators

The 13 built-in statistics indicators Vike Trader ships, with every parameter, its default and its sweep range — rendered from the indicator registry.

Statistical indicators are the regression, correlation and distribution kernels — the raw material of a research feature set. Vike Trader ships 13 of them in this category, out of 171 built-in single-series indicators and 8 pair indicators; the indicators overview carries the catalog's shape and the categories side by side.

Every built-in indicator carries one guarantee: its streaming on_bar path equals its batch vectorize kernel bit-for-bit, proven by the parity gate in the product tree (crates/vike-indicators/tests/parity.rs). The exceptions are declared, not discovered: an indicator marked batch-only reads future bars in its batch form, so its streaming value is a causal best-effort that is NaN at the unknowable tip, and the gate skips it by name. No indicator in this category is batch-only.

Indicators

Each parameter is shown with its built-in default and the range and step the Studio's sweep grid offers for it (ParamSpec in vike_indicators::registry).

IdNameParameters (default; range, step)Batch-only
linearregLinear Regressionperiod = 14 (2–200, step 1)no
linearreg_slopeLinear Reg Slopeperiod = 14 (2–200, step 1)no
linearreg_angleLinear Reg Angleperiod = 14 (2–200, step 1)no
linearreg_interceptLinear Reg Interceptperiod = 14 (2–200, step 1)no
tsfTime Series Forecastperiod = 14 (2–200, step 1)no
varVarianceperiod = 20 (2–200, step 1)no
zscoreZ-Scoreperiod = 20 (2–200, step 1)no
skewSkewnessperiod = 20 (2–200, step 1)no
kurtosisKurtosisperiod = 20 (2–200, step 1)no
madMean Abs Deviationperiod = 20 (2–200, step 1)no
std_errorStandard Errorperiod = 20 (2–200, step 1)no
std_error_bandsStd Error Bandsperiod = 20 (2–200, step 1); mult = 2 (0.1–10, step 0.1)no
rank_correlationRank Correlationperiod = 14 (2–200, step 1)no

Using them

In a Rhai strategy an indicator is a call by id with its parameters in registry order — linearreg(…) — and the Studio's indicators pane offers the same catalog with each parameter's sweep range pre-filled from the defaults below. From Rust, vike_indicators::make(id) builds the default instance and make_with(id, &params) the parameterised one; both consult the same registry row this table was rendered from.

On this page