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

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

# OutputAttribute.IsVisible

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

## IsVisible

Gets or sets default visibility of output.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
outputAttribute.IsVisible: bool
```

### Returns

`bool` — 

Available since cAlgo.API 5.8.

### Examples

C#:

```csharp
public partial class OutputSample : Indicator
{
    public override void Calculate(int index)
    {
        Result[index] = Bars.ClosePrices[index];
        Debug[index] = Bars.OpenPrices[index];
    }
}
```

Python:

```python
def calculate(self, index):
    api.Result[index] = api.Bars.ClosePrices[index]
    api.Debug[index] = api.Bars.OpenPrices[index]
```

config.json:

```json
{
  "AccessRights": "None",
  "IsOverlay": true,
  "LineOutputs": [
    {
      "Name": "Result",
      "DisplayName": "Main"
    },
    {
      "Name": "Debug",
      "IsVisible": false
    }
  ]
}
```

