Skip to content

ChartRobots

Summary

The interface representing a chart Robot instances collection.Provides properties and events that allow for accessing various information about Robots attached to a chart.

Signature

1
public abstract interface ChartRobots

Namespace

cAlgo.API

Methods

Add

Summary

Adds a new Robot instance to a chart.

Signature

1
public abstract ChartRobot Add(string name, object[] parameterValues)

Parameters

Name Type Description
name string The name of a Robot.
parameterValues object[] The Robot parameter values.

Return Value

ChartRobot

Remove

Summary

Removes a Robot instance from a chart.

Signature

1
public abstract bool Remove(ChartRobot robot)

Parameters

Name Type Description
robot ChartRobot The ChartRobot to be removed from a chart.

Return Value

bool

Properties

Item

Signature

1
public abstract ChartRobot Item {get;}

Return Value

ChartRobot

Count

Summary

Gets the number of all Robots attached to a chart.

Signature

1
public abstract int Count {get;}

Return Value

int

Events

RobotAdded

Summary

Occurs when a Robot is added to a chart.

Signature

1
public abstract event Action<ChartRobotAddedEventArgs> RobotAdded;

RobotRemoved

Summary

Occurs when a Robot is removed from a chart.

Signature

1
public abstract event Action<ChartRobotRemovedEventArgs> RobotRemoved;

RobotModified

Summary

Occurs when a chart Robot instance is modified.

Signature

1
public abstract event Action<ChartRobotModifiedEventArgs> RobotModified;

RobotStarted

Summary

Occurs when a chart Robot instance is started.

Signature

1
public abstract event Action<ChartRobotStartedEventArgs> RobotStarted;

RobotStopped

Summary

Occurs when a chart Robot instance is stopped.

Signature

1
public abstract event Action<ChartRobotStoppedEventArgs> RobotStopped;