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

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

# Algo.Chart

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

## Chart

Represents the chart where cBot or Indicator is launched.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public Chart Chart {get;}
```

Python:

```python
api.Chart: Chart
```

### Returns

`Chart` — 

### Examples

C#:

```csharp
if (Chart != null)
    Chart.DrawStaticText("info", SymbolName + " " + TimeFrame, VerticalAlignment.Top, HorizontalAlignment.Left, Color.White);
```

Python:

```python
if api.Chart is not None:
    api.Chart.DrawStaticText("info", f"{api.SymbolName} {api.TimeFrame}", VerticalAlignment.Top, HorizontalAlignment.Left, Color.White)
```

