
public ConnectorCandles Connector
Returns a reference to the ConnectorCandles object, through which all interaction with the trading platform occurs.
The connector has a couple of important events for which there is no equivalent in the tab:
public event Action TestOverEvent;
The event signals the completion of the testing process when the robot is run in tester mode. For example, you need to store computed values between the triggers of different events. After the completion of the test run, data will be retained in the robot and will be used during the next tester pass, which can lead to incorrect operation of the algorithm. To avoid this, you can clear the values of temporary variables in the TestOverEvent event handler.

public event Action<string, TimeFrame, TimeSpan, string, ServerType> ConnectorStartedReconnectEvent;
Notifies about the start of the reconnection procedure to the trading platform. Sometimes this information is useful in the robot. It passes the following arguments:
1. The name of the trading instrument;
2. The used timeframe as an enumeration of TimeFrame;
3. The used timeframe as a TimeSpan structure;
4. The name of the portfolio;
5. The type of trading server in use.

If you have any difficulties or questions, please write to the support chat. Link