---
id: "P:cAlgo.API.IndicatorType.Lines"
kind: "property"
type: "T:cAlgo.API.IndicatorType"
url: "https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorType/Lines/"
---

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

# IndicatorType.Lines

Member of [IndicatorType](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorType/index.md).

## Lines

Gets collection of indicator line outputs.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IReadonlyList<IndicatorTypeLineOutput> Lines {get;}
```

Python:

```python
indicatorType.Lines: IReadonlyList[IndicatorTypeLineOutput]
```

### Returns

`IReadonlyList<IndicatorTypeLineOutput>` — 

Available since cAlgo.API 5.4.

### Examples

C#:

```csharp
if (AlgoRegistry.Get("Simple Moving Average", AlgoKind.StandardIndicator) is IndicatorType indicatorType)
{
    foreach (var line in indicatorType.Lines)
        Print("Line output: {0}", line.Name);
}
```

Python:

```python
algoType = api.AlgoRegistry.Get("Simple Moving Average", AlgoKind.StandardIndicator)
if algoType is not None:
    for line in IndicatorType(algoType).Lines:
        api.Print(f"Line output: {line.Name}")
```

