Deterministic chart studies and real-time rolling indicators for perpetuals trading on Kami Terminal.
Kami splits chart analysis into two distinct systems: 15 deterministic studies computed strictly on closed candles inside a Web Worker with Zig/WASM SIMD kernels, and 12 rolling indicators updated incrementally in O(1) per live tick with bit-exact parity against batch reference math.
Architecture & Determinism
Dual TypeScript and Zig/WASM SIMD kernels, closed-bar guarantees, zero lookahead, and collision-free label layout. Read architecture.
Windowing & Scope
Why structural studies stay pinned across zooms by default, how Fixed vs View scope works, and why vpvr stays view-adaptive. Read windowing.
Timeframes & Multi-Timeframe
Timeframe-smart parameter scaling, automatic UTC VWAP anchoring, and the zero-adapter higher-timeframe candle pipeline. Read timeframes.
15 Studies & 12 Indicators
Exact parameters, bounds, scoring formulas, edge cases, and slash commands for every tool on the chart. Explore studies.
Studies vs. Indicators
| Dimension | Studies (15) | Indicators (12) |
|---|---|---|
| Examples | sr, zones, fvg, liquidity, sessions, htf, avwap, auto |
VOL, MA, EMA, BOLL, VWAP, SUPERTREND, RSI, MACD, ATR, ADX, STOCHRSI, OBV |
| Candle input | Closed candles only (forming: 'excluded') |
Every loaded candle including live forming ticks |
| Execution | Web Worker (ta.worker.ts) + Zig/WASM SIMD (engine.wasm) |
Main-thread O(1) resumable kernels (incremental.ts) |
| Outputs | Typed chart Drawing[] overlays + structured facts JSON |
Continuous per-candle numeric series (overlay or sub-pane) |
| Repainting | Never repaints closed bars; strictly causal confirmation | Updates current forming bar on each trade tick; historical bars stay fixed |
| Access | Studies menu, /study slash commands, Kami AI tools |
Indicators menu (view.indicators) |