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

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

# ChartRiskReward.EntryPrice

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

## EntryPrice

Gets or sets the entry 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 EntryPrice {get; set;}
```

Python:

```python
chartRiskReward.EntryPrice: 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.Limit, TradeType.Buy, new ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.BalancePercentage, 1));
riskReward.EntryPrice = Symbol.Bid - 20 * Symbol.PipSize;
Print("Entry price: {0}", riskReward.EntryPrice);
```

Python:

```python
riskReward = api.Chart.DrawRiskReward("rr", api.Bars.OpenTimes.Last(10), api.Bars.OpenTimes.LastValue, api.Symbol.Ask, OrderType.Limit, TradeType.Buy, ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.BalancePercentage, 1))
riskReward.EntryPrice = api.Symbol.Bid - 20 * api.Symbol.PipSize
api.Print(f"Entry price: {riskReward.EntryPrice}")
```

