---
id: "P:cAlgo.API.NewOrderDialog.StopLimitRangePips"
kind: "property"
type: "T:cAlgo.API.NewOrderDialog"
url: "https://help.ctrader.com/ctrader-algo/references/Dialogs/NewOrderDialog/StopLimitRangePips/"
---

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

# NewOrderDialog.StopLimitRangePips

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

## StopLimitRangePips

Gets or sets the StopLimitRangePips.

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

- CLI: No dialog can be shown in the CLI: ShowDialog returns without showing anything and the order settings are only stored.
- Cloud: No dialog can be shown in the cloud: ShowDialog returns without showing anything and the order settings are only stored.

C#:

```csharp
public double? StopLimitRangePips {get; set;}
```

Python:

```python
newOrderDialog.StopLimitRangePips: float | None
```

### Returns

`double?` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var newOrderDialog = new NewOrderDialog { SymbolName = SymbolName, OrderType = OrderType.StopLimit, TargetPrice = Symbol.Ask + 10 * Symbol.PipSize, StopLimitRangePips = 2 };
newOrderDialog.ShowDialog();
```

Python:

```python
newOrderDialog = NewOrderDialog()
newOrderDialog.SymbolName = api.SymbolName
newOrderDialog.OrderType = OrderType.StopLimit
newOrderDialog.TargetPrice = api.Symbol.Ask + 10 * api.Symbol.PipSize
newOrderDialog.StopLimitRangePips = 2
newOrderDialog.ShowDialog()
```

