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

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

# RelativeTakeProfitProtections.ThirdTakeProfit

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

## ThirdTakeProfit

Gets the third partial take profit, if any.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public RelativeTakeProfitProtection ThirdTakeProfit {get;}
```

Python:

```python
relativeTakeProfitProtections.ThirdTakeProfit: RelativeTakeProfitProtection
```

### Returns

`RelativeTakeProfitProtection` — 

Available since cAlgo.API 5.8.

### Examples

C#:

```csharp
var ladder = new RelativeTakeProfitProtections(new RelativeTakeProfitProtection(10000, 15), new RelativeTakeProfitProtection(10000, 25), new RelativeTakeProfitProtection(10000, 35), new RelativeTakeProfitLastProtection(50));
Print("Third take profit at {0} pips", ladder.ThirdTakeProfit.Distance);
```

Python:

```python
ladder = RelativeTakeProfitProtections(RelativeTakeProfitProtection(10000, 15), RelativeTakeProfitProtection(10000, 25), RelativeTakeProfitProtection(10000, 35), RelativeTakeProfitLastProtection(50))
api.Print(f"Third take profit at {ladder.ThirdTakeProfit.Distance} pips")
```

