ChartIndicators.Custom
property · ChartIndicators · cAlgo.API Since 5.2
DesktopCLICloud
Gets the list of chart custom indicators.
Environment behaviour
Cloud — not supported. Always empty: Count is 0, Add returns null, Remove returns false, and the events never fire.
Definition
IReadonlyList<ChartIndicator> Custom {get;}
api.ChartIndicators.Custom: IReadonlyList[ChartIndicator]
Returns IReadonlyList<ChartIndicator>
Examples
foreach (var indicator in ChartIndicators.Custom)
Print("Custom indicator: {0}", indicator.Name);
for indicator in api.ChartIndicators.Custom:
api.Print(f"Custom indicator: {indicator.Name}")