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

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

# ChartDisplaySettings.PriceAlerts

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

## PriceAlerts

Defines if the Price Alerts are visible on the chart.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
chartDisplaySettings.PriceAlerts: bool
```

### Returns

`bool` — 

### Examples

C#:

```csharp
Chart.DisplaySettings.PriceAlerts = true;
Print("Chart shows price alerts: {0}", Chart.DisplaySettings.PriceAlerts);
```

Python:

```python
api.Chart.DisplaySettings.PriceAlerts = True
api.Print(f"Chart shows price alerts: {api.Chart.DisplaySettings.PriceAlerts}")
```

