src/DeepchartIndicators.csproj is a plain class library. You can keep adding indicators to it, or copy it to start a library of your own.
Target and references
net10.0, without Windows or WPF. It references only the indicator API:
Private is false because the two libraries are part of Deepchart: they must not be copied next to your dll.
Do not add references to the chart control or to WPF. An indicator which needs them cannot run on the server, and the compiler is what keeps you inside the portable API.
Properties you can set
Each one can be changed in the file or on the command line:
DeepchartDir, and warns when the developer id is still the placeholder.
Developer id in the dll
[assembly: AssemblyMetadata("DeepchartDevId", "...")] in the dll. Deepchart reads it when it loads a dll from the local folder.
Your own library
- Change
AssemblyNameandRootNamespace. The file name of the dll is part of how a workspace remembers a local indicator, so choose it once. - Keep the class name of an indicator stable: it is its identity inside the dll.
- One dll can hold any number of indicators.