The build fails
VolSysAPI.dll and VolumetricaCore.dll were not found
VolSysAPI.dll and VolumetricaCore.dll were not found
The project looks for the two libraries in the folder Deepchart is installed in. Pass your folder:or change
DeepchartDir in the project file. An old version of Deepchart does not have these libraries: update it.The dll cannot be written
The dll cannot be written
The output folder is
Documents\Deepchart\Indicators. If the build cannot write there, check that the folder exists and that no other program keeps the file open.'Structure' is an ambiguous reference
'Structure' is an ambiguous reference
VolSysAPI.Structure (bars) and VolumetricaAPI.Connection.Structure (trades, order book) have the same name. Use an alias for the second one:The indicator is not in the list
The developer id is missing or wrong
The developer id is missing or wrong
The most common cause. The build warns when the id is still
YOUR-DEV-ID, and the log of Deepchart says DeepchartDevId ... is not the one of the user. See Developer id.The class has no Register method
The class has no Register method
An indicator is listed only if it has a
public static method named Register returning IndicatorDescriptionBase.The dll is in another folder
The dll is in another folder
Deepchart loads local indicators from
Documents\Deepchart\Indicators. Check OutputPath if you changed it.The indicator throws when it is created
The indicator throws when it is created
The constructor and the property initializers run when the list is built. Keep them simple and do the work in
OnLoad.The indicator is on the chart but draws nothing
- No call was asked for.
OnOpenCall,OnCloseCall,OnEndCallareOffby default. Set them inOnSet. - The points are hidden. A point added with
IsHidden: truestays hidden until you setIsHidden = false. - The series is not enabled.
definition.BaseSeriesisnullwhenEnabledisfalse. - An annotation was not added. Creating it is not enough: call
VAn.AddAnnotation(group, annotation). - The annotation is in the wrong place. With absolute coordinates the bar
iis atX = i + 1, andYis a value of the axis of its area. SetArea = ChartAreato draw in the area of the indicator. - The state was not reset. After a parameter change the indicator is calculated again from
OnLoad. Fields which keep their old values give wrong results from the second calculation on.
The values are wrong on the last bar
The last bar is still open.OnClose is not called for it: update it in OnEnd, which is called after the history and after every batch of realtime updates.
Volume by price is empty
SetNeedVbp = true in OnSet, and check PriceList and VbpListAll for null: some symbols and data feeds do not have it.