---
id: "P:cAlgo.API.RelativeStopLossProtection.Distance"
kind: "property"
type: "T:cAlgo.API.RelativeStopLossProtection"
url: "https://help.ctrader.com/ctrader-algo/references/Trading/RelativeStopLossProtection/Distance/"
---

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

# RelativeStopLossProtection.Distance

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

## Distance

The stop loss distance, in pips, from the order's entry price.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public double Distance {get; set;}
```

Python:

```python
relativeStopLossProtection.Distance: float
```

### Returns

`double` — 

Available since cAlgo.API 5.8.

