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

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

# ChartIndicator.LineOutputs

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

## LineOutputs

Gets the `IReadonlyList` of indicator output lines.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IReadonlyList<IndicatorLineOutput> LineOutputs {get;}
```

Python:

```python
chartIndicator.LineOutputs: IReadonlyList[IndicatorLineOutput]
```

### Returns

`IReadonlyList<IndicatorLineOutput>` — 

Available since cAlgo.API 5.4.

### Examples

C#:

```csharp
var bands = ChartIndicators.Add("Bollinger Bands", Bars.ClosePrices, 20, 2, MovingAverageType.Simple);
foreach (var lineOutput in bands.LineOutputs)
    Print("Line: {0} | Color: {1}", lineOutput.Name, lineOutput.Color);
```

Python:

```python
bands = api.ChartIndicators.Add("Bollinger Bands", api.Bars.ClosePrices, 20, 2, MovingAverageType.Simple)
for lineOutput in bands.LineOutputs:
    api.Print(f"Line: {lineOutput.Name} | Color: {lineOutput.Color}")
```

