Skip to main content
A Deepdom indicator is a C# class in a dll. Deepdom loads the dll, lists the indicators it contains, and lets you add them to a chart like the built-in ones: with their parameters in the settings window, their series and annotations on the chart, and their state saved in the workspace. The repository VolumetricaTrading/deepchart-indicators-api holds a ready-to-build project for Deepdom in 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 from VolBookAPI.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.