vike
Indicators

Volume indicators

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

Volume indicators fold traded quantity into the picture — accumulation, flow and volume-weighted prices. Vike Trader ships 14 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
vwapVWAP (session)noneno
obvOn-Balance Volumenoneno
adAccumulation/Distributionnoneno
adoscChaikin A/D Oscillatorfast = 3 (2–50, step 1); slow = 10 (2–200, step 1)no
cmfChaikin Money Flowperiod = 20 (2–200, step 1)no
efiElder Force Indexperiod = 13 (2–200, step 1)no
eomEase of Movementperiod = 14 (2–200, step 1)no
kvoKlinger Volume Oscillatorfast = 34 (2–200, step 1); slow = 55 (2–500, step 1); signal = 13 (2–100, step 1)no
mfiMoney Flow Indexperiod = 14 (2–100, step 1)no
net_volumeNet Volumenoneno
nviNegative Volume Indexnoneno
pviPositive Volume Indexnoneno
pvtPrice Volume Trendnoneno
volume_oscVolume Oscillatorshort = 5 (2–50, step 1); long = 10 (2–200, step 1)no

Using them

In a Rhai strategy an indicator is a call by id with its parameters in registry order — vwap(…) — 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