---
id: "P:cAlgo.API.IndicatorDataSeries.LineOutput"
kind: "property"
type: "T:cAlgo.API.IndicatorDataSeries"
url: "https://help.ctrader.com/ctrader-algo/references/Collections/DataSeries/IndicatorDataSeries/LineOutput/"
---

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

# IndicatorDataSeries.LineOutput

Member of [IndicatorDataSeries](https://help.ctrader.com/ctrader-algo/references/Collections/DataSeries/IndicatorDataSeries/index.md).

## LineOutput

Gets the indicator line output.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IndicatorLineOutput LineOutput {get;}
```

Python:

```python
indicatorDataSeries.LineOutput: IndicatorLineOutput
```

### Returns

`IndicatorLineOutput` — 

Available since cAlgo.API 5.4.

### Examples

C#:

```csharp
Result[index] = Bars.ClosePrices[index];
if (IsLastBar)
    Print("Line output {0}, color {1}, thickness {2}", Result.LineOutput.Name, Result.LineOutput.Color, Result.LineOutput.Thickness);
```

Python:

```python
def calculate(self, index):
    api.Result[index] = api.Bars.ClosePrices[index]
    if api.IsLastBar:
        api.Print(f"Line output {api.Result.LineOutput.Name}, color {api.Result.LineOutput.Color}, thickness {api.Result.LineOutput.Thickness}")
```

config.json:

```json
{
  "AccessRights": "None",
  "LineOutputs": [
    {
      "Name": "Result",
      "DisplayName": "Main"
    }
  ]
}
```

