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

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

# BarOutputAttribute.BullOutlineColor

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

## BullOutlineColor

Gets or sets the color of the bull candle or bar outline.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public string BullOutlineColor {get; set;}
```

Python:

```python
barOutputAttribute.BullOutlineColor: str
```

### Returns

`string` — 

Available since cAlgo.API 5.4.

### Examples

C#:

```csharp
public partial class BarOutputSample : Indicator
{
    public override void Calculate(int index)
    {
        Result[index] = new OhlcvBar(Bars.OpenPrices[index], Bars.HighPrices[index], Bars.LowPrices[index], Bars.ClosePrices[index], (long)Bars.TickVolumes[index]);
    }
}
```

Python:

```python
def calculate(self, index):
    api.Result[index] = OhlcvBar(api.Bars.OpenPrices[index], api.Bars.HighPrices[index], api.Bars.LowPrices[index], api.Bars.ClosePrices[index], int(api.Bars.TickVolumes[index]))
```

config.json:

```json
{
  "AccessRights": "None",
  "IsOverlay": false,
  "BarOutputs": [
    {
      "Name": "Result",
      "DisplayName": "Main",
      "BullOutlineColor": "Green",
      "BearOutlineColor": "Red"
    }
  ]
}
```

