---
id: "P:cAlgo.API.ChartFibonacciBase.DisplayPrices"
kind: "property"
type: "T:cAlgo.API.ChartFibonacciBase"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/Fibonacci/ChartFibonacciBase/DisplayPrices/"
---

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

# ChartFibonacciBase.DisplayPrices

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

## DisplayPrices

Defines if the Fibonacci levels display the prices

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: Created and kept with all its properties, but never drawn: the CLI displays no chart.
- Cloud: Created and kept with all its properties, but never drawn: the cloud displays no chart.

C#:

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

Python:

```python
chartFibonacciBase.DisplayPrices: bool
```

### Returns

`bool` — 

### Examples

C#:

```csharp
var retracement = Chart.DrawFibonacciRetracement("retracement", Bars.OpenTimes.Last(50), Bars.HighPrices.Last(50), Bars.OpenTimes.LastValue, Bars.LowPrices.LastValue, Color.Red);
retracement.DisplayPrices = true;
Print("Level prices shown: {0}", retracement.DisplayPrices);
```

Python:

```python
retracement = api.Chart.DrawFibonacciRetracement("retracement", api.Bars.OpenTimes.Last(50), api.Bars.HighPrices.Last(50), api.Bars.OpenTimes.LastValue, api.Bars.LowPrices.LastValue, Color.Red)
retracement.DisplayPrices = True
api.Print(f"Level prices shown: {retracement.DisplayPrices}")
```

