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

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

# IndicatorTypeBarOutput (interface)

Represents an indicator type bar output.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public interface IndicatorTypeBarOutput
```

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 barOutput in smaIndicatorType.Bars)
        {
            Print($"Name: {barOutput.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 barOutput in smaIndicatorType.Bars:
                print(f"Name: {barOutput.Name}")
```

config.json:

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

## Properties

- `Color DefaultAreaChartFillColor {get;}` — Gets default color of the area chart. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultAreaChartFillColor/index.md)
- `Color DefaultBearFillColor {get;}` — Gets default bear fill color. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultBearFillColor/index.md)
- `Color DefaultBearOutlineColor {get;}` — Gets default bear outline color. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultBearOutlineColor/index.md)
- `Color DefaultBullFillColor {get;}` — Gets default bull fill color. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultBullFillColor/index.md)
- `Color DefaultBullOutlineColor {get;}` — Gets default bull outline color. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultBullOutlineColor/index.md)
- `ChartType DefaultChartType {get;}` — Gets default chart type. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultChartType/index.md)
- `Color DefaultDotChartColor {get;}` — Gets default color of the dot chart. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultDotChartColor/index.md)
- `Color DefaultTickVolumeColor {get;}` — Gets default tick volume color. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultTickVolumeColor/index.md)
- `string Name {get;}` — Gets output name. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/Name/index.md)

