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

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

# ChartTemplateDisplaySettings.IsPriceScaleInverted

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

## IsPriceScaleInverted

Defines if the price scale is inverted for chart template.

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.DisplaySettings).

C#:

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

Python:

```python
chartTemplateDisplaySettings.IsPriceScaleInverted: bool
```

### Returns

`bool` — 

Available since cAlgo.API 5.10.

### Examples

C#:

```csharp
var template = ChartTemplates.Get("Template Name");

if (template is null)
{
    Print("Template not found");
    return;
}

template.DisplaySettings.IsPriceScaleInverted = true;

Print("Template price scale inverted: {0}", template.DisplaySettings.IsPriceScaleInverted);
```

Python:

```python
template = api.ChartTemplates.Get("Template Name")

if template is None:
    print("Template not found")
    return

template.DisplaySettings.IsPriceScaleInverted = True

print(f"Template price scale inverted: {template.DisplaySettings.IsPriceScaleInverted}")
```

