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

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

# IndicatorTypeLineOutput.DefaultLineStyle

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

## DefaultLineStyle

Gets default line style.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
LineStyle DefaultLineStyle {get;}
```

Python:

```python
indicatorTypeLineOutput.DefaultLineStyle: LineStyle
```

### Returns

`LineStyle` — 

Available since cAlgo.API 5.4.

### Examples

C#:

```csharp
foreach (var indicatorType in AlgoRegistry.Indicators)
{
    foreach (var line in indicatorType.Lines)
        Print("{0} default line style: {1}", line.Name, line.DefaultLineStyle);
}
```

Python:

```python
for indicatorType in api.AlgoRegistry.Indicators:
    for line in indicatorType.Lines:
        api.Print(f"{line.Name} default line style: {line.DefaultLineStyle}")
```

