Write an indicator of your own
custom_indicatorWrite and register a custom IndicatorPlugin (descriptor, calculate, update, render) before a saved layout loads so the chart, legend, axis, and CSV export use it.
Instructions
How to write and register an indicator of your own (an IndicatorPlugin, usually a class extending IndicatorBase): the descriptor (plots and their kinds, markers among them; inputs and labelled choices; scale, levels, category, defaultStyle by theme), calculate, the incremental update and when revisesBefore is needed, render, registering it before a saved layout is read (ChartWidget plugins), and what the legend, the axis, the CSV export and the settings take from the descriptor. Markdown with TypeScript that is type-checked against the published packages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "custom_indicator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||