vike
Indicators

Structure indicators

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

Structure indicators mark swings, fractals and zig-zags — the market-structure primitives, some of which can only be known in hindsight. Vike Trader ships 4 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. In this category that is zigzag, williams_fractal.

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
pivot_pointsPivot Pointsnoneno
volume_profile_pocVolume Profile POCwindow = 50 (5–500, step 1); bins = 24 (4–200, step 1)no
zigzagZigZagdeviation = 5 (0.1–50, step 0.5)yes
williams_fractalWilliams Fractaln = 2 (1–10, step 1)yes

Using them

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