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

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

# ChartDisplaySettings.AskPriceLine

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

## AskPriceLine

Defines if the Ask Price Line is displayed on the chart.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
chartDisplaySettings.AskPriceLine: bool
```

### Returns

`bool` — 

### Examples

C#:

```csharp
Chart.DisplaySettings.AskPriceLine = true;
Print("Chart shows the ask line: {0}", Chart.DisplaySettings.AskPriceLine);
```

Python:

```python
api.Chart.DisplaySettings.AskPriceLine = True
api.Print(f"Chart shows the ask line: {api.Chart.DisplaySettings.AskPriceLine}")
```

