Indicators
The full 128-study catalogue with live charts and the exact code to enable every study.
This page covers the indicator engine and lets you explore the whole catalogue: pick a study, see its chart, its parameters and the code that enables it.
Indicators are registry-driven definitions, not baked-in formulas: each study declares its inputs, outputs and reference levels, and the engine runs it incrementally over the bar history.
| Category | Studies | Examples |
|---|---|---|
| Trend | 16 | SMA, EMA, WMA, HMA, Supertrend, PSAR |
| Momentum | 24 | RSI, Stochastic, MACD, CCI, Williams %R, TRIX |
| Volatility | 16 | ATR, Bollinger Bands, Keltner Channels, Donchian |
| Volume | 16 | OBV, VWAP, MFI, CMF, volume oscillators |
| Strength | 24 | ADX, Aroon, DPO, Vortex, relative strength |
| Statistics | 16 | Correlation, regression, standard error, variance |
| Cycles | 12 | Ehlers-style period and phase studies |
| Custom | 4 | Studies built with the definition API |
Explore the catalogue
Pick any study: the chart re-renders with it attached (overlay studies paint on the price pane, oscillators get their own strip with reference levels), and the code block shows how to enable it in your host. The values row mirrors the newest bar, and the table lists the parameters the definition declares.
- rsi
- 8.5686
- line
| Parameter | Kind | Default | Range |
|---|---|---|---|
| length | number | 14 | 1..500, step 1 |
import { createCatalogRegistry } from '@unifin/chart-indicators';
import { IndicatorEngine } from '@unifin/chart-core';
const registry = createCatalogRegistry();
const engine = new IndicatorEngine(registry);
engine.setBars(bars);
const study = engine.attach('rsi', {"length":14});
const values = bars.map((_, index) => study.valueAt('rsi', index));
// oscillator: draw the values in a pane below the price
// reference levels: 30, 70The contract behind every study
- Definition:
id,title,category,placement(overlayoroscillator), declaredinputs(with defaults, ranges and options) andoutputs(line,histogram,area,points,bands,fill), plus optional referencelevels. - Incremental by design:
updatesteps one bar from the carried state, so live appends never rebuild history; a forming bar is replayed from the state snapshot taken before it. - Isolation: a broken study reports its error on the instance and never breaks the chart or its neighbours.
- Host contract: the core paints, the host computes - results reach the price pane through
overlays(one value per bar,nullbreaks the line) and your own pane through the same numeric arrays.
The generated API reference for the package is on chart-indicators.
Register your own
A custom study is a definition object registered into an IndicatorRegistry, or a plugin
installed through installPlugin(registry, { id, version, source, license, definitions }).
Plugins are validated - identity, source, licence and catalogue size (up to 32 studies) - before
anything is registered, and a collision leaves the registry untouched.
See also
- Features - how indicators sit next to the other layers.
- Analytics kits - domain models that feed their own figures.
- API overview - the definition contract and the engine surface.
Series and levels
Spline and lollipop series, session levels, automatic Fibonacci and the comparison overlay.
Features
What Unifin Charts includes - rendering, scales, panes, data, indicators, drawings, profiles, order flow, alerts, trading UI, accessibility and performance, with the edition each area belongs to.
