---
id: "P:cAlgo.API.ChartTemplateColorSettings.BidPriceLineColor"
kind: "property"
type: "T:cAlgo.API.ChartTemplateColorSettings"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Templates/ChartTemplateColorSettings/BidPriceLineColor/"
---

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

# ChartTemplateColorSettings.BidPriceLineColor

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

## BidPriceLineColor

Gets or sets the color of the bid price line.

Environments: Desktop supported · CLI supported · Cloud not supported.

- Cloud: Never available in the cloud: it is only returned by members that do not work there (ChartTemplate.ColorSettings).

C#:

```csharp
Color BidPriceLineColor {get; set;}
```

Python:

```python
chartTemplateColorSettings.BidPriceLineColor: Color
```

### Returns

`Color` — 

Available since cAlgo.API 5.6.

### Examples

C#:

```csharp
var template = ChartTemplates.Get("My Template");
if (template != null)
{
    template.ColorSettings.BidPriceLineColor = Color.DodgerBlue;
    Print("Template bid line color: {0}", template.ColorSettings.BidPriceLineColor);
}
```

Python:

```python
template = api.ChartTemplates.Get("My Template")
if template is not None:
    template.ColorSettings.BidPriceLineColor = Color.DodgerBlue
    api.Print(f"Template bid line color: {template.ColorSettings.BidPriceLineColor}")
```

