---
id: "P:cAlgo.API.ChartRiskReward.TakeProfitPrice"
kind: "property"
type: "T:cAlgo.API.ChartRiskReward"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartRiskReward/TakeProfitPrice/"
---

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

# ChartRiskReward.TakeProfitPrice

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

## TakeProfitPrice

Gets or sets the take profit price.

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: Created and kept with all its properties, but never drawn: the CLI displays no chart.
- Cloud: Created and kept with all its properties, but never drawn: the cloud displays no chart.

C#:

```csharp
double TakeProfitPrice {get; set;}
```

Python:

```python
chartRiskReward.TakeProfitPrice: float
```

### Returns

`double` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var riskReward = Chart.DrawRiskReward("rr", Bars.OpenTimes.Last(10), Bars.OpenTimes.LastValue, Symbol.Ask, OrderType.Market, TradeType.Buy, new ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.BalancePercentage, 1));
riskReward.TakeProfitPrice = riskReward.EntryPrice + 60 * Symbol.PipSize;
Print("Take profit price: {0}", riskReward.TakeProfitPrice);
```

Python:

```python
riskReward = api.Chart.DrawRiskReward("rr", api.Bars.OpenTimes.Last(10), api.Bars.OpenTimes.LastValue, api.Symbol.Ask, OrderType.Market, TradeType.Buy, ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.BalancePercentage, 1))
riskReward.TakeProfitPrice = riskReward.EntryPrice + 60 * api.Symbol.PipSize
api.Print(f"Take profit price: {riskReward.TakeProfitPrice}")
```

