Skip to content

ChartRobot.Start

method · ChartRobot · cAlgo.API

DesktopCLICloud

Starts the Robot instance.

Environment behaviour

Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (ChartRobots, ChartRobots.Add, ChartRobots.Item and more).

Definition

void Start()
chartRobot.Start() -> None

Examples

var chartRobot = ChartRobots.Add("Sample Break Even");
if (chartRobot.State == RobotState.Stopped)
    chartRobot.Start();
chartRobot = api.ChartRobots.Add("Sample Break Even")
if chartRobot.State == RobotState.Stopped:
    chartRobot.Start()