src/Deepdom, with five small example indicators, and these pages explain how each part works. Clone it to start your own library.
What you write
An indicator derives fromVolBookAPI.Indicators.Indicator and has four parts:
- a static
Register()method which says how the indicator is listed; - parameters: its public properties;
- series and annotations: what it draws, created through the chart API (
Vbk); - the calls of the chart it overrides (
OnOpen,OnTick,OnBook, …), where it calculates.
Deepdom and Deepchart
The two products share the drawing interfaces (IChartSeries, IChartPoint, IAnnotation, IAnnGroup, IAxis), the colors (ColorRef) and the parameter attributes, so what you learn for one holds for the other. The rest differs, because the charts differ:
A Deepdom indicator is always calculated on the desktop: there is no server side, so everything in the API is available to it.
Where to go next
Quickstart
Build the examples and see them on a chart.
Life cycle
Which methods the chart calls, and when.
Examples
Five indicators, one concept each.
API reference
Every member an indicator can use.