Skip to content

ChartRobots.Count

property · ChartRobots · cAlgo.API

DesktopCLICloud

Gets the number of all Robots 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.ChartRobots.Count: int

Returns int

Examples

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