---
id: "P:cAlgo.API.CustomBars.Symbol"
kind: "property"
type: "T:cAlgo.API.CustomBars"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/TimeFrame/Custom/CustomBars/Symbol/"
---

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

# CustomBars.Symbol

Member of [CustomBars](https://help.ctrader.com/ctrader-algo/references/Plugin/TimeFrame/Custom/CustomBars/index.md).

## Symbol

Gets symbol of custom bars.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
Symbol Symbol {get;}
```

Python:

```python
customBars.Symbol: Symbol
```

### Returns

`Symbol` — 

Available since cAlgo.API 5.3.

### Examples

C#:

```csharp
var customBars = TimeFrameManager.Custom.Add("My Custom TF").AddBars(Symbols.GetSymbol("EURUSD"));
Print("Custom bars symbol: {0}", customBars.Symbol.Name);
```

Python:

```python
customBars = api.TimeFrameManager.Custom.Add("My Custom TF").AddBars(api.Symbols.GetSymbol("EURUSD"))
api.Print(f"Custom bars symbol: {customBars.Symbol.Name}")
```

