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

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

# StopLossBreakEven.TriggerDistance

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

## TriggerDistance

The distance in pips that activates the break-even rule.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public double TriggerDistance {get;}
```

Python:

```python
stopLossBreakEven.TriggerDistance: float
```

### Returns

`double` — 

Available since cAlgo.API 5.8.

### Examples

C#:

```csharp
var position = Positions.Find("myLabel");
if (position != null && position.StopLossBreakEven != null)
    Print("Break-even activates after {0} pips", position.StopLossBreakEven.TriggerDistance);
```

Python:

```python
position = api.Positions.Find("myLabel")
if position is not None and position.StopLossBreakEven is not None:
    api.Print(f"Break-even activates after {position.StopLossBreakEven.TriggerDistance} pips")
```

