IndicatorPlugin\<Params, Output\>
Documentation / @elitechart/core / IndicatorPlugin
Defined in: plugin/types.ts:112
An indicator plugin. compute is pure — same inputs, same outputs.
It is safe to call from a Web Worker.
Example
Extends
Type Parameters
Params
Params = Record<string, unknown>
Output
Output extends IndicatorOutput = IndicatorOutput
Properties
defaultParams
Defined in: plugin/types.ts:122
Default parameter values.
id
Defined in: plugin/types.ts:54
Stable, globally unique id. Reverse-DNS or scope-prefixed recommended.
Inherited from
inputs
Defined in: plugin/types.ts:120
Input schema for the settings dialog.
kind
Defined in: plugin/types.ts:116
Declared plugin category.
Overrides
name
Defined in: plugin/types.ts:56
Human-readable display name.
Inherited from
pane
Defined in: plugin/types.ts:118
Overlay on the price pane ('price') or draw in a separate pane ('separate').
targets
Defined in: plugin/types.ts:60
Plugin interface version the plugin targets.
interfaceVersion
Inherited from
Methods
compute()
Defined in: plugin/types.ts:123
Parameters
bars
readonly Bar[]
params
Params
Returns
Output