---
id: "P:cAlgo.API.ChartDisplaySettings.AddRobotButton"
kind: "property"
type: "T:cAlgo.API.ChartDisplaySettings"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/ChartDisplaySettings/AddRobotButton/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# ChartDisplaySettings.AddRobotButton

Member of [ChartDisplaySettings](https://help.ctrader.com/ctrader-algo/references/Chart/ChartDisplaySettings/index.md).

## AddRobotButton

Defines if the Add cBot button is displayed on the chart.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
bool AddRobotButton {get; set;}
```

Python:

```python
chartDisplaySettings.AddRobotButton: bool
```

### Returns

`bool` — 

Available since cAlgo.API 5.6.

### Examples

C#:

```csharp
Chart.DisplaySettings.AddRobotButton = false;
Print("Chart shows the Add cBot button: {0}", Chart.DisplaySettings.AddRobotButton);
```

Python:

```python
api.Chart.DisplaySettings.AddRobotButton = False
api.Print(f"Chart shows the Add cBot button: {api.Chart.DisplaySettings.AddRobotButton}")
```

