mmflow Charts
Indicators
Attach confirmed built-in study factories to the Chart indicators prop or the imperative addIndicator API.
Built-in studies
import {
builtinStudies,
emaStudy,
macdStudy,
rsiStudy,
smaStudy,
vwapStudy,
} from "@mmflow/charts";
const indicators = [
smaStudy({ period: 50 }),
emaStudy({ period: 21 }),
vwapStudy(),
rsiStudy({ period: 14 }),
macdStudy({ fast: 12, slow: 26, signal: 9 }),
];
console.log(Object.keys(builtinStudies));Available study factories
These exports are currently defined in the chart package and use the tested math from @mmflow/indicators.
smaStudy
Simple moving average overlay with a period parameter.
emaStudy
Exponential moving average overlay with a period parameter.
vwapStudy
Anchored-to-input VWAP overlay from high, low, close, and volume.
rsiStudy
RSI sub-pane study with a period parameter.
macdStudy
MACD sub-pane study with fast, slow, and signal parameters.
builtinStudies
Registry keyed by sma, ema, vwap, rsi, and macd.
Continue building
Move through the chart SDK docs without leaving the developer flow.