---
id: "T:cAlgo.API.LinkedChartGroup"
kind: "enum"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Chart/LinkedChartGroup/"
---

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

# LinkedChartGroup (enum)

Represents the predefined chart linked groups.

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.

## Definition

```csharp
public enum LinkedChartGroup
```

## Examples

C#:

```csharp
var eurUsdFrame = ChartManager.AddChartFrame("EURUSD", TimeFrame.Hour);
var gbpUsdFrame = ChartManager.AddChartFrame("GBPUSD", TimeFrame.Hour);
eurUsdFrame.LinkedChartGroup = LinkedChartGroup.A;
gbpUsdFrame.LinkedChartGroup = LinkedChartGroup.A;
```

Python:

```python
eurUsdFrame = api.ChartManager.AddChartFrame("EURUSD", TimeFrame.Hour)
gbpUsdFrame = api.ChartManager.AddChartFrame("GBPUSD", TimeFrame.Hour)
eurUsdFrame.LinkedChartGroup = LinkedChartGroup.A
gbpUsdFrame.LinkedChartGroup = LinkedChartGroup.A
```

## Values

- `LinkedChartGroup.None` — No Group.
- `LinkedChartGroup.A` — A Group.
- `LinkedChartGroup.B` — B Group.
- `LinkedChartGroup.C` — C Group.
- `LinkedChartGroup.D` — D Group.
- `LinkedChartGroup.E` — E Group.
- `LinkedChartGroup.F` — F Group.
- `LinkedChartGroup.G` — G Group.
- `LinkedChartGroup.H` — H Group.

