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

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

# IndicatorLineOutput.IsVisible

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

## IsVisible

Gets or sets the visibility of a line.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
bool IsVisible {get; set;}
```

Python:

```python
indicatorLineOutput.IsVisible: bool
```

### Returns

`bool` — 

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)
    lineOutput.IsVisible = lineOutput.Name != "Main";
Print("Bollinger Bands main line hidden");
```

Python:

```python
bands = api.ChartIndicators.Add("Bollinger Bands", api.Bars.ClosePrices, 20, 2, MovingAverageType.Simple)
for lineOutput in bands.LineOutputs:
    lineOutput.IsVisible = lineOutput.Name != "Main"
api.Print("Bollinger Bands main line hidden")
```

