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

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

# ChartIndicator.PanelIndex

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

## PanelIndex

Gets or sets the index of the panel on which an indicator is displayed.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
int PanelIndex {get; set;}
```

Python:

```python
chartIndicator.PanelIndex: int
```

### Returns

`int` — 

### Examples

C#:

```csharp
var rsi = ChartIndicators.Add("Relative Strength Index", Bars.ClosePrices, 14);
Print("RSI panel index: {0}", rsi.PanelIndex);
rsi.PanelIndex = 0;
```

Python:

```python
rsi = api.ChartIndicators.Add("Relative Strength Index", api.Bars.ClosePrices, 14)
api.Print(f"RSI panel index: {rsi.PanelIndex}")
rsi.PanelIndex = 0
```

