Skip to content

ChartIndicators.Count

property · ChartIndicators · cAlgo.API

DesktopCLICloud

Gets the number of all indicators attached to a chart.

Environment behaviour

Cloud — not supported. Always empty: Count is 0, Add returns null, Remove returns false, and the events never fire.

Definition

int Count {get;}
api.ChartIndicators.Count: int

Returns int

Examples

Print("Indicators on the chart: {0}", ChartIndicators.Count);
api.Print(f"Indicators on the chart: {api.ChartIndicators.Count}")