---
id: "T:cAlgo.API.IndicatorTypeLineOutput"
kind: "interface"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeLineOutput/"
---

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

# IndicatorTypeLineOutput (interface)

Represents an indicator type line output.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public interface IndicatorTypeLineOutput
```

Available since cAlgo.API 5.4.

## Examples

C#:

```csharp
public partial class TestExample : Robot
{
    protected override void OnStart()
    {
        if (AlgoRegistry.Get("Simple Moving Average", AlgoKind.StandardIndicator) is not IndicatorType smaIndicatorType)
            return;

        foreach (var lineOutput in smaIndicatorType.Lines)
        {
            Print($"Name: {lineOutput.Name}");
        }
    }
}
```

Python:

```python
import clr

clr.AddReference("cAlgo.API")

# Import cAlgo API types
from cAlgo.API import *

# Import trading wrapper functions
from robot_wrapper import *

class Test():
    def on_start(self):
        indicatorType = api.AlgoRegistry.Get("Simple Moving Average", AlgoKind.StandardIndicator)
        if indicatorType is not None:
            smaIndicatorType = IndicatorType(indicatorType)
            for line in smaIndicatorType.Lines:
                print(f"Name: {line.Name}")
```

config.json:

```json
{
  "AccessRights": "None"
}
```

## Properties

- `Color DefaultColor {get;}` — Gets default color. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeLineOutput/DefaultColor/index.md)
- `LineStyle DefaultLineStyle {get;}` — Gets default line style. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeLineOutput/DefaultLineStyle/index.md)
- `PlotType DefaultPlotType {get;}` — Gets the PlotType . [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeLineOutput/DefaultPlotType/index.md)
- `float DefaultThickness {get;}` — Gets default thickness. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeLineOutput/DefaultThickness/index.md)
- `string Name {get;}` — Gets output name. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeLineOutput/Name/index.md)

