Prices and indicators

OHLC, candles, price transformations and 47 derived indicators.

Market observations

Each observation has a stable id, numeric/UTC-millisecond x, open, high, low, close and optional volume. All four prices must be finite or all null. high is at least max(open, close), and low is at most min(open, close). Sessions are ordered without duplicate x values. A gap is different from a zero price.

Choose a family

OHLC/HLC show price ranges; Candlestick/Hollow Candlestick expose open and close. Heikin Ashi transforms candles. Renko and Point and Figure produce ordinal positions while retaining source-session identity. Flags mark events; Volume by Price aggregates volume into intervals. Averages, oscillators, channels and regressions expose derived components while retaining the original-data table.

Explicit parameters

Configure layout.parameters. Example controls expose only the parameters supported by that family. A blank field retains Core’s automatic policy; a period with insufficient observations produces a gap. Parameters from unrelated families are rejected rather than ignored.

Example
const options = { layout: { parameters: { period: 20, deviation: 2 } } }; // Bollinger

Interpretation

Indicators retain their source values. Tooltips expose prices and calculated components. Flat RSI is 50; undefined quotients remain missing. Automatic histogram domains include zero. Regression uses real x distances; xUnit expresses a slope in an explicit unit.