OptionalcategoryGrouping for a picker UI ('Trend', 'Momentum', 'Volume', 'Volatility').
Optionalgapscarry retains the latest eligible row, including null; missing emits a newly selected row only.
Registry key, e.g. 'macd'.
Display name, e.g. 'MACD'.
'onchart' overlays the price pane; 'pane' gets its own pane.
OptionalrefreshFalse refreshes on range/provider/data changes, not price-only source revisions. Default true.
Calculate on copied, frozen requested bars before alignment. Each result at i must depend only on requested observations through i. Return every plot's named column with one value per requested bar. Nonfinite values become null. Under asOf, only the known, confirmed prefix available by that cutoff is supplied. Provider correctness for historical value versions remains required.
OptionallevelsOptional horizontal reference levels drawn in the indicator's pane.
Recomputed after every calc, so a level derived from the data (the
previous day's high) tracks it. See IndicatorLevelContext for why the
argument still reads as a settings bag.
OptionalrangeOptional fixed price range for the indicator's own pane (RSI 0..100). Applied only when the indicator creates its pane: two indicators sharing a pane would otherwise fight over it.
Select a complete history window, including expression warmup. null means
unsupported. The helper owns cancellation; signal is not a selector input.
Symbol, exchange, interval, variant and explicit asOf changes start a new
generation, and so does a change of the chart's own variant. A request that
names no variant asks in the chart's session and adjustment (see
inheritedDataVariant); naming one, {} included, overrides that.
Window changes refresh the complete selection without merging partial pages.
OptionaltargetStrictly increasing finite availability query times, one per source bar. Defaults to source opening times. Use an explicit final playhead time when a forming source bar should observe requested data available after opening.
A requested expression with an instance-owned snapshot lifecycle.