Before you start
- Deepchart installed. The project references two libraries from its folder:
VolSysAPI.dllandVolumetricaCore.dll. - The .NET 10 SDK.
- Your developer id (see Developer id).
- Any editor: Visual Studio, Rider or Visual Studio Code.
Build and load
1
Get the project
The project lives on GitHub at VolumetricaTrading/deepchart-indicators-api. Clone it:or download it as a zip from the same page. The Deepchart project is in
src/Deepchart, the solution Indicators.sln holds it together with the one for Deepdom.This is also the template to start from: keep the project, delete the examples you do not need, and see Your own library for the two names to change.2
Set your developer id
Open Deepchart loads a local dll only when it carries the id of the logged user.
src/Deepchart/DeepchartIndicators.csproj and replace YOUR-DEV-ID:3
Build
Documents\Deepchart\Indicators, the folder Deepchart loads local indicators from.If Deepchart is not installed in C:\Program Files\Volumetrica Trading\Deepchart\, pass its folder:4
Add an indicator to a chart
Open a chart in Deepchart and open the indicator list. The examples are under Personal, with names starting with
Example -.Deepchart watches the indicators folder: after a new build, the dll is loaded again without restarting the app.
Write your first indicator
Copysrc/Deepchart/Basics/SimpleMovingAverage.cs, rename the class and change the name returned by Register(). Each class in the dll with a Register() method is one indicator in the list.
Then read Life cycle to learn when each method is called.